Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Running dhcpcd... default connect time too long
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
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Fri May 27, 2005 11:23 am    Post subject: [Solved] Running dhcpcd... default connect time too long Reply with quote

Hi, all...

Since setting up my gentoo laptop and getting networking to function, I have experienced the following problem. If I boot my laptop in the absence of a network connection. the boot sequence hangs at:
Code:
* Starting eth0
*   Bringing up eth0
*       dhcp
*           Running dhcpcd...                                                      [ !! ]
* ERROR:  Problem starting needed services.
               "netmount" was not started


No problem with the error message... that's expected without the network attached. The problem is the 2 1/2 min. hang time at the "Running dhcpcd..." line, while gentoo tries to "start needed services"

Is there a config file or some other way to reduce this hang time and enable a faster boot??

Thanks, to anyone who can help with this...
_________________
"Primum non nocere" ---Galen


Last edited by cgmd on Sat May 28, 2005 10:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri May 27, 2005 12:01 pm    Post subject: Reply with quote

Use ifplugd to manage the starting and stopping of network interfaces
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat May 28, 2005 8:57 pm    Post subject: Reply with quote

UberLord...

Thanks for the advice to use ifplugd to correct my problem, but I must not have it set up correctly. A snippit from my log when booting without a network hookup is as follows:
Code:
May 28 15:33:01 cgmd ifplugd(eth0)[5142]: ifplugd 0.27 initializing.
May 28 15:33:01 cgmd ifplugd(eth0)[5142]: Using interface eth0/00:09:6B:10:0B:79 with driver <e100> (version: 3.3.6-k2-NAPI)
May 28 15:33:01 cgmd ifplugd(eth0)[5142]: Using detection mode: SIOCETHTOOL
May 28 15:33:01 cgmd ifplugd(eth0)[5142]: Initialization complete, link beat not detected.
May 28 15:33:02 cgmd ieee1394: Host added: ID:BUS[0-00:1023]  GUID[0030dd900003066f]
May 28 15:35:03 cgmd dhcpcd[5592]: timed out waiting for a valid DHCP server response


As before I emerged ifplugd, the 'timed out' occurs after waiting 2 min for a valid DHCP server response. Is it possible to reduce the waiting time to just a few seconds?

Thanks for any light you can shed on this...
_________________
"Primum non nocere" ---Galen
Back to top
View user's profile Send private message
Rad
Guru
Guru


Joined: 11 Feb 2004
Posts: 401
Location: Bern, Switzerland

PostPosted: Sat May 28, 2005 9:05 pm    Post subject: Reply with quote

Code:
dhcpcd_eth0="-t 10"
(or any other time than 10 in seconds) in /etc/config.d/net should help.
Back to top
View user's profile Send private message
cgmd
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1585
Location: Louisiana

PostPosted: Sat May 28, 2005 10:37 pm    Post subject: Reply with quote

Rad...

That fixed it! Thanks for helping...:)
_________________
"Primum non nocere" ---Galen
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