Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dhcpcd only sometimes starts up
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
Squirm
n00b
n00b


Joined: 09 Oct 2004
Posts: 1

PostPosted: Sat Oct 09, 2004 10:08 am    Post subject: dhcpcd only sometimes starts up Reply with quote

I've actually solved this one, but I thought I'd post it for those who hit the same snag.
The symptoms are dhcp working fine from the installation CD, but not from the installed system, and it being possible to start it manually, but only about 1 in 10 times you try.

It seems my ethernet link to my cable modem takes a long time to sort itself out, and the trick is to do "ifconfig eth0 up" and then tail /var/logs/syslog untill a message like this scrolls past:

localhost kernel: eth0: Setting full-duplex based on MII#1 link ...

and then starting dhcpcd

Sometimes this takes about 5 seconds. Sometimes it takes 3 or 4 minutes. I don't know why. :roll:
Back to top
View user's profile Send private message
orionrobots
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 289
Location: London, Uk

PostPosted: Sun Oct 10, 2004 8:04 pm    Post subject: So what would be really useful Reply with quote

Is a method of waiting for that message to come through, and then starting it in an automated way. You could use [your favourite scripting language here], and follow the log until it does.

Does anyone know of an easier way to do that?
_________________
Danny Staple, curator of http://orionrobots.co.uk
Adopt an unanswered post initiative https://forums.gentoo.org/search.php?search_id=unanswered
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