getting started with wlan

Al Johnson openmoko at mazikeen.demon.co.uk
Wed Mar 24 11:07:46 CET 2010


For the bits Paul didn't cover:

On Wednesday 24 March 2010, Kai-Martin wrote:
> On 03/22/2010 01:40:06 PM, Al Johnson wrote:
> > Connectivity, or direct through dbus with mdbus2, dbus-send or similar.
> 
> How would I do this? ( I miss man pages on my freerunner ;-)

mdbus2 -s org.freesmartphone.ousaged /org/freesmartphone/Usage 
org.freesmartphone.Usage.SetResourcePolicy WiFi enabled

More generally check http://docs.freesmartphone.org for how the API is 
supposed to work. You can also use mdbus2 to show you what dbus interfaces are 
available at a given level by omitting arguments. So to see what Usage 
provides you could use:

mdbus2 -s org.freesmartphone.ousaged /org/freesmartphone/Usage

btw the -s switch is for the session bus. the -h switch can be helpful too ;-)

> > See above. I saw 'linksys' in your scan results. Mokonnect never sees my
> > wrt54g,
> 
> Same here.
> I wonder, why mokonnect can't see my wlan while iwlist reliably does.

I guess it (or connman, which I think it's using) is filtering the results by 
some set of criteria. I've not checked the source.



More information about the community mailing list