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 http://git.freesmartphone.org/?p=framework.git;a=commit;h=59855d9afbcf60f19b31042bfd95528b8f165419 Peter. 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@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community