Topic: wicd on a Openmoko Neo Freerunner
after the successful installation of wicd 1.4.2 on my notebook, I have installed wicd also on my Freerunner, princible also with success.
The very special point was to modify the manager-settings.conf:
1. wired_interface = usb0
2. wireless_interface = eth0
The next point is the missing ethtool/mii-tool. This sequence should be modify for handheld/PDA/mobile phones:
> # thanks to apienk01 for this
> # now uses ethtool because it is newer, and if that fails, uses mii-tool
> def CheckPluggedIn(self):
> import re
> link_tool = 'ethtool'
> tool_data = misc.Run( link_tool + ' ' + self.wired.wired_interface,True)
> if not misc.RunRegex(re.compile('(Operation not supported)',re.I),tool_data) is None:
> print 'ethtool seems to be incompatible with hardware, falling back to mii-tool'
> link_tool = 'mii-tool'
> if not misc.RunRegex(re.compile('(Invalid argument)',re.I),tool_data) is None:
> print 'wired interface appears down, putting up for link check'
> misc.Run( 'ifconfig ' + self.wired.wired_interface + ' up' )
> tool_data = misc.Run( link_tool + ' ' + self.wired.wired_interface)
> if not misc.RunRegex(re.compile('(Link detected: yes)|(link ok)',re.I),tool_data) is None:
> return True
> return False
> # End function CheckPluggedIn
Isn't it possible to get the same information in result just by ifconfig. E.g. if wired_interface is up but has no IP, this line is missing in the output of ifconfig. I guess there is to think about.
A further point is a problem with the click to the touchscreen. wicd don't react about these clicks. What is to change? Is it in additional possible to enlarge the icons in the list of (W)LANs? How to do that?
I will keep investigating on my side, maybe we find a nice solution for Freerunner, christian
Last edited by wesselch (2008-08-11 12:13:06)