turning wifi off

Peter Strapp peter at strapp.co.uk
Tue Jan 13 00:07:59 CET 2009

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



Michał Brzozowski wrote:
> Hello,
> I think this applies to all distros.  It's still a big mistery for me 
> how to turn off wifi after you used it so it doesn't drain power.  Or 
> even better turn it off when the phone is suspended and then turn it on 
> again.  I tried 'iwconfig eth0 essid none', 'ifconfig eth0 down', but 
> the phone is still draining a lot of power and the wifi icon is still on 
> in Om2008.12.  I'm looking for a command line solution, but if there's a 
> great app that manages the wifi and turns it off correctly I'd be happy 
> to use it.
> Thanks,
> Michal
> ----------------------------------------------------------------------
> Speak Up. Angielski szybko i skutecznie. 3 miesiace nauki gratis.
> Sprawdz. >> http://link.interia.pl/f2019
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

More information about the community mailing list