Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Nov 2016 10:09:01 -0400
From:      George Mitchell <george+freebsd@m5p.com>
To:        FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   ath0 associated, wlan0 not associated
Message-ID:  <3e831eea-2035-b658-3bae-784f2aa60eca@m5p.com>

next in thread | raw e-mail | index | archive | help
Originally posted to freebsd-wireless; no solution yet so I thought
I'd try here.  After booting up, my ath0 interface says it is
associated, but my wlan0 says it is not:


FreeBSD 10.3-RELEASE-p11
wpa_supplicant v2.0
Copyright (c) 2003-2012, Jouni Malinen <j@w1.fi> 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<UP,BROADCAST,RUNNING,OACTIVE,SIMPLEX,MULTICAST> 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<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>
        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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether d0:53:49:91:6f:a1
        nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
        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?       -- George




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3e831eea-2035-b658-3bae-784f2aa60eca>