802.11u issue

Shariq Haseeb shariq.haseeb at mimos.my
Wed Sep 5 22:22:03 EDT 2012


Hi

Driver related problem is solved. All I had to do was run the
spa_supplicant with "-D nl80211". I was running wpa_supplicant without
this.

However there is another issue. Since the cred block dent allow the use of
"identity" parameter. Is there any other way to achieve authentication
through EAP-SIM.

Below is my error:

----------------
wlan5: Trying to associate with 1c:7e:e5:c9:dd:56 (SSID='EAP-SIM'
freq=2437 MHz)
wlan5: State: AUTHENTICATING -> ASSOCIATING
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
WPA: set own WPA/RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00
00 0f ac 04 01 00 00 0f ac 01 00 00
nl80211: Associate (ifindex=8)
  * bssid=1c:7e:e5:c9:dd:56
  * freq=2437
  * SSID - hexdump_ascii(len=7):
     45 41 50 2d 53 49 4d                              EAP-SIM
  * IEs - hexdump(len=35): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00
00 0f ac 01 00 00 7f 04 00 00 00 80 dd 05 50 6f 9a 10 00
  * pairwise=0xfac04
  * group=0xfac04
nl80211: Association request send successfully
nl80211: Event message available
nl80211: New station 1c:7e:e5:c9:dd:56
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan5' added
nl80211: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan5' added
nl80211: if_removed already cleared - ignore event
RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan5' added
nl80211: if_removed already cleared - ignore event
nl80211: Event message available
nl80211: MLME event 38
wlan5: Event ASSOC (0) received
wlan5: Association info event
resp_ies - hexdump(len=100): 01 08 82 84 8b 96 0c 12 18 24 32 04 30 48 60
6c 2d 1a 0c 00 1b ff ff 00 00 01 00 00 00 00 00 2c 01 01 00 00 00 00 00 00
00 00 00 00 3d 16 06 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 7f 04 00 00 00 80 dd 18 00 50 f2 02 01 01 00 00 03 a4 00 00 27 a4
00 00 42 43 5e 00 62 32 2f 00
wlan5: freq=2437 MHz
wlan5: State: ASSOCIATING -> ASSOCIATED
wpa_driver_nl80211_set_operstate: operstate 0->0 (DORMANT)
netlink: Operstate: linkmode=-1, operstate=5
wlan5: Associated to a new BSS: BSSID=1c:7e:e5:c9:dd:56
wlan5: No keys have been configured - skip key clearing
wlan5: Associated with 1c:7e:e5:c9:dd:56
wlan5: WPA: Association event - clear replay counter
wlan5: WPA: Clear old PTK
EAPOL: External notification - portEnabled=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portValid=0
EAPOL: Supplicant port status: Unauthorized
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
wlan5: Setting authentication timeout: 10 sec 0 usec
wlan5: Cancelling scan request
nl80211: Event message available
nl80211: Ignore connect event (cmd=46) when using userspace SME
wlan5: RX EAPOL from 1c:7e:e5:c9:dd:56
wlan5: Setting authentication timeout: 70 sec 0 usec
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request id=83 method=1 vendor=0 vendorMethod=0
EAP: EAP entering state IDENTITY
wlan5: CTRL-EVENT-EAP-STARTED EAP authentication started
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=0): [NULL]
EAP: buildIdentity: identity configuration was not available
EAPOL: EAP parameter needed
wlan5: CTRL-REQ-IDENTITY-1:Identity needed for SSID EAP-SIM
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: startWhen --> 0
CTRL_IFACE monitor attached - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f
63 74 72 6c 5f 32 37 30 34 2d 32 38 00
EAPOL: EAP parameter needed
wlan5: CTRL-REQ-IDENTITY-1:Identity needed for SSID EAP-SIM
CTRL_IFACE monitor send - hexdump(len=22): 2f 74 6d 70 2f 77 70 61 5f 63
74 72 6c 5f 32 37 30 34 2d 32 38 00
wlan5: RX EAPOL from 1c:7e:e5:c9:dd:56
EAPOL: Received EAP-Packet frame
random: Got 8/10 bytes from /dev/random
random: Got 2/2 bytes from /dev/random
wlan5: RX EAPOL from 1c:7e:e5:c9:dd:56
EAPOL: Received EAP-Packet frame
wlan5: P2P: Stopping find
wlan5: P2P: Clear timeout (state=IDLE)
wlan5: P2P: State IDLE -> IDLE
wlan5: Removing interface wlan5
wpa_driver_nl80211_deauthenticate(addr=1c:7e:e5:c9:dd:56 reason_code=3)
wlan5: Event DEAUTH (12) received
wlan5: Deauthentication notification


-----------------

Any suggestions please. Thanks.


On 9/6/12 9:48 AM, "Shariq Haseeb" <shariq.haseeb at mimos.my> wrote:

>Thanks for the Update and suggestions. I have tested this on the following
>drivers:
>
># Our Wireless Card + Driver:
>1) Belkin, N1 Wireless Notebook Card - Driver(ath9k)
>2) D-Link, DWA-160 - Driver(carl9170)
>3) TP-Link, TL-WN822N - (carl9170)
>4) D-Link, DWP-AG660 - Driver(ath5k)
>
># Group Driver
>All atheros (ath5k, ath9k, carl9170)
>
># compat-wireless
>v3.5.1.1 (latest stable version)
>2012-09-03 (development version)
>
># Ubuntu
>kernel 2.6.38-8-generic-pae
>
>
>May I know what driver has the 802.11u module already been tested with. I
>would setup my testbed with that driver. Will also post the query on
>linux-wireless mailing list for help.
>
>Shariq
>


------------------------------------------------------------------
-
-
DISCLAIMER: 

This e-mail (including any attachments) is for the addressee(s) 
only and may contain confidential information. If you are not the 
intended recipient, please note that any dealing, review, 
distribution, printing, copying or use of this e-mail is strictly 
prohibited. If you have received this email in error, please notify 
the sender  immediately and delete the original message. 
MIMOS Berhad is a research and development institution under 
the purview of the Malaysian Ministry of Science, Technology and 
Innovation. Opinions, conclusions and other information in this e-
mail that do not relate to the official business of MIMOS Berhad 
and/or its subsidiaries shall be understood as neither given nor 
endorsed by MIMOS Berhad and/or its subsidiaries and neither 
MIMOS Berhad nor its subsidiaries accepts responsibility for the 
same. All liability arising from or in connection with computer 
viruses and/or corrupted e-mails is excluded to the fullest extent 
permitted by law.




More information about the HostAP mailing list