Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd just doesn't work at startup ...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Wed Mar 17, 2004 7:27 pm    Post subject: dhcpcd just doesn't work at startup ... Reply with quote

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
Code:
dhcpcd
, 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
View user's profile Send private message
mjand
n00b
n00b


Joined: 17 Mar 2004
Posts: 10
Location: Philadelphia PA

PostPosted: Wed Mar 17, 2004 7:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
hugomaugey
n00b
n00b


Joined: 18 May 2003
Posts: 20
Location: France

PostPosted: Wed Mar 17, 2004 7:51 pm    Post subject: Reply with quote

Yes it works and my /etc/conf.d/net is correctly set like that (works on others machines ) :

Code:
iface_eth0="dhcp"


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 :D

do not spend your time with my problems but if anybody has had the same error, please let me know ....

thanks !
Back to top
View user's profile Send private message
boroshan
l33t
l33t


Joined: 16 Apr 2003
Posts: 730
Location: upside down

PostPosted: Thu Mar 18, 2004 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum