[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: /etc/network/interfaces or /etc/pcmcia/network.opts?



On Tue, 2002-10-08 at 03:18, Bruce Best (CRO) wrote:
> 
> Another problem (which also existed using the /etc/pcmcia/network.opts) is
> that the wireless card will not work if the onboard (wired) card is up; I
> _have_ to disable eth0 in order to get wlan0 to work. Generally, this isn't
> a big deal, as I don't have to switch between a wired and wireless network
> very often, but when I do, it means having to go in and manually bring up
> the wired interface, which is a bit of a pain. 
> 
> Shouldn't I be able to leave both up, and let the system find which one
> actually has a connection?

I have used both wired and wireless LAN at the same time here.  I don't,
usually, of course :-)

If you want to script the detection of whether there is a connection you
could look at some of the scripts in 'whereami', particularly using
things like mii-tool to see if there is a LAN plugged into your wired
port.

One day, maybe, I should look at teaching 'whereami' to detect a WLAN by
SSID or something.  At this stage I only have the one WLAN myself, and
don't do any warXing, so perhaps someone else will scratch that
particular itch.

I have 'whereami' set to figure out whether it is wired or wireless, and
exactly which LAN it is on, when I open the lid.

Cheers,
					Andrew.
-- 
---------------------------------------------------------------------
Andrew @ Catalyst .Net.NZ Ltd, PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/         PHYS: Level 2, 150-154 Willis St
DDI: +64(4)916-7201     MOB: +64(21)635-694    OFFICE: +64(4)499-2267
           Survey for free with http://survey.net.nz/ 
---------------------------------------------------------------------



Reply to: