Re: ath0 associated, wlan0 not associated

2016-11-07 Thread Lars Engels
On Sat, Nov 05, 2016 at 01:00:56PM -0400, George Mitchell wrote:
> On 11/05/16 01:05, Adrian Chadd wrote:
> > nope, sorry.  There's a lot of work in the -11 wifi stack and drivers.
> > 
> > 
> > -a
> > 
> > [...]
> 
> Okay, I downloaded and installed 11.0-RELEASE on a spare slice, and
> dmesg tells me the following (with regard to ath0):
> 
> 
> ath0:  mem 0xf0a0-0xf0a7 irq 36 at
> device 0.0 on pci2
> ath0: WB335 2-ANT card detected
> ath0: Bluetooth Antenna Diversity card detected
> ath0: [HT] enabling HT modes
> ath0: [HT] enabling short-GI in 20MHz mode
> ath0: [HT] 1 stream STBC receive enabled
> ath0: [HT] 1 RX streams; 1 TX streams
> ath0: QCA9565 mac 704.1 RF5110 phy 2523.1
> ath0: 2GHz radio: 0x; 5GHz radio: 0x
> 
> But ifconfig tells me there is no "ath0" interface ... Does 11.0
> handle wifi in some unfamiliar manner?  -stable-unsubscr...@freebsd.org"

"sysctl net.wlan.devices" should show ath0


pgpx2bZIyeWe1.pgp
Description: PGP signature


Re: ath0 associated, wlan0 not associated

2016-11-05 Thread Kevin Oberman
On Sat, Nov 5, 2016 at 11:58 AM, George Mitchell 
wrote:

> On 11/05/16 13:00, George Mitchell wrote:
> > On 11/05/16 01:05, Adrian Chadd wrote:
> >> nope, sorry.  There's a lot of work in the -11 wifi stack and drivers.
> >>
> >>
> >> -a
> >>
> >> [...]
> >
> > Okay, I downloaded and installed 11.0-RELEASE on a spare slice, and
> > dmesg tells me the following (with regard to ath0):
> >
> >
> > ath0:  mem 0xf0a0-0xf0a7 irq 36 at
> > device 0.0 on pci2
> > ath0: WB335 2-ANT card detected
> > ath0: Bluetooth Antenna Diversity card detected
> > ath0: [HT] enabling HT modes
> > ath0: [HT] enabling short-GI in 20MHz mode
> > ath0: [HT] 1 stream STBC receive enabled
> > ath0: [HT] 1 RX streams; 1 TX streams
> > ath0: QCA9565 mac 704.1 RF5110 phy 2523.1
> > ath0: 2GHz radio: 0x; 5GHz radio: 0x
> >
> > But ifconfig tells me there is no "ath0" interface ... Does 11.0
> > handle wifi in some unfamiliar manner?  I put my usual wifi magic
> > into rc.conf:
> >
> > create_args_wlan0="country US"
> > ifconfig_wlan0="WPA DHCP"
> > wlans_ath0="wlan0"
> >
> > -- George
> >
> I forgot to copy my wpa_supplicant.conf over.  Now it works!  (I
> guess the invisible ath0 is just how 11.0 works?)  -- George


Yes, as you speculate, the 802.11 software had a major rework and only the
wlan interface is visible. It is due to this re-work that the changes to
the wireless drivers can't be reasonably back-ported to 10.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkober...@gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ath0 associated, wlan0 not associated

2016-11-05 Thread George Mitchell
On 11/05/16 13:00, George Mitchell wrote:
> On 11/05/16 01:05, Adrian Chadd wrote:
>> nope, sorry.  There's a lot of work in the -11 wifi stack and drivers.
>>
>>
>> -a
>>
>> [...]
> 
> Okay, I downloaded and installed 11.0-RELEASE on a spare slice, and
> dmesg tells me the following (with regard to ath0):
> 
> 
> ath0:  mem 0xf0a0-0xf0a7 irq 36 at
> device 0.0 on pci2
> ath0: WB335 2-ANT card detected
> ath0: Bluetooth Antenna Diversity card detected
> ath0: [HT] enabling HT modes
> ath0: [HT] enabling short-GI in 20MHz mode
> ath0: [HT] 1 stream STBC receive enabled
> ath0: [HT] 1 RX streams; 1 TX streams
> ath0: QCA9565 mac 704.1 RF5110 phy 2523.1
> ath0: 2GHz radio: 0x; 5GHz radio: 0x
> 
> But ifconfig tells me there is no "ath0" interface ... Does 11.0
> handle wifi in some unfamiliar manner?  I put my usual wifi magic
> into rc.conf:
> 
> create_args_wlan0="country US"
> ifconfig_wlan0="WPA DHCP"
> wlans_ath0="wlan0"
> 
> -- George
> 
I forgot to copy my wpa_supplicant.conf over.  Now it works!  (I
guess the invisible ath0 is just how 11.0 works?)  -- George
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ath0 associated, wlan0 not associated

2016-11-05 Thread George Mitchell
On 11/05/16 01:05, Adrian Chadd wrote:
> nope, sorry.  There's a lot of work in the -11 wifi stack and drivers.
> 
> 
> -a
> 
> [...]

Okay, I downloaded and installed 11.0-RELEASE on a spare slice, and
dmesg tells me the following (with regard to ath0):


ath0:  mem 0xf0a0-0xf0a7 irq 36 at
device 0.0 on pci2
ath0: WB335 2-ANT card detected
ath0: Bluetooth Antenna Diversity card detected
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 RX streams; 1 TX streams
ath0: QCA9565 mac 704.1 RF5110 phy 2523.1
ath0: 2GHz radio: 0x; 5GHz radio: 0x

But ifconfig tells me there is no "ath0" interface ... Does 11.0
handle wifi in some unfamiliar manner?  I put my usual wifi magic
into rc.conf:

create_args_wlan0="country US"
ifconfig_wlan0="WPA DHCP"
wlans_ath0="wlan0"

-- George
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ath0 associated, wlan0 not associated

2016-11-04 Thread Adrian Chadd
nope, sorry.  There's a lot of work in the -11 wifi stack and drivers.


-a


On 3 November 2016 at 16:04, George Mitchell <george+free...@m5p.com> wrote:
> Thanks for the suggestion.  I won't be able to try it until after a
> business trip next week.  Any patches available that apply to 10.3?
> -- George
>
> On 11/03/16 18:48, Adrian Chadd wrote:
>> hi,
>>
>> can you please try freebsd-11.0 ? I fixed a whole bunch of bugs in the
>> AR9380 HAL and it may have improved that device.
>>
>> Thanks!
>>
>>
>> -a
>>
>>
>> On 3 November 2016 at 07:09, George Mitchell <george+free...@m5p.com> wrote:
>>> 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 0xff00 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='yy' 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='yy' 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='yy' freq=2417 MHz
>>>
>>> etc.
>>>
>>> So how does ath0 get associated but not wlan0?   -- George
>>>
>>> ___
>>> freebsd-stable@freebsd.org mailing list
>>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>> ___
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
>>
>
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ath0 associated, wlan0 not associated

2016-11-03 Thread George Mitchell
Thanks for the suggestion.  I won't be able to try it until after a
business trip next week.  Any patches available that apply to 10.3?
-- George

On 11/03/16 18:48, Adrian Chadd wrote:
> hi,
> 
> can you please try freebsd-11.0 ? I fixed a whole bunch of bugs in the
> AR9380 HAL and it may have improved that device.
> 
> Thanks!
> 
> 
> -a
> 
> 
> On 3 November 2016 at 07:09, George Mitchell <george+free...@m5p.com> wrote:
>> 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 0xff00 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='yy' 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='yy' 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='yy' freq=2417 MHz
>>
>> etc.
>>
>> So how does ath0 get associated but not wlan0?   -- George
>>
>> ___
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: ath0 associated, wlan0 not associated

2016-11-03 Thread Adrian Chadd
hi,

can you please try freebsd-11.0 ? I fixed a whole bunch of bugs in the
AR9380 HAL and it may have improved that device.

Thanks!


-a


On 3 November 2016 at 07:09, George Mitchell <george+free...@m5p.com> wrote:
> 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 0xff00 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='yy' 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='yy' 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='yy' freq=2417 MHz
>
> etc.
>
> So how does ath0 get associated but not wlan0?   -- George
>
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


ath0 associated, wlan0 not associated

2016-11-03 Thread George Mitchell
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 0xff00 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='yy' 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='yy' 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='yyyyyy' freq=2417 MHz

etc.

So how does ath0 get associated but not wlan0?   -- George

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"