Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 timeout during boot 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
wooster
n00b
n00b


Joined: 25 Feb 2004
Posts: 19
Location: College Park

PostPosted: Thu Jan 06, 2005 4:38 pm    Post subject: eth0 timeout during boot up Reply with quote

hi,

on my laptop, i'm not connected to eth0 half the time, but during bootup my system takes a long time to decide if eth0 is up or not (several minutes in fact). is there anyway to shorten the timeout period?

thanks,
aravind.
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Jan 06, 2005 4:41 pm    Post subject: Reply with quote

Control starting/stopping of wired interfaces with ifplugd - that means you can remove net.eth0 from the default runlevel :)
Back to top
View user's profile Send private message
TheX
Guru
Guru


Joined: 31 Jul 2004
Posts: 349
Location: .de

PostPosted: Thu Jan 06, 2005 4:44 pm    Post subject: Reply with quote

to remove from default runlevel :
Code:
rc-update del net.eth0 default


to seperatly start it :
Code:
/etc/init.d/net.eth0 start
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Jan 06, 2005 4:51 pm    Post subject: Reply with quote

TheX wrote:
to seperatly start it :
Code:
/etc/init.d/net.eth0 start


Why do that when ifplugd can start it when the cable is inserted and stop it when the cable is removed?

Saves me typing, that's for sure ;)
Back to top
View user's profile Send private message
wooster
n00b
n00b


Joined: 25 Feb 2004
Posts: 19
Location: College Park

PostPosted: Thu Jan 06, 2005 4:55 pm    Post subject: Reply with quote

UberLord wrote:
TheX wrote:
to seperatly start it :
Code:
/etc/init.d/net.eth0 start


Why do that when ifplugd can start it when the cable is inserted and stop it when the cable is removed?

Saves me typing, that's for sure ;)


thanks for the response. i should have specified that i didn't want to remove it from default and add it, which is a nuisance.

ifplugd sounds like a good way to do it, but how do i configure it?

thanks,
aravind.
Back to top
View user's profile Send private message
TheX
Guru
Guru


Joined: 31 Jul 2004
Posts: 349
Location: .de

PostPosted: Thu Jan 06, 2005 4:59 pm    Post subject: Reply with quote

Code:

Searching...   
[ Results for search key : ifplugd ]
[ Applications found : 1 ]
 
*  sys-apps/ifplugd
      Latest version available: 0.26
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 135 kB
      Homepage:    http://0pointer.de/lennart/projects/ifplugd/
      Description: Brings up/down ethernet ports automatically with cable detection
      License:     GPL-2


Youre right !

That makes you a Developer I think ;

helping our hands to stay lazy !! :wink:
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Thu Jan 06, 2005 5:15 pm    Post subject: Reply with quote

wooster wrote:

ifplugd sounds like a good way to do it, but how do i configure it?


emerge ifplugd

Then have a look in /etc/conf.d/ifplugd
It's not too hard :)
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