Plop Forum

General Category => Plop Linux => Topic started by: tester on September 27, 2009, 17:57:07 PM

Title: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
Post by: tester on September 27, 2009, 17:57:07 PM
[root@rescue ~]# /etc/rc.d/init.d/dhcp
setup network card eth0 with dhcp...
/etc/rc.d/init.d/dhcp: line 15: udhcpc: command not found
[root@rescue ~]#
Title: Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
Post by: Elmar on September 28, 2009, 10:37:17 AM
hi,
/etc/rc.d/init.d/dhcp is only for bootup. you dont have to run this

if you want to use dhcp as client, then simply run "dhclient"
see here http://www.plop.at/en/ploplinux.html#faq2

regards
elmar
Title: Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
Post by: tester on September 28, 2009, 10:56:03 AM
fine,
i add file "startpdhcp" with content
#!/bin/sh
echo " starting dhcp"
dhclient

to start from runme.sh,
is it possible to start dhclient to work in background?
Title: Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
Post by: Elmar on September 28, 2009, 11:00:37 AM
dhclient run automatically in the background
Title: Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
Post by: tester on September 28, 2009, 11:36:33 AM
Thank you very much!