View previous topic :: View next topic |
Author |
Message |
wooster n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/114453181140a2626615ad7.jpg)
Joined: 25 Feb 2004 Posts: 19 Location: College Park
|
Posted: Thu Jan 06, 2005 4:38 pm Post subject: eth0 timeout during boot up |
|
|
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 |
|
![](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: Thu Jan 06, 2005 4:41 pm Post subject: |
|
|
Control starting/stopping of wired interfaces with ifplugd - that means you can remove net.eth0 from the default runlevel ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
TheX Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/149093408643ea4dd8024a1.jpg)
Joined: 31 Jul 2004 Posts: 349 Location: .de
|
Posted: Thu Jan 06, 2005 4:44 pm Post subject: |
|
|
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 |
|
![](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: Thu Jan 06, 2005 4:51 pm Post subject: |
|
|
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 ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wooster n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/114453181140a2626615ad7.jpg)
Joined: 25 Feb 2004 Posts: 19 Location: College Park
|
Posted: Thu Jan 06, 2005 4:55 pm Post subject: |
|
|
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 ![Wink ;)](images/smiles/icon_wink.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
TheX Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/149093408643ea4dd8024a1.jpg)
Joined: 31 Jul 2004 Posts: 349 Location: .de
|
Posted: Thu Jan 06, 2005 4:59 pm Post subject: |
|
|
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 :wink:](images/smiles/icon_wink.gif) |
|
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: Thu Jan 06, 2005 5:15 pm Post subject: |
|
|
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 ![Smile :)](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|