-   Linux - Networking (
-   -   DHCP Boot Question (

mjb2123 06-07-2002 02:53 PM

DHCP Boot Question
This is probably easy for most of you, but how do I get a DHCP server to start when duing boot?

I've setup the server and it doesn't appear as though the DHCP server starts after I reboot. Of course I can start it manually, but I'd rather it start on it's own.

Thanks in advance!

acid_kewpie 06-07-2002 03:00 PM

if your own server won't start ? well... there are a number of things that might have stopped this. you may simply have not told it to go, in which case a program like sysvinit should let yu choose the services that start on boot. alternatively you can do it manually:

change to the directory that relaqtes to the runlevl you boot to (e.g. /etc/rc.d/rc3.d) and create a symlink to the server control script (e.g. ln -s ../init.d/dhcpd ./S50dhcp) the number affects the order it is loaded in (0 - 100) but i'd guess 50 should be about right. i guess it will need to start before your network itself... check those numbers.

alternatively maybe you've just told it not to load at boot in it's config... check it's configuration files to be sure.

All times are GMT -5. The time now is 01:50 PM.