python on FR, need a little help

Bumbl bumbl3x3 at gmail.com
Tue Aug 12 16:45:21 CEST 2008


someone @irc had a look on the wicd code
and told me that huge parts have to be rewritten to
run it with the openmoko

wicd assumes for example that a wireless interface
has to be named wlan0

Christian Weßel wrote:
> Am Montag, den 11.08.2008, 17:58 +0200 schrieb Rorschach:
>   
>> What happenbs if you start wicd from the console?
>>
>> python wicd/daemon.py
>>     
> root at om-gta02:/var/volatile/tmp# python /opt/wicd/daemon.py/opt/wicd
> wicd daemon: pid 1894
> root at om-gta02:/var/volatile/tmp# lo        no wireless extensions.
>
> usb0      no wireless extensions.
>
> lo        no wireless extensions.
>
> usb0      no wireless extensions.
>
> ifconfig: SIOCGIFFLAGS: No such device
> None      Interface doesn't support scanning.
>
> sh: ethtool: not found
>
> root at om-gta02:/var/volatile/tmp# ps -ef|grep daemon
> ...
> root      1894     1  4 16:35 ?        00:00:02
> python /opt/wicd/daemon.py
> ...
> root at om-gta02:/var/volatile/tmp# 
>
>   
>> python wicd/gui.py
>>     
> <at the ssh console>
> root at om-gta02:/var/volatile/tmp# python /opt/wicd/gui.py   
> /usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py:69: GtkWarning:
> could not open display
>   warnings.warn(str(e), _gtk.Warning)
> attempting to connect daemon...
> success
> starting gui.py...
>
> (gui.py:1911): libglade-WARNING **: Error loading image: Failed to open
> file 'data/wicd.png': No such file or directory
>
> (gui.py:1911): libglade-WARNING **: could not convert string to type
> `GdkPixbuf' for property `icon'
> Segmentation fault
> root at om-gta02:/var/volatile/tmp# 
>
> <at the local terminal>
> root at om-gta02:/# python /opt/wicd/gui.py
> attempting to connect daemon...
> success
> starting gui.py...
> refreshing...
> Number of wireless networks detected: 0
> refreshing...
> Number of wireless networks detected: 0
>
> The daemon seems to be running.
> A gui is opened with a three items on top (Network, Disconnect, Refresh)
> and the message 'No wireless networks found.' in the middle of the
> screen.
> At the same time at my ssh console I receive 'ifconfig: none: error
> fetching interface information: Device not found' each half second.
> Before that I saw 'sh: ethtool: not found'.
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>   





More information about the community mailing list