Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Network hangs on boot
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
static_k
n00b
n00b


Joined: 10 Oct 2005
Posts: 73
Location: NY

PostPosted: Wed Dec 14, 2005 9:20 pm    Post subject: Network hangs on boot Reply with quote

Hi All,

when i boot my laptop without a network cable plugged in it gets to the point where it trys to bring up the eth0 interface and since there is no cable plugged in it will sit there for like 2 minutes, fail to get an address and then move on to booting the rest of the way.

does anyone have any ideas?

thanks.
Back to top
View user's profile Send private message
dambacher
Apprentice
Apprentice


Joined: 11 Feb 2003
Posts: 290
Location: Germany

PostPosted: Wed Dec 14, 2005 9:27 pm    Post subject: Reply with quote

I assume you have configured your ethernet device to use dhcp?
gentoo runs dhcpd to get the adress. dhcpd will try for some time and then give up and exit.
depending networking services will not be startet then.

you can do two things: either not use dhcp but a fixed ip adress
or set the timeout lower. looking at /etc/conf.d/net.example you can find:

Code:
# For passing custom options to dhcpcd use something like the following.  This
# example reduces the timeout for retrieving an address from 60 seconds (the
# default) to 10 seconds.
#dhcpcd_eth0="-t 10"


I recommend to set a fallback configuration, then.

bye
Ulf
Back to top
View user's profile Send private message
static_k
n00b
n00b


Joined: 10 Oct 2005
Posts: 73
Location: NY

PostPosted: Wed Dec 14, 2005 10:06 pm    Post subject: Reply with quote

yes i am running dhcp on the interface.
setting the timeout just seems like a workaround to me.
i would think that if no link is even detected it shouldn't even bother looking for an ip address.
Back to top
View user's profile Send private message
magic919
Advocate
Advocate


Joined: 17 Jun 2005
Posts: 2182
Location: Berkshire, UK

PostPosted: Wed Dec 14, 2005 11:21 pm    Post subject: Reply with quote

Look at ifplugd.
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