From owner-freebsd-wireless@freebsd.org Wed Nov 2 00:37:21 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F0ECC295C9 for ; Wed, 2 Nov 2016 00:37:21 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3668E1076 for ; Wed, 2 Nov 2016 00:37:20 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [10.100.0.31] (haymarket.m5p.com [10.100.0.31]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTP id uA20bC2d007431 for ; Tue, 1 Nov 2016 20:37:18 -0400 (EDT) (envelope-from george+freebsd@m5p.com) To: freebsd-wireless@freebsd.org From: George Mitchell Subject: ath0 associated, wlan0 not associated Reply-To: George Mitchell Message-ID: Date: Tue, 1 Nov 2016 20:37:12 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.4.3 (mailhost.m5p.com [10.100.0.247]); Tue, 01 Nov 2016 20:37:18 -0400 (EDT) X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Nov 2016 00:37:21 -0000 FreeBSD 10.3-RELEASE-p11 wpa_supplicant v2.0 Copyright (c) 2003-2012, Jouni Malinen and contributors ath0@pci0:2:0:0: class=0x028000 card=0x064211ad chip=0x0036168c rev=0x01 hdr=0x00 vendor = 'Qualcomm Atheros' device = 'QCA9565 / AR9565 Wireless Network Adapter' class = network grep wlan /etc/rc.conf: create_args_wlan0="country US" ifconfig_wlan0="WPA DHCP" wlans_ath0="wlan0" And the result is: ifconfig wlan0: wlan0: flags=8c43 metric 0 mtu 1500 ether d0:53:49:91:6f:a1 inet6 fe80::d253:49ff:fe91:6fa1%wlan0 prefixlen 64 scopeid 0x4 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 nd6 options=23 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid "" channel 2 (2417 MHz 11g ht/40+) regdomain FCC country US indoor ecm authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS ampdulimit 8k ampdudensity 8 shortgi wme burst roaming MANUAL ifconfig ath0: ath0: flags=8843 metric 0 mtu 2290 ether d0:53:49:91:6f:a1 nd6 options=21 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated grep wpa /var/log/messages: ov 1 09:16:54 haymarket wpa_supplicant[389]: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='yyyyyyyyyy' freq=2417 MHz) Nov 1 09:16:54 haymarket wpa_supplicant[389]: wlan0: Associated with 60:e3:27:7b:e8:42 Nov 1 09:16:54 haymarket wpa_supplicant[389]: wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=TKIP] Nov 1 09:16:54 haymarket wpa_supplicant[389]: wlan0: CTRL-EVENT-CONNECTED - Connection to xx:xx:xx:xx:xx:xx completed [id=1 id_str=] Nov 1 09:16:55 haymarket wpa_supplicant[389]: wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=TKIP] Nov 1 09:16:56 haymarket wpa_supplicant[389]: wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=TKIP] Nov 1 09:16:57 haymarket wpa_supplicant[389]: wlan0: WPA: Key negotiation completed with xx:xx:xx:xx:xx:xx [PTK=CCMP GTK=TKIP] Nov 1 09:16:57 haymarket wpa_supplicant[389]: wlan0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx reason=0 Nov 1 09:16:59 haymarket wpa_supplicant[389]: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='yyyyyyyyyy' freq=2417 MHz) Nov 1 09:17:09 haymarket wpa_supplicant[389]: wlan0: Authentication with xx:xx:xx:xx:xx:xx timed out. Nov 1 09:17:09 haymarket wpa_supplicant[389]: wlan0: CTRL-EVENT-DISCONNECTED bssid=xx:xx:xx:xx:xx:xx2 reason=3 locally_generated=1 Nov 1 09:18:13 haymarket wpa_supplicant[389]: wlan0: Trying to associate with xx:xx:xx:xx:xx:xx (SSID='yyyyyyyyyy' freq=2417 MHz etc. So how does ath0 get associated but not wlan0? (Please cc me on your reply as I am not subscribed.) -- George