[ILUG] how to manage multiple nics, multiple networks on a laptop?

Justin Mason jm at jmason.org
Tue Mar 14 16:36:27 GMT 2006


I use "whereami", which is good for this.  It allows the kind of
decision-tree approach Paul mentioned, based on what SSIDs are found in
"iwlist scan", the presence of ethernet signal according to mii-tool, the
DHCP range assigned, etc. etc. , and then lets you run arbitrary commands
based on what "location" it decides you're at.

--j.

kevin lyda writes:
> I have a laptop with one built-in wired nic (eth0).  I sometimes use a
> wireless pcmcia card (eth1) or a wireless usb dongle thingy (wlan0).
> 
> What I'd like to be able to do is plug in an ethernet cable, or plug in
> eth1 or wlan0 and get my connection up.  The problem is that different
> networks have different configs.
> 
> All the wired networks support dhcp.  But all have different printers.
> 
> Some of the wireless networks require an essid and/or a wep key.  And
> once connected, I'd like to reconfigure the printers.
> 
> I've apt-cache searched and found a number of these tools, and wonder
> which ones people might recommend.  I'm not that interested in a gui -
> I'd really like something to just do it's thing in the background.
> 
> The one that looks the most intriguing is ifplugd and waproamd.
> 
> Has anyone dealt with this problem and what did you use?  If not, does
> anyone have this problem and would they be interested in any solution I
> find?
> 
> Kevin
> 
> -- 
> Kevin Lyda                     <diamond> kevin is my comic idol
> kevin at ie.suberic.net
> -- 
> Irish Linux Users' Group mailing list
> Email: ilug at linux.ie
> Options (including unsubscribe) here: http://mail.linux.ie/mailman/listinfo/ilug



More information about the ILUG mailing list