Hi! Now I get on the router: wlan0: STA f0:de:f1:c9:14:4d WPA: EAPOL-Key timeout WPA: f0:de:f1:c9:14:4d WPA_PTK entering state PTKSTART wlan0: STA f0:de:f1:c9:14:4d WPA: sending 1/4 msg of 4-Way Handshake
and on the client: wlan0: Selecting BSS from priority group 0 wlan0: 0: 04:f0:21:01:3d:87 ssid='web' wpa_ie_len=0 rsn_ie_len=20 caps=0x31 level=-65 wlan0: selected based on RSN IE wlan0: selected BSS 04:f0:21:01:3d:87 ssid='web' wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87 bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_state: SCANNING wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID='web' freq=2412 MHz) FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): wlan0: Cancelling scan request wlan0: WPA: clearing own WPA/RSN IE wlan0: Automatic auth_alg selection: 0x1 RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 RSN: Search for BSSID 04:f0:21:01:3d:87 RSN: No PMKSA cache entry found wlan0: RSN: using IEEE 802.11i/D9.0 wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 wlan0: WPA: clearing AP WPA IE WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: WPA: using GTK CCMP wlan0: WPA: using PTK CCMP wlan0: WPA: using KEY_MGMT WPA-PSK WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00 wlan0: No keys have been configured - skip key clearing wlan0: State: SCANNING -> ASSOCIATING Limit connection to BSSID 04:f0:21:01:3d:87 freq=2412 MHz based on scan results (bssid_set=0) wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 key mgmt 1 wpa_driver_bsd_set_drop_unencrypted: enabled=1 bsd_set_opt_ie: set WPA+RSN ie (len 22) wpa_driver_bsd_associate: set PRIVACY 1 wlan0: Setting authentication timeout: 10 sec 0 usec EAPOL: External notification - EAP success=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - EAP fail=0 EAPOL: Supplicant port status: Unauthorized EAPOL: External notification - portControl=Auto EAPOL: Supplicant port status: Unauthorized RSN: Ignored PMKID candidate without preauth flag wlan0: Event ASSOC (0) received wlan0: State: ASSOCIATING -> ASSOCIATED On 08 Jan 2014, at 00:00, Adrian Chadd <[email protected]> wrote: > hi, > > please retry with the only network block entries being: > > ssid= > psk= > > .. and let wpa_supplicant figure it out. > > > -a > > > On 7 January 2014 13:07, Peter Ankerstål <[email protected]> wrote: >> Hi! >> >> Im trying to connect from a Lenovo X220 to my FreeBSD router running >> hostapd. The router is supporting >> a lot of other clients (OS X and iOS) without any problems. And my laptop >> can connect to my phone when >> I set it up as a hotspot. >> >> Lenovo X220: >> FreeBSD lenny 10.0-RC2 FreeBSD 10.0-RC2 #0 r259404: Sun Dec 15 08:18:20 UTC >> 2013 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64 >> >> iwn0@pci0:3:0:0: class=0x028000 card=0x13118086 chip=0x00858086 >> rev=0x34 hdr=0x00 >> vendor = 'Intel Corporation' >> device = 'Centrino Advanced-N 6205 [Taylor Peak]' >> class = network >> >> # cat /etc/wpa_supplicant.conf >> ctrl_interface=/var/run/wpa_supplicant >> eapol_version=2 >> ap_scan=1 >> fast_reauth=1 >> >> network={ >> priority=100 >> proto=RSN WPA >> ssid="web" >> key_mgmt=WPA-PSK >> pairwise=CCMP TKIP >> group=CCMP TKIP >> psk=“secret” >> } >> >> Router: >> FreeBSD gw 10.0-RC1 FreeBSD 10.0-RC1 #3 r259258: Thu Dec 12 16:21:37 CET >> 2013 root@gw:/usr/obj/usr/src/sys/SOEKRIS i386 >> >> ath0@pci0:7:0:0: class=0x028000 card=0x3114168c chip=0x0030168c >> rev=0x01 hdr=0x00 >> vendor = 'Atheros Communications Inc.' >> device = 'AR9300 Wireless LAN adaptor' >> class = network >> >> # cat /etc/hostapd.conf >> interface=wlan0 >> driver=bsd >> debug=0 >> ctrl_interface=/var/run/hostapd >> ctrl_interface_group=wheel >> ssid=web >> wpa=2 >> wpa_passphrase=secret >> wpa_key_mgmt=WPA-PSK >> wpa_pairwise=CCMP TKIP >> rsn_pairwise=CCMP >> >> >> debug output from wpa_supplicant. >> # wpa_supplicant -D bsd -i wlan0 -d -c /etc/wpa_supplicant.conf >> wpa_supplicant v2.0 >> Successfully initialized wpa_supplicant >> Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'bsd' >> ctrl_interface 'N/A' bridge 'N/A' >> Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' >> Reading configuration file '/etc/wpa_supplicant.conf' >> ctrl_interface='/var/run/wpa_supplicant' >> eapol_version=2 >> ap_scan=1 >> fast_reauth=1 >> Priority group 100 >> id=0 ssid='web' >> wpa_driver_bsd_capa: drivercaps=0x2581e201,cryptocaps=0x00000000 >> wlan0: Own MAC address: f0:de:f1:c9:14:4d >> bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=0 >> bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=1 >> bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=2 >> bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=3 >> wpa_driver_bsd_set_countermeasures: enabled=0 >> wlan0: RSN: flushing PMKID list in the driver >> wlan0: Setting scan request: 0 sec 100000 usec >> WPS: Set UUID for interface wlan0 >> WPS: UUID based on MAC address - hexdump(len=16): f4 2a e7 3f ed 75 52 b7 99 >> 15 e0 56 b1 07 04 4f >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: KEY_RX entering state NO_KEY_RECEIVE >> EAPOL: SUPP_BE entering state INITIALIZE >> EAP: EAP entering state DISABLED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Added interface wlan0 >> wlan0: State: DISCONNECTED -> DISCONNECTED >> wlan0: State: DISCONNECTED -> SCANNING >> wlan0: Starting AP scan for wildcard SSID >> wpa_driver_bsd_set_wpa: enabled=1 >> wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 >> EAPOL: disable timer tick >> EAPOL: Supplicant port status: Unauthorized >> wlan0: Event SCAN_RESULTS (3) received >> Received 2508 bytes of scan results (9 BSSes) >> wlan0: BSS: Start scan result update 1 >> wlan0: BSS: Add new id 0 BSSID 04:f0:21:01:3d:87 SSID 'web' >> wlan0: BSS: Add new id 1 BSSID 8a:08:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 2 BSSID 88:1f:a1:36:93:08 SSID 'Gotland' >> wlan0: BSS: Add new id 3 BSSID 8a:09:93:36:a1:10 SSID 'Mavar' >> wlan0: BSS: Add new id 4 BSSID 88:1f:a1:36:93:09 SSID 'Gotland++' >> wlan0: BSS: Add new id 5 BSSID 58:98:35:ba:2c:17 SSID 'Katyusha' >> wlan0: BSS: Add new id 6 BSSID 58:98:35:be:ef:9f SSID >> 'TeliaGateway58-98-35-BE-EF-9F' >> wlan0: BSS: Add new id 7 BSSID cc:b2:55:94:23:e8 SSID 'P-sons' >> wlan0: BSS: Add new id 8 BSSID a0:21:b7:b4:55:d8 SSID 'Bonnier' >> BSS: last_scan_res_used=9/32 last_scan_full=0 >> wlan0: New scan results available >> WPS: AP cc:b2:55:94:23:e8 type 0 added >> WPS: AP a0:21:b7:b4:55:d8 type 0 added >> WPS: AP[0] cc:b2:55:94:23:e8 type=0 tries=0 last_attempt=-1 sec ago >> blacklist=0 >> WPS: AP[1] a0:21:b7:b4:55:d8 type=0 tries=0 last_attempt=-1 sec ago >> blacklist=0 >> wlan0: Selecting BSS from priority group 100 >> wlan0: 0: 04:f0:21:01:3d:87 ssid='web' wpa_ie_len=0 rsn_ie_len=20 caps=0x11 >> level=-67 >> wlan0: selected based on RSN IE >> wlan0: selected BSS 04:f0:21:01:3d:87 ssid='web' >> wlan0: Request association: reassociate: 0 selected: 04:f0:21:01:3d:87 >> bssid: 00:00:00:00:00:00 pending: 00:00:00:00:00:00 wpa_ >> state: SCANNING >> wlan0: Trying to associate with 04:f0:21:01:3d:87 (SSID='web' freq=5280 MHz) >> FT: Stored MDIE and FTIE from (Re)Association Response - hexdump(len=0): >> wlan0: Cancelling scan request >> wlan0: WPA: clearing own WPA/RSN IE >> wlan0: Automatic auth_alg selection: 0x1 >> RSN: PMKSA cache search - network_ctx=0x0 try_opportunistic=0 >> RSN: Search for BSSID 04:f0:21:01:3d:87 >> RSN: No PMKSA cache entry found >> wlan0: RSN: using IEEE 802.11i/D9.0 >> wlan0: WPA: Selected cipher suites: group 16 pairwise 16 key_mgmt 2 proto 2 >> wlan0: WPA: clearing AP WPA IE >> WPA: set AP RSN IE - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 00 0f ac >> 04 01 00 00 0f ac 02 0c 00 >> wlan0: WPA: using GTK CCMP >> wlan0: WPA: using PTK CCMP >> wlan0: WPA: using KEY_MGMT WPA-PSK >> WPA: Set own WPA IE default - hexdump(len=22): 30 14 01 00 00 0f ac 04 01 00 >> 00 0f ac 04 01 00 00 0f ac 02 00 00 >> wlan0: No keys have been configured - skip key clearing >> wlan0: State: SCANNING -> ASSOCIATING >> Limit connection to BSSID 04:f0:21:01:3d:87 freq=5280 MHz based on scan >> results (bssid_set=0) >> wpa_driver_bsd_associate: ssid 'web' wpa ie len 22 pairwise 3 group 3 key >> mgmt 1 >> wpa_driver_bsd_set_drop_unencrypted: enabled=1 >> bsd_set_opt_ie: set WPA+RSN ie (len 22) >> wpa_driver_bsd_associate: set PRIVACY 1 >> wlan0: Setting authentication timeout: 10 sec 0 usec >> EAPOL: External notification - EAP success=0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP fail=0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portControl=Auto >> EAPOL: Supplicant port status: Unauthorized >> RSN: Ignored PMKID candidate without preauth flag >> wlan0: Event ASSOC (0) received >> wlan0: State: ASSOCIATING -> ASSOCIATED >> wlan0: Associated to a new BSS: BSSID=04:f0:21:01:3d:87 >> wlan0: No keys have been configured - skip key clearing >> wlan0: Associated with 04:f0:21:01:3d:87 >> wlan0: WPA: Association event - clear replay counter >> wlan0: 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 - EAP success=0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portEnabled=1 >> EAPOL: SUPP_PAE entering state CONNECTING >> EAPOL: enable timer tick >> EAPOL: SUPP_BE entering state IDLE >> wlan0: Setting authentication timeout: 10 sec 0 usec >> wlan0: Cancelling scan request >> 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) >> wlan0: Event DISASSOC (1) received >> wlan0: Disassociation notification >> wlan0: CTRL-EVENT-DISCONNECTED bssid=04:f0:21:01:3d:87 reason=0 >> wlan0: Auto connect enabled: try to reconnect (wps=0 wpa_state=6) >> wlan0: Setting scan request: 0 sec 100000 usec >> Added BSSID 04:f0:21:01:3d:87 into blacklist >> wlan0: Blacklist count 1 --> request scan in 100 ms >> wlan0: Setting scan request: 0 sec 100000 usec >> wlan0: Disconnect event - remove keys >> bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=0 >> bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=1 >> bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=2 >> bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: key_idx=3 >> bsd_set_key: alg=0 addr=0x801c2f4c8 key_idx=0 set_tx=0 seq_len=0 key_len=0 >> bsd_del_key: addr=04:f0:21:01:3d:87 >> wlan0: State: ASSOCIATED -> DISCONNECTED >> EAPOL: External notification - portEnabled=0 >> EAPOL: SUPP_PAE entering state DISCONNECTED >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: SUPP_BE entering state INITIALIZE >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - portValid=0 >> EAPOL: Supplicant port status: Unauthorized >> EAPOL: External notification - EAP success=0 >> EAPOL: Supplicant port status: Unauthorized >> wlan0: State: DISCONNECTED -> SCANNING >> >> >> _______________________________________________ >> [email protected] mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "[email protected]" > _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "[email protected]"
