turning wifi off

"Marco Trevisan (Treviño)" mail at 3v1n0.net
Tue Jan 13 04:18:59 CET 2009

Peter Strapp wrote:
> It looks like wifi can be turned on and off using the framework now. It
> uses wmiconfig as below:
> wmiconfig -i eth0 --wlan enable
> wmiconfig -i eth0 --wlan disable
> See:
> http://git.freesmartphone.org/?p=specs.git;a=blob_plain;f=html/org.freesmartphone.Device.PowerControl.html;hb=HEAD

Nice... Shouldn't it use also "wmiconfig -i eth0 --setreassocmode 0" to
allow scanning and connecting again?

BTW the 2.6.28 kernel should have also another way to disable the wlan
by using a /sys node (if I don't remember wrong, it should do something
like a "rmmod wifi-module", "insmod wifi-module").

Treviño's World - Life and Linux

More information about the community mailing list