Exactly what are you using in your config files, and what commands are you running? Which image are you using? Are you using a configuration that's known to work with your network on another machine?
You could also try using wpa_cli to tell you a bit more about what's going on. Using the /etc/network/intercfaces method after running ifup eth0 I get an error from busybox sed which desn't accept the --quiet option, followed by: WPA: configuring interface ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported ioctl[SIOCSIWENCODEEXT]: Operation not supported udhpc(v1.0.2) started Sometimes wpa_supplicant associates before udhcpc times out, and sometimes I have to rerun it to get an address. If anyone knows how to so debian-style network configs so that udhcpc is run on wpa_supplicant association as it is on gentoo I would love to know! Occasionally, for reasons I haven't yet discovered, wpa_supplicant fails to associate with the access point, then without changing the configs it will work again. On Sunday 06 July 2008, flexd wrote: > After updating and upgrading i now get exactly the same error as when i > specified -Dwext, so something is wrong something still :/ > > anyone got any ideas? > > regards > > Kristoffer > > flexd skrev: > > This is not working (adding -Dwext) i only get additional errors then: > > > > ioctl[SIOCSIWENCODEEXT]: Operation not supported > > ioctl[SIOCSIWENCODE]: Input/output error > > ioctl[SIOCSIWENCODEEXT]: Operation not supported > > ioctl[SIOCSIWENCODE]: Input/output error > > ioctl[SIOCSIWENCODEEXT]: Operation not supported > > ioctl[SIOCSIWENCODE]: Input/output error > > ioctl[SIOCSIWENCODEEXT]: Operation not supported > > ioctl[SIOCSIWENCODE]: Input/output error > > > > Going to try updating and upgrading now. > > > > Al Johnson skrev: > >> I am using WPA-PSK successfully on the Freerunner using a simple > >> wpa_supplicant.conf and one extra line in /etc/network/interfaces as > >> described at the end of http://wiki.openmoko.org/wiki/GTA02_wlan > >> It is on interface eth0 and the driver is compiled into the kernel > >> rather than being a module. > >> > >> I haven't tried this with the original image, but it has worked on every > >> other image I've tried. The original image may be using an older > >> wpa_supplicant version where the default driver was hostap (for prism2) > >> not wext as it is in the current images. If so then you either need to > >> supply the option -Dwext on the wpa_supplicant command line, or add an > >> extra line > >> to /etc/network/interfaces under the wpa-config one: > >> wpa-driver wext > >> > >> On Saturday 05 July 2008, flexd wrote: > >>> After some test and error on my FR, i have come to the conclusion that > >>> encryption (any type of encryption) does not work on the FR (atleast > >>> not the image it comes with), this seems to be either a kernel > >>> bug/misconfiguration or a problem with wpa_supplicant itself, it seems > >>> to be using PRISM2 drivers? But the card is atheros is it not? > >>> > >>> I am able to connect to open networks both the normal way (with > >>> iwconfig) and with wpa_supplicant, however connecting to encrypted > >>> networks has proven unsuccessful as wpa_supplicant complains about > >>> setting the encryption with this message repeatedly: > >>> > >>> ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported > >>> > >>> Not sure what's going on, maybe someone with a bit more info could > >>> reply.. :) > >>> > >>> Regards > >>> > >>> Kristoffer > >>> > >>> Alexander Paersch skrev: > >>>> iwlist scanning works for me. I followed this guide: > >>>> http://wiki.openmoko.org/wiki/GTA02_wlan > >>>> > >>>> On Sat, Jul 5, 2008 at 10:55 PM, Flyin_bbb8 <[EMAIL PROTECTED]> wrote: > >>>>> iwconfig? Or > >>>>> iwlist scanning? > >>>>> > >>>>> On 7/5/08, Christoph Anton Mitterer <[EMAIL PROTECTED]> wrote: > >>>>>> Hi. > >>>>>> > >>>>>> I've received my GTA02 yesterday :-) > >>>>>> > >>>>>> Flashed it to the most recent version > >>>>>> (http://downloads.openmoko.org/releases/Freerunner/)... > >>>>>> Unfortunately,... when I try to use WLAN I get this: > >>>>>> [EMAIL PROTECTED]:~# ifup wlan0 > >>>>>> Error for wireless request "Set Mode" (8B06) : > >>>>>> SET failed on device wlan0 ; No such device. > >>>>>> Error for wireless request "Set ESSID" (8B1A) : > >>>>>> SET failed on device wlan0 ; No such device. > >>>>>> ifconfig: SIOCGIFFLAGS: No such device > >>>>>> wlan0 No such device > >>>>>> > >>>>>> udhcpc: SIOCGIFINDEX: No such device > >>>>>> [EMAIL PROTECTED]:~# > >>>>>> > >>>>>> > >>>>>> And when I use the following config: > >>>>>> # /etc/network/interfaces -- configuration file for ifup(8), > >>>>>> ifdown(8) > >>>>>> > >>>>>> # The loopback interface > >>>>>> auto lo > >>>>>> iface lo inet loopback > >>>>>> > >>>>>> iface wlan0 inet dhcp > >>>>>> wpa-ssid "scientia.net" > >>>>>> wpa-psk "secret" > >>>>>> # wpa-scan-ssid 1 > >>>>>> > >>>>>> # Wireless interfaces > >>>>>> #iface wlan0 inet dhcp > >>>>>> #wireless_mode managed > >>>>>> #wireless_essid any > >>>>>> iface atml0 inet dhcp > >>>>>> > >>>>>> # Wired or wireless interfaces > >>>>>> iface eth0 inet dhcp > >>>>>> iface eth1 inet dhcp > >>>>>> > >>>>>> # Ethernet/RNDIS gadget (g_ether) > >>>>>> # ... or on host side, usbnet and random hwaddr > >>>>>> auto usb0 > >>>>>> iface usb0 inet static > >>>>>> address 192.168.200.2 > >>>>>> netmask 255.255.255.0 > >>>>>> network 192.168.200.0 > >>>>>> gateway 192.168.200.1 > >>>>>> up echo nameserver 192.168.200.1 >/etc/resolv.conf > >>>>>> > >>>>>> # Bluetooth networking > >>>>>> iface bnep0 inet dhcp > >>>>>> > >>>>>> > >>>>>> I get this: > >>>>>> [EMAIL PROTECTED]:~# ifup wlan0 > >>>>>> WPA: Configuring Interface > >>>>>> ioctl[SIOCSIWPMKSA]: No such device > >>>>>> ioctl[SIOCSIWMODE]: No such device > >>>>>> Could not configure driver to use managed mode > >>>>>> ioctl[SIOCGIFFLAGS]: No such device > >>>>>> Could not set interface 'wlan0' UP > >>>>>> ioctl[SIOCGIWRANGE]: No such device > >>>>>> ioctl[SIOCGIFINDEX]: No such device > >>>>>> ioctl[SIOCSIWENCODEEXT]: No such device > >>>>>> ioctl[SIOCSIWENCODE]: No such device > >>>>>> ioctl[SIOCSIWENCODEEXT]: No such device > >>>>>> ioctl[SIOCSIWENCODE]: No such device > >>>>>> ioctl[SIOCSIWENCODEEXT]: No such device > >>>>>> ioctl[SIOCSIWENCODE]: No such device > >>>>>> ioctl[SIOCSIWENCODEEXT]: No such device > >>>>>> ioctl[SIOCSIWENCODE]: No such device > >>>>>> ioctl[SIOCSIWAUTH]: No such device > >>>>>> WEXT auth param 7 value 0x0 - Failed to disable WPA in the driver. > >>>>>> ioctl[SIOCSIWAUTH]: No such device > >>>>>> WEXT auth param 5 value 0x0 - ioctl[SIOCSIWAUTH]: No such device > >>>>>> WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAP]: No such device > >>>>>> ioctl[SIOCGIFFLAGS]: No such device > >>>>>> wpa_supplicant: /usr/sbin/wpa_supplicant daemon failed to start > >>>>>> FAILED > >>>>>> Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or > >>>>>> directory > >>>>>> ifconfig: SIOCGIFFLAGS: No such device > >>>>>> wlan0 No such device > >>>>>> > >>>>>> udhcpc: SIOCGIFINDEX: No such device > >>>>>> [EMAIL PROTECTED]:~# > >>>>>> > >>>>>> > >>>>>> > >>>>>> Any ideas? > >>>>>> > >>>>>> Thanks, > >>>>>> Chris. > >>>>> > >>>>> -- > >>>>> Sent from Gmail for mobile | mobile.google.com _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

