View previous topic :: View next topic |
Author |
Message |
Permafrost91 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2005 Posts: 68
|
Posted: Thu Sep 01, 2005 1:14 pm Post subject: ethernet options at boot |
|
|
Katrina successfully severed my internet connection so everytime I boot, my ethernet card tries to DHCP an IP which takes forever because none can be assigned. is there a way to set the timeout on DHCP to something less than what it is or, preferably, not run dhcpcd when the cable is unplugged?
also, somewhere in this forum I read that someone created a new wireless runlevel and with it is able to choose at boot whether to use wired or wireless. how does one go about setting up a new runlevel and then choose it optionally at boot? i'd like to set up a wired, wireless, and a no-eth runlevel if this were possible.
thanks! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Permafrost91 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2005 Posts: 68
|
Posted: Fri Sep 02, 2005 1:09 pm Post subject: More info |
|
|
I have
Code: | config_eth0=( "dhcp" )
dhcp_eth0="-t 10" |
in /etc/conf.d/net but I still don't get the proper timeouts. What am I not getting here? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
m_sqrd Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 18 Jul 2005 Posts: 367
|
Posted: Fri Sep 02, 2005 1:58 pm Post subject: |
|
|
Try {per the /etc/conf.d/net.example}
dhcpcd_eth0="-t 10" |
|
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
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MrStaticVoid Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Jul 2003 Posts: 114 Location: Maryland
|
Posted: Fri Sep 02, 2005 6:17 pm Post subject: |
|
|
Edit: nevermind
Last edited by MrStaticVoid on Fri Sep 02, 2005 8:04 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Permafrost91 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Jan 2005 Posts: 68
|
Posted: Fri Sep 02, 2005 6:48 pm Post subject: netplugd |
|
|
how exactly would you set up netplugd or ifplugd? will they work for PCMCIA wireless NICs? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
dtmf Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/117935113141ed60983f6b0.png)
Joined: 18 Jan 2005 Posts: 124
|
Posted: Sat Sep 24, 2005 5:58 pm Post subject: |
|
|
I just setup ifplugd on my powerbook. I works great. All you have to do is tell it which interface you want it to watch. I have tested it and it works really nice so far. The config file for it is /etc/init.d/ifplugd There is a good amount to info in that fie to help you. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|