Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: script multiple netconfigs? Static else DHCP< Next Oldest | Next Newest >
lhoffmeyer Offline





Group: Members
Posts: 4
Joined: Feb. 2006
Posted: Feb. 16 2006,20:49 QUOTE

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
Back to top
Profile PM 
0 replies since Feb. 16 2006,20:49 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: script multiple netconfigs? Static else DHCP

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code