Christopher Vance <[EMAIL PROTECTED]> writes:

> I have a machine running Dapper with two interfaces, one wired, one
> wireless.

Sounds like network manager would be ideal. There has been some
discussion here about it if you want to search the archives.

from memory you want to 

apt-get install network-manager-gnome 

edit /etc/network/interfaces and comment out the wired and the
wireless interface.

run nm-applet, you should see a new mouse like icon in the panel. It
adds itself to your session startup programs, so you don't need to do
anything for it to start after a reboot. It should default to wired,
and switch to wireless if wired goes down.

> What is the 'right' way to do this for Ubuntu/Debian.

This would be my way if you don't want to use network manager.  First
ifdown both interfaces, and make sure there's no dhclient
running. Setup the wired interface in /etc/network/interfaces to be
auto and dhcp, setup the wireless to be dhcp but not auto. ifup the
wired interface.

Then it will be wired by default, if you want to swap, sudo ifdown wired;
sudo ifup wireless.

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to