Re: python on FR, need a little help

2008-08-12 Thread Christian Weßel
Am Dienstag, den 12.08.2008, 16:45 +0200 schrieb Bumbl:
> 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

That problem is solved. I got the latest version wicd-1.5.1 and now I am
discussing with the developers about a problem by
configuration/installation of wicd.

I will keep the community informed.
-- 

mfg/br, christian

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: python on FR, need a little help

2008-08-12 Thread Bumbl
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
>> 
> [EMAIL PROTECTED]:/var/volatile/tmp# python /opt/wicd/daemon.py/opt/wicd
> wicd daemon: pid 1894
> [EMAIL PROTECTED]:/var/volatile/tmp# lono wireless extensions.
>
> usb0  no wireless extensions.
>
> lono wireless extensions.
>
> usb0  no wireless extensions.
>
> ifconfig: SIOCGIFFLAGS: No such device
> None  Interface doesn't support scanning.
>
> sh: ethtool: not found
>
> [EMAIL PROTECTED]:/var/volatile/tmp# ps -ef|grep daemon
> ...
> root  1894 1  4 16:35 ?00:00:02
> python /opt/wicd/daemon.py
> ...
> [EMAIL PROTECTED]:/var/volatile/tmp# 
>
>   
>> python wicd/gui.py
>> 
> 
> [EMAIL PROTECTED]:/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
> [EMAIL PROTECTED]:/var/volatile/tmp# 
>
> 
> [EMAIL PROTECTED]:/# 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@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>   


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: python on FR, need a little help

2008-08-11 Thread Christian Weßel
After the first start I got some new conf files in /opt/wicd/data/
1. manager-settings.conf
2. wired-settings.conf
3. wireless-settings.conf

Inside [1] I changed the wireless-interface to eth0 und the
wired-interface to usb0. After restart of daemon and gui now I see the
WLAN and LAN around FR. Just the handling is sad, the display is not
reacting about the clicks. So I can't configure any WLAN.

I will research further on, maybe some python guy can help.

christian

Am Montag, den 11.08.2008, 17:58 +0200 schrieb Rorschach:
> What happenbs if you start wicd from the console?
> 
> python wicd/daemon.py
> python wicd/gui.py
> 
> 
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
-- 

mfg/br, christian weßel

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: python on FR, need a little help

2008-08-11 Thread Christian Weßel
Am Montag, den 11.08.2008, 17:58 +0200 schrieb Rorschach:
> What happenbs if you start wicd from the console?
> 
> python wicd/daemon.py
[EMAIL PROTECTED]:/var/volatile/tmp# python /opt/wicd/daemon.py/opt/wicd
wicd daemon: pid 1894
[EMAIL PROTECTED]:/var/volatile/tmp# lono wireless extensions.

usb0  no wireless extensions.

lono wireless extensions.

usb0  no wireless extensions.

ifconfig: SIOCGIFFLAGS: No such device
None  Interface doesn't support scanning.

sh: ethtool: not found

[EMAIL PROTECTED]:/var/volatile/tmp# ps -ef|grep daemon
...
root  1894 1  4 16:35 ?00:00:02
python /opt/wicd/daemon.py
...
[EMAIL PROTECTED]:/var/volatile/tmp# 

> python wicd/gui.py

[EMAIL PROTECTED]:/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
[EMAIL PROTECTED]:/var/volatile/tmp# 


[EMAIL PROTECTED]:/# 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'.
-- 

mfg/br, christian

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: python on FR, need a little help

2008-08-11 Thread Rorschach
What happenbs if you start wicd from the console?

python wicd/daemon.py
python wicd/gui.py




___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


python on FR, need a little help

2008-08-11 Thread Christian Weßel
Hello,

for my notebook I found a very good NetworkManager spare called wicd
(http://wicd.sourceforge.net/), it is a python based application to
handle WLAN.

I am a absolute python newbie. But this little appl. is pretty nice and
I want to bring it up and running on FR.

First I installed python manually following packages in this order:
libpython
python-core
python-lang
python-threading
libdbus
python-dbus
python-math
libcrypto
libssl
python-io
python-re
python-stringold
python-logging
bzip2
python-misc
python-pycairo
python-pygobject
python-shell
python-pygtk
python-fcntl
python-codecs
python-pickle
python-subprocesses
python-threading
python-xml

Allways the latest version from scaredyCat
(http://buildhost.automated.it/OM2007.2/packages/armv4t/).

I am able to enter 'python' in terminal and I get a valid answer.

Then I copied all files from wicd to there locations, replaced two PNG
files by the original one from pixmaps. After a reboot I see the appl.
at the list of appl..

But I could not start the appl. :-(. The dmesg shows me just an old
entry, so I don't know why the appl. ist not starting.

Where can I find some hints about the reasons/issues/problems etc.?

Is any python/FR guru able to give me a little help?
-- 

mfg/br, christian

Flurstraße 14
29640 Schneverdingen
Germany

E-Mail: [EMAIL PROTECTED]
Telefon: +49 5193 97 14 95
Mobile:  +49 171 357 59 57
http://wesselch.homelinux.org


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community