View previous topic :: View next topic |
Author |
Message |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Fri May 27, 2005 11:23 am Post subject: [Solved] Running dhcpcd... default connect time too long |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
UberLord Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/16007251014200867ea775c.gif)
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
Posted: Fri May 27, 2005 12:01 pm Post subject: |
|
|
Use ifplugd to manage the starting and stopping of network interfaces |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat May 28, 2005 8:57 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Rad Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 11 Feb 2004 Posts: 401 Location: Bern, Switzerland
|
Posted: Sat May 28, 2005 9:05 pm Post subject: |
|
|
Code: | dhcpcd_eth0="-t 10" | (or any other time than 10 in seconds) in /etc/config.d/net should help. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cgmd Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/923325915444be02f39685.jpg)
Joined: 17 Feb 2005 Posts: 1585 Location: Louisiana
|
Posted: Sat May 28, 2005 10:37 pm Post subject: |
|
|
Rad...
That fixed it! Thanks for helping...![Smile :)](images/smiles/icon_smile.gif) _________________ "Primum non nocere" ---Galen |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|