WLAN not working
flexd
openmoko at doombox.org
Sun Jul 6 00:52:38 CEST 2008
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 <flyin.bbb8 at gmail.com> wrote:
>>> iwconfig? Or
>> iwlist scanning?
>>>> On 7/5/08, Christoph Anton Mitterer <calestyo at scientia.net> 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:
>>> root at om-gta02:~# 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
>>> root at om-gta02:~#
>>>>>>>>> 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:
>>> root at om-gta02:~# 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
>>> root at om-gta02:~#
>>>>>>>>>>>> Any ideas?
>>>>>> Thanks,
>>> Chris.
>>>>>>>> --
>> Sent from Gmail for mobile | mobile.google.com
>>>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>>>>> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community
>>> ---
> avast! Antivirus: Innkommende melding renset.
> Virus Database (VPS): 080705-0, 05.07.2008
> Sist testet: 06.07.2008 00:45:49
> avast! - copyright (c) 1988-2008 ALWIL Software.
> http://www.avast.com
>>>>>
More information about the community
mailing list