From owner-freebsd-current@FreeBSD.ORG Sun Sep 6 19:43:22 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05CEE106566C for ; Sun, 6 Sep 2009 19:43:22 +0000 (UTC) (envelope-from ziggi@yandex.ru) Received: from forward15.yandex.ru (forward15.yandex.ru [95.108.130.119]) by mx1.freebsd.org (Postfix) with ESMTP id 8B8BB8FC17 for ; Sun, 6 Sep 2009 19:43:21 +0000 (UTC) Received: from smtp11.yandex.ru (smtp11.yandex.ru [95.108.130.67]) by forward15.yandex.ru (Yandex) with ESMTP id 99093C01FA for ; Sun, 6 Sep 2009 23:31:36 +0400 (MSD) Received: from eee.home (46-232-55-95.baltnet.ru [95.55.232.46]) by smtp11.yandex.ru (Yandex) with ESMTPA id 04B2D673007D for ; Sun, 6 Sep 2009 23:31:35 +0400 (MSD) Message-ID: <4AA40E17.5010906@yandex.ru> Date: Sun, 06 Sep 2009 22:31:35 +0300 From: Borodin Oleg User-Agent: Thunderbird 2.0.0.22 (X11/20090806) MIME-Version: 1.0 To: freebsd-current@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit X-Yandex-TimeMark: 1252265496 X-Yandex-Spam: 1 X-Yandex-Front: smtp11.yandex.ru Subject: wpa_supplicant not found AP without SSID in beacon packet X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Sep 2009 19:43:22 -0000 Hi! wpa_supplicant "not found" AP without SSID in beacon packets. With same device and configuration, but FreeBSD7.2 - work without problems. uname: FreeBSD flashbsd.home 8.0-BETA3 FreeBSD 8.0-BETA3 #4 r196775: Thu Sep 3 13:12:37 EEST 2009 ziggi@eee.home:/usr/obj/usr/src/sys/EEE04 i386 wireless device: ath0: mem 0xfbef0000-0xfbefffff irq 18 at device 0.0 on pci1 ath0@pci0:1:0:0: class=0x020000 card=0x10261a3b chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet Access point - Cisco 877w, IOS 12.4T8 ----------- Variant 1. SSID not send in beacon packets from Cisco access point - Cisco conf fragment : ! dot11 mbssid ! dot11 ssid WNET1 vlan 1 authentication open. authentication key-management wpa wpa-psk ascii 7 10682F4857474B2D2A ! dot11 ssid WNET2 vlan 2 authentication open. authentication key-management wpa wpa-psk ascii 7 15342D5D567A72020E ! dot11 ssid WNET3 vlan 3 authentication open. authentication key-management wpa wpa-psk ascii 7 0220220A595656076A ! Result FreeBSD8Beta3 wpa_suplicant & wlandebug: Starting AP scan (broadcast SSID) wlan0: ieee80211_ioctl_scanreq: flags 0x52 duration 0x7fffffff mindwell 0 maxdwe ll 0 nssid 0 wlan0: ieee80211_check_scan: active scan, append, nojoin, once wlan0: sta_pick_bss: no scan candidate wlan0: start_scan_locked: active scan, duration 2147483647 mindwell 0 maxdwell 0 , desired mode auto, append, nojoin, once wlan0: scan set 1g, 6g, 11g, 7g, 13g, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 12g, 14b dwel l min 20ms max 200ms wlan0: scan_task: chan 3g -> 1g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 1 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: received beacon from 00:23:5e:75:f7:c0 rssi 45 wlan0: [00:23:5e:75:f7:c0] discard unhandled information element, id 133, len 30 <-------- ???? wlan0: [00:23:5e:75:f7:c0] discard beacon frame, for off-channel 3 wlan0: received beacon from 00:23:5e:75:f7:c2 rssi 44 wlan0: [00:23:5e:75:f7:c2] discard unhandled information element, id 133, len 30 wlan0: [00:23:5e:75:f7:c0] discard beacon frame, for off-channel 3 wlan0: received beacon from 00:23:5e:75:f7:c2 rssi 46 wlan0: [00:23:5e:75:f7:c2] discard unhandled information element, id 133, len 30 wlan0: [00:23:5e:75:f7:c2] discard beacon frame, for off-channel 3 wlan0: scan_task: chan 1g -> 6g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 6 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: scan_task: chan 6g -> 11g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 11 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: scan_task: chan 11g -> 7g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 7 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: scan_task: chan 7g -> 13g [passive, dwell min 20ms max 200ms] EAPOL: disable timer tick wlan0: scan_task: chan 13g -> 2g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 2 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: received beacon from 00:23:5e:75:f7:c1 rssi 56 wlan0: [00:23:5e:75:f7:c1] discard unhandled information element, id 133, len 30 ... [00:23:5e:75:f7:c1] new beacon on chan 3 (bss chan 3) 0x00 rssi 55 [00:23:5e:75:f7:c1] caps 0x431 bintval 100 erp 0x100 wlan0: received beacon from 00:23:5e:75:f7:c2 rssi 53 wlan0: [00:23:5e:75:f7:c2] discard unhandled information element, id 133, len 30 [00:23:5e:75:f7:c2] new beacon on chan 3 (bss chan 3) 0x00 rssi 53 [00:23:5e:75:f7:c2] caps 0x431 bintval 100 erp 0x100 wlan0: scan_task: chan 3g -> 4g [active, dwell min 20ms max 200ms] wlan0: send probe req on channel 4 bssid ff:ff:ff:ff:ff:ff ssid "" wlan0: received beacon from 00:23:5e:75:f7:c2 rssi 52 wlan0: [00:23:5e:75:f7:c2] discard unhandled information element, id 133, len 30 ... Scan results: 3 CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 00:23:5e:75:f7:c1 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 1: 00:23:5e:75:f7:c2 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 2: 00:23:5e:75:f7:c0 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch Try to find non-WPA AP 0: 00:23:5e:75:f7:c1 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 1: 00:23:5e:75:f7:c2 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 2: 00:23:5e:75:f7:c0 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch No suitable AP found. <--------------------- Setting scan request: 5 sec 0 usec ---------------- 2 On _any_ SSID in beacon packet: dot11 ssid WNET1 vlan 1 authentication open authentication key-management wpa mbssid guest-mode <--------------------------- On SSID sending wpa-psk ascii 7 10682F4857474B2D2A ! dot11 ssid WNET2 vlan 2 authentication open authentication key-management wpa wpa-psk ascii 7 15342D5D567A72020E ! dot11 ssid WNET3 vlan 3 authentication open authentication key-management wpa wpa-psk ascii 7 0220220A595656076A ! Result wpa_supplicant: Received 0 bytes of scan results (3 BSSes) Scan results: 3 CTRL-EVENT-SCAN-RESULTS Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 00:23:5e:75:f7:c1 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 1: 00:23:5e:75:f7:c2 ssid='' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 skip - SSID mismatch 2: 00:23:5e:75:f7:c0 ssid='WNET1' wpa_ie_len=24 rsn_ie_len=0 caps=0x31 selected based on WPA IE selected WPA AP 00:23:5e:75:f7:c0 ssid='WNET1' <---------------------------------------- Trying to associate with 00:23:5e:75:f7:c0 (SSID='WNET1' freq=2422 MHz) Cancelling scan request /etc/wpa_upplicant.conf: # $Id$ ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=wheel #eapol_version=1 #ap_scan=1 fast_reauth=1 network={ ssid="WNET1" # scan_ssid=1 proto=RSN WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk=8c23bb58a1a94b3b56b90d8f7422a29b18f495b517f33fc6728ff2a3ad4aae1f } #EOF -- Best regards, Borodin Oleg Kaliningrad,Russia ziggi@inbox.ru