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

Re: Learning ifpludg in CLI, WAS Re: laptop wireless setup, wpa_supplicant.conf, etc



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

> On Mon 31 Oct 2011 at 12:53:21 -0700, keitho@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...


Reply to: