On Fri 28 Oct 2011 at 18:38:05 +0100, Brian wrote:

>                                                                 The other
> commands not working is puzzling.

Much too hasty a statement. When the ethernet cable is unplugged the
eth0 interface remains configured. '/sbin/route -n' and '/sbin/ifconfig'
before and afterwards will have the same outputs.

'ifup -v eth1' will bring up the wireless interface but the default
route will still be through eth0, as shown by the route command. This
goes nowhere because the cable is not connected and you can only get to
the local network through eth1.

'ifdown -v eth0' followed by 'ifup -v eth1' should be more fruitful.

The ifplugd package automates this.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111028214635.GB18632@desktop

Reply via email to