OpenWrt Forum Archive

Topic: Remove DHCP Leases

The content of this topic has been archived on 1 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

In dd-wrt there was a feature to remove a DHCP lease by clicking an icon.  So maybe I'm spoiled, but is there any way (cli, package, edit file) that I can remove an individual lease.  Mostly helpful for testing.

Hi,

the lease information are in the file '/tmp/dhcp.leases'
Propably you have to restart dnsmasq afterwards.

Thanks,

I deleted the entry and it disappeared from the Status=> Overview right away.  I then went to the Network=> DHCP and DNS and it was now at the bottom, so I did a DNSMASQ restart.  It was still there and back in the Overview. 

I deleted it again and before refreshing anything restarted DNSMASQ, which took care of things this time.

The discussion might have continued from here.