Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dynamic netowrk configuration
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
TulpiX
n00b
n00b


Joined: 12 Jan 2005
Posts: 8

PostPosted: Wed May 18, 2005 10:06 am    Post subject: dynamic netowrk configuration Reply with quote

hi
i have a question about a problem that i'm unable to solve

is there a way to have a mor dynamic netowrk configuration at boot time.
i want it the following way:
if theres no network cable plugged in, use a preconfigured setting
if theres a network cable, try dhcp if it works then ok, if it times out use a preconfigured setting

is there a service that does this at boot time ? or maybe something obvious i'm missing ?

thanks in advance
Back to top
View user's profile Send private message
freak4u
n00b
n00b


Joined: 04 Jul 2003
Posts: 69
Location: MA, USA

PostPosted: Fri May 20, 2005 5:00 pm    Post subject: Reply with quote

would it only trying to find an ip for 10 seconds work? I'm assuming that you're tired of waiting 1 minute for your computer to find an ip before it finishes booting...

in /etc/conf.d/net
Code:
iface_eth0="dhcp"
dhcpcd_eth0="-t 10"
That will tell it to wait 10 seconds. you can obviously adjust it to suit your needs, play with it. Check /etc/conf.d/net.example, it has a lot of cool stuff in it.
_________________
Making computing a safer place...one less Windoze box at a time
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