Restart DHCPD via console / ssh / commandline



  • Is there a (relatively) simple way to restart the dhcpd service from the commandline?  I went meandering through the source code and fell down the rabbit hole pretty fast.  I found /usr/local/www/status_services.php and saw that it referenced a function called services_dhcpd_configure() which is contained in /etc/inc/service-utils.inc – but when I started browsing through that I started to drown.

    Is this possible to do? much obliged


  • LAYER 8 Netgate

    This should do it:

    pfSsh.php playback restartdhcpd

    Or option 12 at the console menu then playback restartdhcpd.



  • Exactly what I needed, thank you! :)


Log in to reply