gabor Apprentice
Joined: 12 Dec 2002 Posts: 156 Location: Slovakia
|
Posted: Wed Aug 25, 2004 9:11 am Post subject: first try dhcp and then fall back to hardcodec network param |
|
|
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 |
|