Linux DHCP

April 4, 2006

If you’re ever trying to get dhcp to work in Linux, and the package you installed also installed a service file named dhcp at /etc/init.d/dhcp, ignore it.

You start the service not by invoking that script (which will apparently fail every time); you do so by running /usr/bin/dhcpd. Why? I don’t have any earthly idea.

Anyway, I hope to spare someone this anguish that I now know far too well. Skip the silliness and just start dhcpd.

supporting = loving

For 29.442 years I've been creating ad-free technical tutorials and essays here — 3,027 pieces and counting. It's a one-person effort that's also my life and livelihood. If it makes your day more livable in any way, please consider supporting the work with a monthly or one-time donation. Your support means a lot to me, and makes all the difference. 🫶🏼