Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
first try dhcp and then fall back to hardcodec network param
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
gabor
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 156
Location: Slovakia

PostPosted: Wed Aug 25, 2004 9:11 am    Post subject: first try dhcp and then fall back to hardcodec network param Reply with quote

hi..

i have the following config:

laptop.

at-work: no dhcp, permanent ip address.

at-home: dhcp.

what's the easiest way to solve this?

can i somehow configure /etc/conf.d/net to first try dhcp,
and if it fails (means i am at work) it should go for the permanent at-work ip?

for now i am using a script which basically overwrites /etc/conf.d/net and restarts net.eth0, but i'd like to use a cleaner approach.

thanks,
gabor
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