Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've found several how-to's that essentially go through the same process in setting up DHCP.

Here's a link that has the list of all steps needed to install and setup DHCP. I followed all the steps and found that the sudo /etc/init.d/dhcp3-server restart portion returns command not found only to reveal the the file doesn't even exist. I've installed (sudo apt-get install dhcp3-server) and uninstalled (sudo apt-get remove dhcp3-server) two or three times. I'm pretty sure my config files are good because I've had to check them three times. But I don't think I'm to that point of being able to see them action it. I can't control the process.

Why is the file missing? How is it supposed to get there? Help?

share|improve this question
up vote 6 down vote accepted

The dhcp3-server package has been transitioned to the new-style "ISC" DHCP package. This package is called isc-dhcp-server, and would have been installed when you installed dhcp3-server.

The file you're looking for is now /etc/init.d/isc-dhcp-server.

Note that you may use the service command to start and stop daemons:

sudo service isc-dhcp-server restart

The service tool will handle the different styles of daemon start/stop behaviour (ie, /etc/init.d/* vs. /etc/init/*.conf).

share|improve this answer
Looks like this could be it. Will mark as correct once I get chance to test. – hydroparadise Jun 19 '12 at 14:33

protected by Community Feb 25 '15 at 15:44

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.