[maemo-users] [maemo-users] Re: Connect to WLAN from command line

From: Ted Zlatanov tzz at bu.edu
Date: Mon Jan 8 23:18:30 EET 2007
On  5 Jan 2007, pigeon at pigeond.net wrote:

> What's even worse is, I have to run that command line every 5
> seconds or so (I put it in the script in a while loop to run that and
> then sleep 5), as the connection daemon seems to disconnect
> automatically. I think it disconnects if there's no application using
> the N770 framework/lib to make network connections. So if I have some
> custom software that uses the network it won't help either.

Quoting Kalle Valo:

> You are interested in osso_iap_connect() call with OSSO_IAP_ANY IAP.
> This document gives more information:

> http://maemo.org/platform/docs/howtos/howto_connectivity_guide.html

So you just need a very small program that calls this, then sleeps
forever, I'd assume (maybe it needs an exit handler, I don't know).  I
can't install Scratchbox to develop for ITOS2006 on my machine here,
so maybe someone else can compile that and try it.

Hmm, is there a way to call osso_* functions from Perl?


More information about the maemo-users mailing list