1. Subscriptions
  2. Services
  3. Hardware
  4. Support

ClearFoundation

Forums
Welcome, Guest
how to delete a dymanic dhcp record?
(1 viewing) 1 Guest
Go to bottomPage: 1
TOPIC: how to delete a dymanic dhcp record?
#7355
how to delete a dymanic dhcp record? 1 Year, 11 Months ago  
hi,
i found a dymanic dhcp record in my system and i wanna delete it,could u tell me how to do?
the expire time is so far so dont wanna wait
thx!
Lingfeng Xiong
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7517
Re:how to delete a dymanic dhcp record? 1 Year, 11 Months ago  
I've found that the leases are located in /var/lib/misc/dnsmasq.leases. I open up the file with vi:

Code:

vi /var/lib/misc/dnsmasq.leases



To delete the lease lease that you want, place your cursor on the line with the arrow keys, then type "dd" to delete the line.

To exit and save changes, hit "ESC", then type "wq" (This will appear at the bottom of the screen next to the colon) and hit enter. Go back to the webconfig "DHCP Server" page or refresh, and the lease should be gone.
Clay Oster
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
  get the latest posts directly to your desktop