Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ethernet options at 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
Permafrost91
n00b
n00b


Joined: 27 Jan 2005
Posts: 68

PostPosted: Thu Sep 01, 2005 1:14 pm    Post subject: ethernet options at boot Reply with quote

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
View user's profile Send private message
Permafrost91
n00b
n00b


Joined: 27 Jan 2005
Posts: 68

PostPosted: Fri Sep 02, 2005 1:09 pm    Post subject: More info Reply with quote

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
View user's profile Send private message
m_sqrd
Guru
Guru


Joined: 18 Jul 2005
Posts: 367

PostPosted: Fri Sep 02, 2005 1:58 pm    Post subject: Reply with quote

Try {per the /etc/conf.d/net.example}

dhcpcd_eth0="-t 10"
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Fri Sep 02, 2005 2:08 pm    Post subject: Reply with quote

If use ifplugd to start/stop net.ethx when a cable is inserted or removed.

Or the shiny new netplug with baselayout support in 1.12.0_pre8 which works automatically.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
MrStaticVoid
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 114
Location: Maryland

PostPosted: Fri Sep 02, 2005 6:17 pm    Post subject: Reply with quote

Edit: nevermind

Last edited by MrStaticVoid on Fri Sep 02, 2005 8:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
Permafrost91
n00b
n00b


Joined: 27 Jan 2005
Posts: 68

PostPosted: Fri Sep 02, 2005 6:48 pm    Post subject: netplugd Reply with quote

how exactly would you set up netplugd or ifplugd? will they work for PCMCIA wireless NICs?
Back to top
View user's profile Send private message
dtmf
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2005
Posts: 124

PostPosted: Sat Sep 24, 2005 5:58 pm    Post subject: Reply with quote

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