lhoffmeyer

Group: Members
Posts: 4
Joined: Feb. 2006 |
 |
Posted: Feb. 16 2006,20:49 |
 |
Hey,
Can anyone help with a script to config possible multiple networks? Not new to networking or Debian but haven't done much other than configure my own home static IP.
Basically, I have DSL on a thumbdrive and I will be connecting to one of two places, home or work.
Home is a static IP, work will be DHCP.
Can someone help with a script that says basically
If GATEWAY (or IP?) = 216.87.1.1 = TRUE use these setting for network config
ELSE
use DHCP?
TIA,
Lance
|