Author Topic: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909  (Read 9104 times)

tester

  • Newbie
  • *
  • Posts: 4
/etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
« 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 ~]#

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
« Reply #1 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

tester

  • Newbie
  • *
  • Posts: 4
Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
« Reply #2 on: September 28, 2009, 10:56:03 AM »
fine,
i add file "startpdhcp" with content
Code: [Select]
#!/bin/sh
echo " starting dhcp"
dhclient
to start from runme.sh,
is it possible to start dhclient to work in background?

Elmar

  • Administrator
  • Hero Member
  • *****
  • Posts: 2491
  • a command shell is enough to do amazing things
Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
« Reply #3 on: September 28, 2009, 11:00:37 AM »
dhclient run automatically in the background

tester

  • Newbie
  • *
  • Posts: 4
Re: /etc/rc.d/init.d/dhcp error on PLoP Linux - v3.8.6 - 20090909
« Reply #4 on: September 28, 2009, 11:36:33 AM »
Thank you very much!