[Hampshire] Wireless WPA Problems

Top Page

Reply to this message
Author: Peter Brooks
Date:  
To: Hampshire LUG Discussion List
CC: 
Subject: [Hampshire] Wireless WPA Problems
Hi all,
I'm setting up a Zxytel USB Dongle (zd1211 chipset on the unit)
Trying to make it connect to this:
eth2      Scan completed :
          Cell 01 - Address: 00:1C:10:87:57:C1
                    ESSID:"Ewifi"
                    Protocol:IEEE 802.11bg
                    Mode:Master
                    Channel:5
                    Frequency:2.432 GHz (Channel 5)
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Quality=100/100  Signal level=100/100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Extra: Last beacon: 364ms ago


my contents of wpa_supplicant.conf

network={
        scan_ssid=0
        ssid="Ewifi"
        proto=WPA
        key_mgmt=WPA-PSK
        priority=5
        pairwise=CCMP TKIP
        group=CCMP TKIP WEP104 WEP40
        psk=
}


When run with wpa_supplicant -ieth2
-c/etc/wpa_supplicant/wpa_supplicant.conf -D wext
I get
Trying to associate with 00:1c:10:87:57:c1 (SSID='Ewifi' freq=2432 MHz)
ioctl[SIOCSIWFREQ]: Operation not permitted
Association request to the driver failed
Authentication with 00:00:00:00:00:00 timed out.
Trying to associate with 00:1c:10:87:57:c1 (SSID='Ewifi' freq=2432 MHz)
ioctl[SIOCSIWFREQ]: Operation not permitted
Association request to the driver failed
Authentication with 00:00:00:00:00:00 timed out.


Any ideas on getting rid of these operation not permitted errors?

For your information:
eth2      IEEE 802.11b/g  ESSID:"Ewifi"  Nickname:"zd1211"
          Mode:Managed  Frequency:2.432 GHz  Access Point: 00:1C:10:87:57:C1
          Encryption key:off
          Link Quality=83/100  Signal level=24/100
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



wpa_supplicant -ieth2 -c/etc/wpa_supplicant/wpa_supplicant.conf -D wext -ddd
Initializing interface 'eth2' conf
'/etc/wpa_supplicant/wpa_supplicant.conf' driver 'wext' ctrl_interface
'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf' ->
'/etc/wpa_supplicant/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf'
Line: 3 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=5):
     45 77 69 66 69                                    Ewifi
proto: 0x1
key_mgmt: 0x2
priority=5 (0x5)
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
Priority group 5
   id=0 ssid='Ewifi'
Initializing interface (2) 'eth2'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=20 enc_capa=0xf
  capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:13:49:90:68:ec
wpa_driver_wext_set_wpa
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_countermeasures
wpa_driver_wext_set_drop_unencrypted
Setting scan request: 0 sec 100000 usec
Added interface eth2
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth2' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan
to speed up initial association
Received 0 bytes of scan results (0 BSSes)
Scan results: 0
Selecting BSS from priority group 5
No suitable AP found.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b19 len=8
Received 304 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 5
0: 00:1c:10:87:57:c1 ssid='Ewifi' wpa_ie_len=30 rsn_ie_len=26 caps=0x11
   selected based on WPA IE
Trying to associate with 00:1c:10:87:57:c1 (SSID='Ewifi' freq=2432 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 24 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=30):
WPA: set AP RSN IE - hexdump(len=26): 30 18 01 00 00 0f ac 02 02 00 00
0f ac 04 00 0f ac 02 01 00 00 0f ac 02 00 00
WPA: using GTK TKIP
WPA: using PTK CCMP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24):
No keys have been configured - skip key clearing
wpa_driver_wext_set_drop_unencrypted
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
wpa_driver_wext_associate
ioctl[SIOCSIWFREQ]: Operation not permitted
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
RSN: Ignored PMKID candidate without preauth flag
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=13
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b1a len=13
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth2
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_wext_set_wpa
wpa_driver_wext_set_drop_unencrypted
wpa_driver_wext_set_countermeasures
No keys have been configured - skip key clearing
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6