LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Distributions (http://www.linuxquestions.org/questions/linux-distributions-5/)
-   -   Auto starting DHCPd on Devil Linux (http://www.linuxquestions.org/questions/linux-distributions-5/auto-starting-dhcpd-on-devil-linux-788264/)

IanVaughan 02-10-2010 12:21 PM

Auto starting DHCPd on Devil Linux
 
Anyone using Devil Linux?
I cant find a way to get the dhcpd to stat on bootup! Most annoying!
If I've found out that the server has been rebooted/gone down etc, I have to ssh in and manually start it! :-
Code:

root@Scorpion2Gateway:~ # /etc/init.d/dhcpd restart
Stopping ISC DHCP Server daemon on eth0 ...        Not running [ ATTN ]
Starting ISC DHCP Server daemon on eth0 ...                    [  OK  ]

There is in chkconfig
Code:

chkconfig dhcpd on
-bash: chkconfig: command not found

No rc.init/rc.local

Any ideas?

Cheers, Ian.

rweaver 02-10-2010 01:57 PM

Did you try the rc.x directories? (link the start up script in your main run level to the script in init.d)

eg: cd /etc/rcX.d && ln -s ../init.d/dhcpd S99dhcpd

(using whatever is your default run level instead of X, you can find that out in the inittab)

IanVaughan 03-01-2010 11:23 AM

Quote:

Originally Posted by rweaver (Post 3859362)
Did you try the rc.x directories? (link the start up script in your main run level to the script in init.d)

eg: cd /etc/rcX.d && ln -s ../init.d/dhcpd S99dhcpd

(using whatever is your default run level instead of X, you can find that out in the inittab)

I only have one rc directory :-
Code:

# cd /etc/rc.d/init.d/
heartbeat  ldirectord



All times are GMT -5. The time now is 07:40 PM.