/etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909

Started by tester, September 27, 2009, 17:57:07 PM

Previous topic - Next topic

tester

[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 ~]#

Elmar

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

tester

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?

Elmar