the last command will suffice on its ownCode:killall dnsmasq rm /var/lib/misc/dnsmasq.leases service restart_dnsmasq
I second this recommendation. Besides restarting DHCP, you can restart many of the services. Both from the WebUI and (my typical usage) from the CLI.The easiest way is to install scMerlin script. It will facilitate easy restart of major services including the DHCP.
service reboot is not available in scmerlin. Instead there is rr in amtm. Indee the service reboot command is doing the trick.I second this recommendation. Besides restarting DHCP, you can restart many of the services. Both from the WebUI and (my typical usage) from the CLI.
Forget to log out of the WebUI on one computer in your house? No problem, ssh in and restart httpd.
Make a change to ntp or chrony.conf? - a quick scmerlin and restart timeserver. For the life of me I can never remember the correct "service restart" commands.
Last, I can't explain in detail, but the Busybox "reboot" command is IMHO, not a good way to correctly reboot the router. "service reboot" must be doing some other magic. Again, scmerlin takes care of this ;-)
There's a "Reboot router" menu selection in the scMerlin CLI that calls "service reboot" as well.service reboot is not available in scmerlin. Instead there is rr in amtm...
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!