[maemo-developers] [maemo-developers] Network connection in the mameo SDK

From: David slugplayer at free.fr
Date: Sat Jan 20 19:18:24 EET 2007
I'm writting python scripts which need access to internet.
But the urlretrieve function fails :
Temporary failure in name resolution

The scripts works fine on the my PC and on the n800.

On the wiki, I read this :
"For you to be able to do this when developing on the i386 rootstrap you 
need to do "apt-get install osso-ic-oss" to have the connectivity script 
included in the target."

The package osso-ic-oss does not exist.
The package osso-ic exists.
So, I tried to install it :

[sbox-SDK_X86: ~/python] > apt-get install osso-ic
Reading Package Lists... Done
Building Dependency Tree... Done
The following NEW packages will be installed:
0 upgraded, 1 newly installed, 0 to remove and 8 not upgraded.
1 not fully installed or removed.
Need to get 0B/57.1kB of archives.
After unpacking 266kB of additional disk space will be used.
Selecting previously deselected package osso-ic.
(Reading database ... 14865 files and directories currently installed.)
Unpacking osso-ic (from .../pool/osso-ic_1.1.22_i386.deb) ...
Setting up osso-wlan (1.1.12) ...
update-rc.d: /etc/init.d/wlancond exists during rc.d purge (continuing)
 Removing any system startup links for /etc/init.d/wlancond ...
Starting WLAN Connection Daemon: dsmesock_connect: No such file or directory
invoke-rc.d: initscript wlancond, action "start" failed.
dpkg: error processing osso-wlan (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of osso-ic:
 osso-ic depends on osso-wlan (>= 1.1.12); however:
  Package osso-wlan is not configured yet.
dpkg: error processing osso-ic (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
E: Sub-process /scratchbox/devkits/debian/bin/dpkg returned an error 
code (1)

The wiki seems to not be up to date...
How to get network in the SDK environnement ?



More information about the maemo-developers mailing list