Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 step needed install and setup DHCP. I follow all the steps and find 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 cant control the process.

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

share|improve this question

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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