NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/42581: wpa_supplicant(8) does not work on USB ral(4)



The following reply was made to PR bin/42581; it has been noted by GNATS.

From: Torsten Harenberg <harenberg%physik.uni-wuppertal.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: bin/42581: wpa_supplicant(8) does not work on USB ral(4)
Date: Thu, 04 Feb 2010 20:34:39 +0100

 This is a multi-part message in MIME format.
 --------------080507020404050209060500
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 This bug seems to affect not only USB, but also other ral devices.
 
 My build-in ral device shows the same problem, wpa_supplicant -d output 
 is attached.
 
 Best regards,
 
     Torsten
 
 
 -- 
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 <>                                                              <>
 <> Dr. Torsten Harenberg     harenberg%physik.uni-wuppertal.de@localhost  <>
 <> Bergische Universitaet                                       <>
 <> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
 <> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
 <> 42097 Wuppertal                                              <>
 <>                                                              <>
 <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>
 
 --------------080507020404050209060500
 Content-Type: text/plain;
  name="wpa_supplicant_d.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="wpa_supplicant_d.txt"
 
 # /usr/sbin/wpa_supplicant -d -iral0 -c /etc/wpa_supplicant/home.cfg  
 Initializing interface 'ral0' conf '/etc/wpa_supplicant/home.cfg' driver 
'default' ctrl_interface 'N/A' bridge 'N/A'
 Reading configuration file '/etc/wpa_supplicant/home.cfg'
 Priority group 0
    id=0 ssid='KWERTH2'
 Initializing interface (2) 'ral0'
 Own MAC address: 00:15:af:d8:75:68
 wpa_driver_bsd_set_wpa: enabled=1
 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1
 wpa_driver_bsd_del_key: keyidx=0
 wpa_driver_bsd_del_key: keyidx=1
 wpa_driver_bsd_del_key: keyidx=2
 wpa_driver_bsd_del_key: keyidx=3
 wpa_driver_bsd_set_countermeasures: enabled=0
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 RSN: flushing PMKID list in the driver
 Setting scan request: 0 sec 100000 usec
 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
 Added interface ral0
 State: DISCONNECTED -> SCANNING
 Starting AP scan (specific SSID)
 Scan SSID - hexdump_ascii(len=7):
      4b 57 45 52 54 48 32                              KWERTH2         
 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
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 Try to find non-WPA AP
 No suitable AP found.
 Setting scan request: 0 sec 0 usec
 Starting AP scan (broadcast SSID)
 RTM_IFINFO: Interface 'ral0' UP
 RTM_???: 14
 EAPOL: disable timer tick
 RTM_IEEE80211: scan result (105)
 Received 100 bytes of scan results (1 BSSes)
 Scan results: 1
 CTRL-EVENT-SCAN-RESULTS 
 Selecting BSS from priority group 0
 Try to find WPA-enabled AP
 0: 00:24:fe:03:00:2c ssid='KWERTH2' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
    selected based on WPA IE
    selected WPA AP 00:24:fe:03:00:2c ssid='KWERTH2'
 Trying to associate with 00:24:fe:03:00:2c (SSID='KWERTH2' freq=2412 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 8 key_mgmt 2 proto 1
 WPA: set AP WPA IE - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 
00 00 50 f2 02 01 00 00 50 f2 02 00 00
 WPA: clearing AP RSN IE
 WPA: using GTK TKIP
 WPA: using PTK TKIP
 WPA: using KEY_MGMT WPA-PSK
 WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 
f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
 No keys have been configured - skip key clearing
 wpa_driver_bsd_set_drop_unencrypted: enabled=1
 State: SCANNING -> ASSOCIATING
 wpa_driver_bsd_associate: ssid 'KWERTH2' wpa ie len 24 pairwise 2 group 2 key 
mgmt 1
 wpa_driver_bsd_associate: set PRIVACY 1
 Setting authentication timeout: 10 sec 0 usec
 EAPOL: External notification - EAP success=0
 EAPOL: External notification - EAP fail=0
 EAPOL: External notification - portControl=Auto
 RX EAPOL from 00:24:fe:03:00:2c
 Setting authentication timeout: 10 sec 0 usec
 IEEE 802.1X RX: version=1 type=3 length=95
   EAPOL-Key type=254
   key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
   key_length=32 key_data_length=0
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 01
   key_nonce - hexdump(len=32): 39 a5 b6 49 39 21 cf 8b d6 2c 21 43 01 93 77 fc 
39 29 6f 6c 0e 2f 89 49 a5 6f b2 83 5f 37 43 4a
   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 State: ASSOCIATING -> 4WAY_HANDSHAKE
 WPA: RX message 1 of 4-Way Handshake from 00:24:fe:03:00:2c (ver=1)
 WPA: Renewed SNonce - hexdump(len=32): 95 58 2d 7b bf 7c 85 69 a9 42 31 1b 59 
7c a0 7c bc d7 05 ca 0c cf 81 b7 7c af 0f 33 d2 bc a9 3f
 WPA: PTK derivation - A1=00:15:af:d8:75:68 A2=00:00:00:00:00:00
 WPA: PMK - hexdump(len=32): [REMOVED]
 WPA: PTK - hexdump(len=64): [REMOVED]
 WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: Sending EAPOL-Key 2/4
 WPA: Use BSSID (00:24:fe:03:00:2c) as the destination for EAPOL-Key
 RTM_IEEE80211: (re)assoc (100)
 State: 4WAY_HANDSHAKE -> ASSOCIATED
 Associated to a new BSS: BSSID=00:24:fe:03:00:2c
 No keys have been configured - skip key clearing
 Associated with 00:24:fe:03:00:2c
 WPA: Association event - clear replay counter
 WPA: Clear old PTK
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 EAPOL: External notification - portEnabled=1
 EAPOL: SUPP_PAE entering state CONNECTING
 EAPOL: enable timer tick
 EAPOL: SUPP_BE entering state IDLE
 Setting authentication timeout: 10 sec 0 usec
 Cancelling scan request
 RTM_IFINFO: Interface '' if=ffff8843 drv=ffff8803
 RTM_???: 14
 RX EAPOL from 00:24:fe:03:00:2c
 Setting authentication timeout: 10 sec 0 usec
 IEEE 802.1X RX: version=1 type=3 length=95
   EAPOL-Key type=254
   key_info 0x89 (ver=1 keyidx=0 rsvd=0 Pairwise Ack)
   key_length=32 key_data_length=0
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 02
   key_nonce - hexdump(len=32): 39 a5 b6 49 39 21 cf 8b d6 2c 21 43 01 93 77 fc 
39 29 6f 6c 0e 2f 89 49 a5 6f b2 83 5f 37 43 4b
   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
 State: ASSOCIATED -> 4WAY_HANDSHAKE
 WPA: RX message 1 of 4-Way Handshake from 00:24:fe:03:00:2c (ver=1)
 WPA: Renewed SNonce - hexdump(len=32): 66 72 a4 e3 a8 16 6c 48 fc 83 9a e0 9a 
10 89 48 5e df f0 e3 9a 76 00 f5 b8 41 c7 11 47 33 b8 5f
 WPA: PTK derivation - A1=00:15:af:d8:75:68 A2=00:24:fe:03:00:2c
 WPA: PMK - hexdump(len=32): [REMOVED]
 WPA: PTK - hexdump(len=64): [REMOVED]
 WPA: WPA IE for msg 2/4 - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 
01 00 00 50 f2 02 01 00 00 50 f2 02
 WPA: Sending EAPOL-Key 2/4
 RX EAPOL from 00:24:fe:03:00:2c
 IEEE 802.1X RX: version=1 type=3 length=121
   EAPOL-Key type=254
   key_info 0x1c9 (ver=1 keyidx=0 rsvd=0 Pairwise Install Ack MIC)
   key_length=32 key_data_length=26
   replay_counter - hexdump(len=8): 00 00 00 00 00 00 00 03
   key_nonce - hexdump(len=32): 39 a5 b6 49 39 21 cf 8b d6 2c 21 43 01 93 77 fc 
39 29 6f 6c 0e 2f 89 49 a5 6f b2 83 5f 37 43 4b
   key_iv - hexdump(len=16): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
   key_rsc - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_id (reserved) - hexdump(len=8): 00 00 00 00 00 00 00 00
   key_mic - hexdump(len=16): c5 b8 e7 0e 36 bc 5d cd 60 b6 16 53 d2 10 ba a4
 State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
 WPA: RX message 3 of 4-Way Handshake from 00:24:fe:03:00:2c (ver=1)
 WPA: IE KeyData - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 
00 50 f2 02 01 00 00 50 f2 02 00 00
 WPA: Sending EAPOL-Key 4/4
 WPA: Installing PTK to the driver.
 WPA: RSC - hexdump(len=6): 00 00 00 00 00 00
 wpa_driver_bsd_set_key: alg=TKIP addr=00:24:fe:03:00:2c key_idx=0 set_tx=1 
seq_len=6 key_len=32
 State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
 EAPOL: startWhen --> 0
 EAPOL: disable timer tick
 EAPOL: SUPP_PAE entering state CONNECTING
 EAPOL: enable timer tick
 EAPOL: txStart
 WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
 RTM_IEEE80211: disassoc (102)
 Setting scan request: 0 sec 100000 usec
 Added BSSID 00:24:fe:03:00:2c into blacklist
 CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
 wpa_driver_bsd_del_key: keyidx=0
 wpa_driver_bsd_del_key: keyidx=1
 wpa_driver_bsd_del_key: keyidx=2
 wpa_driver_bsd_del_key: keyidx=3
 wpa_driver_bsd_del_key: addr=00:24:fe:03:00:2c keyidx=0
 State: GROUP_HANDSHAKE -> DISCONNECTED
 EAPOL: External notification - portEnabled=0
 EAPOL: SUPP_PAE entering state DISCONNECTED
 EAPOL: SUPP_BE entering state INITIALIZE
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 RTM_IFINFO: Interface '' if=ffff8843 drv=ffff8843
 RTM_???: 14
 State: DISCONNECTED -> SCANNING
 Starting AP scan (specific SSID)
 Scan SSID - hexdump_ascii(len=7):
      4b 57 45 52 54 48 32                              KWERTH2         
 Authentication with 00:00:00:00:00:00 timed out.
 Added BSSID 00:00:00:00:00:00 into blacklist
 No keys have been configured - skip key clearing
 State: SCANNING -> DISCONNECTED
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 EAPOL: External notification - EAP success=0
 Setting scan request: 0 sec 0 usec
 State: DISCONNECTED -> SCANNING
 Starting AP scan (broadcast SSID)
 ^CCTRL-EVENT-TERMINATING - signal 2 received
 Removing interface ral0
 State: SCANNING -> DISCONNECTED
 No keys have been configured - skip key clearing
 EAPOL: External notification - portEnabled=0
 EAPOL: External notification - portValid=0
 wpa_driver_bsd_set_wpa: enabled=0
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 wpa_driver_bsd_set_drop_unencrypted: enabled=0
 wpa_driver_bsd_set_countermeasures: enabled=0
 No keys have been configured - skip key clearing
 Removed BSSID 00:00:00:00:00:00 from blacklist (clear)
 Removed BSSID 00:24:fe:03:00:2c from blacklist (clear)
 Cancelling scan request
 Cancelling authentication timeout
 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0
 # 
 
 --------------080507020404050209060500--
 


Home | Main Index | Thread Index | Old Index