Date: Thu, 11 Feb 2010 07:12:13 GMT From: Dmitry Afanasiev <KOT@MATPOCKuH.Ru> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/143788: wpa_supplicant can't set privacy on iwi interface Message-ID: <201002110712.o1B7CDZf075223@www.freebsd.org> Resent-Message-ID: <201002110720.o1B7K1iW008128@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143788 >Category: kern >Synopsis: wpa_supplicant can't set privacy on iwi interface >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 11 07:20:00 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dmitry Afanasiev >Release: FreeBSD 9.0-CURRENT i386 >Organization: >Environment: FreeBSD kot 9.0-CURRENT FreeBSD 9.0-CURRENT #40: Wed Feb 10 01:36:25 MSK 2010 root@kot:/usr/obj/usr/src/sys/kot i386 >Description: I'm trying to associate with university WiFi network and have a problem with wpa_supplicant: # wpa_supplicant -ddi wlan0 -c /etc/wpa_ifmo.conf .. wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op 21, len 42]: No such file or directory Association request to the driver failed .. >How-To-Repeat: # cat /etc/wpa_ifmo.conf ap_scan=2 eapol_version=1 network={ ssid="etherless" key_mgmt=IEEE8021X eap=PEAP phase2="auth=MSCHAPV2" identity="****" password="****" ca_cert="/etc/ssl/ifmo_root.der" } # ifconfig wlan0 create wlandev iwi0 ssid etherless # wpa_supplicant -ddi wlan0 -c /etc/wpa_ifmo.conf Initializing interface 'wlan0' conf '/etc/wpa_ifmo.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_ifmo.conf' -> '/etc/wpa_ifmo.conf' Reading configuration file '/etc/wpa_ifmo.conf' ap_scan=2 eapol_version=1 Line: 4 - start of a new network block ssid - hexdump_ascii(len=9): 65 74 68 65 72 6c 65 73 73 etherless key_mgmt: 0x8 eap methods - hexdump(len=16): 00 00 00 00 19 00 00 00 00 00 00 00 00 00 00 00 phase2 - hexdump_ascii(len=13): 61 75 74 68 3d 4d 53 43 48 41 50 56 32 auth=MSCHAPV2 identity - hexdump_ascii(len=10): 61 66 61 6e 61 73 69 65 76 32 afanasiev2 password - hexdump_ascii(len=12): [REMOVED] ca_cert - hexdump_ascii(len=22): 2f 65 74 63 2f 73 73 6c 2f 69 66 6d 6f 5f 72 6f /etc/ssl/ifmo_ro 6f 74 2e 64 65 72 ot.der Priority group 0 id=0 ssid='etherless' Initializing interface (2) 'wlan0' Own MAC address: 00:12:f0:3b:56:28 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 wlan0 State: DISCONNECTED -> SCANNING Trying to associate with SSID 'etherless' Cancelling scan request WPA: clearing own WPA/RSN IE Automatic auth_alg selection: 0x1 wpa_driver_bsd_set_auth_alg alg 0x1 authmode 1 WPA: clearing AP WPA IE WPA: clearing AP RSN IE WPA: clearing own WPA/RSN IE No keys have been configured - skip key clearing wpa_driver_bsd_set_drop_unencrypted: enabled=1 State: SCANNING -> ASSOCIATING wpa_driver_bsd_associate: ssid 'etherless' wpa ie len 0 pairwise 4 group 4 key mgmt 3 wpa_driver_bsd_associate: set PRIVACY 1 ioctl[SIOCS80211, op 21, len 42]: No such file or directory 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 EAPOL: disable timer tick >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002110712.o1B7CDZf075223>