View previous topic :: View next topic |
Author |
Message |
Permafrost91 n00b

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 |
|
 |
Permafrost91 n00b

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 |
|
 |
m_sqrd Guru

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 |
|
 |
UberLord Retired Dev


Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
 |
MrStaticVoid Tux's lil' helper

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 |
|
 |
Permafrost91 n00b

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 |
|
 |
dtmf Tux's lil' helper


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 |
|
 |
|