No association with WPA2 wireless lan sometimes (11.2)

Christian Barthel bch at online.de
Sat Feb 2 21:16:04 UTC 2019


Hello, 

I am using FreeBSD 11.2 on a Thinkpad X230 (dmesg attached).  I am using
a WPA2 wireless lan with iwn and wpa_supplicant.conf. This configuration
works very well - sometimes.  But at other times, I can't associate with
the access point and I don't understand the reason why it fails.

I've tested this with iwn0/wlan0 and attached a verbose log
(wpa.debug.iwn0.txt) while wpa_supplicant tried to authenticate.  I
don't know why the authentication timed out?  Other clients (Android,
Linux) are working.  Attached is also the "ifconfig wlan0 list scan"
listing.

To rule out a damaged iwn chip on the notebook, I tried the same with an
USB dongle (urtwn0) - but the result was the same.  It doesn't associate
and the authentication times out.  Attached is a verbose log of
wpa_supplicant.conf (wpa.debug.urtwn0.txt).  

As mentioned earlier, the Access Point works with other clients
(Android) and even the same configuration runs fine for hours on some
days.  The configuration of wpa_supplicant.debug.conf is attached.

Interestingly enough, when I am turning on the "Wifi Bridge" on an
Android phone, the WPA2 connection to the phone worked always.  On the
other hand, I've seen similar authentication failures on other APs
also.

Has anyone similar issues when using FreeBSD and wifi?

Am I missing something in my wpa_supplicant.conf? 

How can I resolve or debug this further?  Am I missing something in the
wpa_supplicant log? 

Thanks, 
-- 
Christian Barthel

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpa.debug.iwn0.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0005.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wpa.debug.urtwn0.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ifconfig.wlan0.list.scan.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0007.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ifconfig.urtwn0.list.scan.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0008.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wpa_supplicant.debug.conf
Type: application/octet-stream
Size: 222 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0002.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ifconfig.wlan0.txt
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0009.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg.boot
Type: application/octet-stream
Size: 13000 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-wireless/attachments/20190202/0b37761e/attachment-0003.obj>


More information about the freebsd-wireless mailing list