On Thursday 23 July 2009, pike wrote: > 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
This one would be better: mdbus -s org.freesmartphone.ousaged /org/freesmartphone/Usage \ org.freesmartphone.Usage.SetResourcePolicy \ WiFi enabled > > > > # bounce eth0 > > ifdown eth0; ifup eth0 > > > > # more custom stuff > > thanks, > *-pike > > _______________________________________________ > 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