Re: wifi power on/off

2013-04-05 Thread Paul Fox
yioryos wrote:
  I'm trying to cycle the power of the wifi card on the XO-1{.5] but after 
  half an hour of fruitless searching of the  list/wiki/web  I thought to ask, 
  since I remember being discussed here.
  Could please someone points to the terminal commands to turn off and on 
  power on the usb8388 and sd8686 modules/cards?

can't be done, on recent releases.  well, at least for 1.5 and later
laptops.  it may still be operational for XO-1 [1].  our rfkill-based
mechanism was messy, and it was rejected when we attempted to put it
upstream.

the mechanism hasn't yet been replaced -- someday the card should
power down with ifconfig eth0 down. 

paul

[1] on XO-1 the commands to try are rfkill block wifi and rfkill
unblock wifi.


  Thanks 
  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel

=-
 paul fox, p...@laptop.org
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: wifi power on/off

2013-04-05 Thread Mikus Grinbergs

On 04/05/2013 07:55 AM, Paul Fox wrote:

someday the card should
power down with ifconfig eth0 down


If the system were to use several (static) self-assigned addresses, and 
ifconfig eth0 down was the way to terminate the use of the current IP 
address so that the next IP address could be activated - would it be 
desirable to have the hardware power off on ifconfig down ?


mikus

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: wifi power on/off

2013-04-05 Thread Daniel Drake
On Fri, Apr 5, 2013 at 3:36 PM, Mikus Grinbergs mi...@mikusj.com wrote:
 If the system were to use several (static) self-assigned addresses, and
 ifconfig eth0 down was the way to terminate the use of the current IP
 address so that the next IP address could be activated - would it be
 desirable to have the hardware power off on ifconfig down ?

If you create multiple interfaces for the hardware it will do the
right thing, not powering down the hardware while an interface is
active.

Daniel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


wifi power on/off

2013-04-04 Thread Yioryos Asprobounitis
I'm trying to cycle the power of the wifi card on the XO-1{.5] but after half 
an hour of fruitless searching of the  list/wiki/web  I thought to ask, since I 
remember being discussed here.
Could please someone points to the terminal commands to turn off and on power 
on the usb8388 and sd8686 modules/cards?
Thanks 
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: wifi power on/off

2013-04-04 Thread James Cameron
Depends on the kernel, but my first guess would be the rfkill command.

-- 
James Cameron
http://quozl.linux.org.au/
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel