[maemo-developers] [maemo-developers] Automatic internet connection

From: Kalle Valo Kalle.Valo at nokia.com
Date: Mon Jan 30 16:41:37 EET 2006
"Steven Hill" <steveh at shscientific.com> writes:

> I am new to linux development, working with the Nokia 770. I have two
> related questions about internet connectivity.
> 1. I have followed the instructions in the tutorial to run a script
> including the line
> "export LD_PRELOAD=/usr/lib/libosso-ic-preload.so"
> before calling the executable in the script.  But when my application
> starts (this is on the actual device, not the PC simulator) and looks
> for a connection which has not yet been made, the connection manager
> does not start up automatically.  If I manually set up a connection
> before running the application then everything proceeds with no problem.
> Shouldn't the connection manager start up automatically if no connection
> exists?

Yes, the connect dialog should be shown when the socket() call is made
in the application. Does your application call socket()? Are you sure
that LD_PRELOAD is correctly set? Could you send the complete script?

> 2. On the PC simulator rootstrap, one is supposed to install some
> software using "apt-get install osso-ic-oss" to include the same
> functionality as outlined above for ARM development. But when I do
> that, the installer cannot find the package, and I cannot find any
> references to it anywhere. The closest I have found is a package
> called "osso-ic-lib_0.35_i386.deb" but I don't know if it is the
> right package, or if it is, what to do with it.

osso-ic-oss is the name of the source package, that's why you couldn't
find it. Where did you find the instructions to install it?

osso-ic-lib contains the preload library, so I guess you need that.
But I can answer more after I see the instructions you are referring
to.

-- 
Kalle Valo


More information about the maemo-developers mailing list