View previous topic :: View next topic |
Author |
Message |
hugomaugey n00b
Joined: 18 May 2003 Posts: 20 Location: France
|
Posted: Wed Mar 17, 2004 7:27 pm Post subject: dhcpcd just doesn't work at startup ... |
|
|
Hi !
I got the error :
Code: | Please make sure that /etc/conf.d/net has $iface_eth0 set |
when my machine boots up and try to make a dhcpcd to get an IP and after for each service related to eth0 : iptables, nfs, mysql, webmin ...
when I manually launch the command , it works well but I have to manually launch all the services. When doing this, still get the error above but it seems it doesn't affect.
Thanks for any idea suggested ? Could it be a problem in the order of the startup services ? ? |
|
Back to top |
|
|
mjand n00b
Joined: 17 Mar 2004 Posts: 10 Location: Philadelphia PA
|
Posted: Wed Mar 17, 2004 7:42 pm Post subject: |
|
|
try setting $iface_eth0="dhcp" (or "dhcpd", "dhcpcd" i forget) in /etc/conf.d/net
then type:
Code: |
/etc/init.d/net.eth0 stop
/etc/init.d/net.eth0 start
|
to make sure its working. |
|
Back to top |
|
|
hugomaugey n00b
Joined: 18 May 2003 Posts: 20 Location: France
|
Posted: Wed Mar 17, 2004 7:51 pm Post subject: |
|
|
Yes it works and my /etc/conf.d/net is correctly set like that (works on others machines ) :
but the problem remains only at startup ! its incredible ! I will perhaps try another network card or make a script instead of typing my 6 or 7 lines each morning
do not spend your time with my problems but if anybody has had the same error, please let me know ....
thanks ! |
|
Back to top |
|
|
boroshan l33t
Joined: 16 Apr 2003 Posts: 730 Location: upside down
|
Posted: Thu Mar 18, 2004 12:25 am Post subject: |
|
|
mmm... just today
I've a laptop that normally runs on my home system with a static IP (weird, huh?) But I'm down at my brothers and it should be simple to convert it to use DHCP...
only it doesn't seem to want to start. I assume I've missed some config step since I rarely use it, but I didn't have this bother last time I was down _________________ Don't let THEM immanentize the Eschaton! |
|
Back to top |
|
|
|