om2009 activating wifi

pike pike-openmoko at kw.nl
Thu Jul 23 01:37:38 CEST 2009


Hi

>> Is there a way to request WiFi activation from
>> FSO straight from the command line ?
> 
> Yes, if you search the archive you'll find some mdbus or dbus-send
> examples, or as saied you may use fsoraw.

Sorry, I found none. I'm sure I just dont
really know what I'm looking for.

Anyway, mdbus helped me out:
alltogether this is my way to
get wifi from scratch that doesnt
die every 20 secs :

> # keep the screen alive
> mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage \
>         org.freesmartphone.Usage.SetResourcePolicy \
>         Display enabled
> 
> # power up wifi
> mdbus -s org.freesmartphone.odeviced \
>         /org/freesmartphone/Device/PowerControl/WiFi \
>         org.freesmartphone.Device.PowerControl.SetPower True
> 
> # bounce eth0
> ifdown eth0; ifup eth0
 >
 > # more custom stuff


thanks,
*-pike



More information about the community mailing list