On Tue, 1 Nov 2011 00:47:27 +0000
Brian <a...@cityscape.co.uk> wrote:

> On Mon 31 Oct 2011 at 12:53:21 -0700, kei...@strucktower.com wrote:
> 
> > If I boot the laptop with the Ethernet cable plugged in (eth0), that
> > connection works fine. 

A good practice might be to down the unused interface.

When using wired power-down wifi, as well as ifdown

` ` ` `
pre-up /sbin/ifdown wlan0
pre-up /sbin/iwconfig wlan0 txpower off
` ` ` `

When using wifi do the opposite.

You can also power-on wifi when wired is unplugged

` ` ` `
down  /sbin/iwconfig wlan0 txpower on
` ` ` `

pre-up, pre-down, post-up,.. etc.. statements are very helpful...


-- 
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/20111101122041.6c738...@shiva.selfip.org

Reply via email to