View previous topic :: View next topic |
Author |
Message |
TulpiX n00b
Joined: 12 Jan 2005 Posts: 8
|
Posted: Wed May 18, 2005 10:06 am Post subject: dynamic netowrk configuration |
|
|
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 |
|
|
freak4u n00b
Joined: 04 Jul 2003 Posts: 69 Location: MA, USA
|
Posted: Fri May 20, 2005 5:00 pm Post subject: |
|
|
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 |
|
|
|
|
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
|
|