OpenWRT: delete DHCP-lease

Connect to your OpenWRT-Router using SSH

On windows you may use PuTTY (replace the IP address with the one of your OpenWRT-Router)

On linux you may use openssh

If not installed run the following command:

sudo apt install openssh-client

Connect to your OpenWRT-Router using the following command:

ssh root@ipaddressofOpenWRT
Delete DHCP-lease by removing the line in /tmp/dhcp.leases
vi /tmp/dhcp.leases

Browse the line using the arrow-keys and delete the line by typing:

dd

Exit vi using

[ESC] 
:wq!
[Enter]