On Wednesday 04 February 2009, Dylan Semler wrote: > On Wed, Feb 4, 2009 at 1:40 AM, Michael 'Mickey' Lauer > > <mic...@openmoko.org>wrote: > > That's correct behaviour due to auto-release. Please read the usage > > introduction at http://docs.freesmartphone.org/usage-intro.html > > > > If you can't stay on the bus, use SetResourcePolicy. > > My bad, I hadn't read far enough before to catch the note about mdbus at > the bottom. I've set the policy to enabled, but still having troubles > > r...@om-gta02:~# mdbus -s org.freesmartphone.ousaged > /org/freesmartphone/Usage org.freesmartphone.Usage.SetResourcePolicy WiFi > enabled > r...@om-gta02:~# mdbus -s org.freesmartphone.ousaged > /org/freesmartphone/Usage org.freesmartphone.Usage.GetResourceState WiFi > True > r...@om-gta02:~# ifup eth0 > WPA: Configuring Interface > ioctl[SIOCSIWENCODEEXT]: Operation not supported > ioctl[SIOCSIWENCODEEXT]: Operation not supported > ioctl[SIOCSIWENCODEEXT]: Operation not supported > ioctl[SIOCSIWENCODEEXT]: Operation not supported > udhcpc (v1.13.2) started > run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1 > Sending discover... > Sending discover... > Sending discover... > No lease, failing > > I don't _think_ it's a configuration issue, as my setup hasn't changed > since M4 and I'm using the same config files.
I often get the above even with a working wpa_supplicant.conf because the dhcp discover starts being sent immediately, not after association, so dhcp times out before association is complete. Bringing the interface down then immediately up again will often get association faster, so the last dhcp request succeeds. > Really all I'm wanting to do is enable wifi so I can opkg some packages > from the command line, etc. Am I going at this the wrong way? > > Dylan _______________________________________________ support mailing list support@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/support