[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 ~]#
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
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?
dhclient run automatically in the background
Thank you very much!