[FSO] Wifi in M5 no longer functioning
dylan.semler at gmail.com
Thu Feb 5 15:47:02 CET 2009
On Thu, Feb 5, 2009 at 5:56 AM, Al Johnson <openmoko at mazikeen.demon.co.uk>wrote:
> 'SetResourcePolicy WiFi enabled' tells FSO to power up the WiFi
> of whether any apps have issued 'RequestResource WiFi'. Before I do this I
> have no eth0 available.
Yeah, but it seems to also configure eth0 because after I SetResourcePolicy,
If I do ifup eth0 right away I get "ifup: interface eth0 already configured"
To get dhcp working I would often have to do:
> ifup eth0
> ifdown eth0
> ifup eth0
I know what you're talking about, I definitely had to do this with past
images as well. However, with M5, there's still no luck with the second
> On the second ifup the association often completes a little quicker so dhcp
> has a chance of completing before timeout. Another method is to manually
> dhcp after the first ifup using something like:
> udhcpc -i eth0
Yeah, this suffers the same fate is ifup, ifdown, ifup. It's good to know
if I revert to an older image.
> This assumes wpa_supplicant is making the association fine. You can check
> with wpa_cli which accepts a 'help' command to tell you what other options
> This has worked for me on everything I've tried since 2007.2, but I've not
> tried it on the recent SHR or MS5 yet. SHR, and probably MS5, have the
> complication of connman running. This tries to manage the network
> but at least for usb0 it is overridden by the ifup and ifdown commands.
> Assuming connman actually works, the other option would be to use the
> dbus interface to set the network parameters. Don't ask me how though ;-)
I'll poke at this when I have more time after the weekend.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the support