From owner-freebsd-wireless@freebsd.org Thu Feb 14 06:54:46 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD07D14EBCC1 for ; Thu, 14 Feb 2019 06:54:45 +0000 (UTC) (envelope-from bch@online.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A445891D81 for ; Thu, 14 Feb 2019 06:54:44 +0000 (UTC) (envelope-from bch@online.de) Received: from online.de ([87.150.247.247]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MSLEm-1gW5YA0LCi-00Sj9D for ; Thu, 14 Feb 2019 07:54:42 +0100 Received: from x230.onfire.org (localhost [127.0.0.1]) by online.de (Postfix) with ESMTP id 19B7B62025 for ; Thu, 14 Feb 2019 07:54:39 +0100 (CET) From: Christian Barthel To: freebsd-wireless@freebsd.org Subject: Re: No association with WPA2 wireless lan sometimes (11.2) References: <877eehriwm.fsf@x230.onfire.org> Date: Thu, 14 Feb 2019 07:54:39 +0100 In-Reply-To: <877eehriwm.fsf@x230.onfire.org> (Christian Barthel's message of "Sat, 02 Feb 2019 22:15:53 +0100") Message-ID: <875ztmn9lc.fsf@x230.onfire.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:fauifGToEaCCqfbEDZYv0oZhrlbkhXitLNbcx45wCV66TKcQbH6 CKdD/zJElDPiHiM81Jim1lU2flcH7EMmEgEvvaZQ7rGhrq7S+drzIm5kKIIAshdbWj6MH8W 9jo4kqPOOu0wqn+WFXvh6N6rJoU1mVxLMCoe+0A/tv/qqnR0a32+dFTh3SLvx3QolJTJNlz +TPOwSEnPKcXkAaEgjpLg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:mU9F8xvXg8Y=:VVP7wupwoMKKIxjfLMQyv6 WBJGvcK18C+iZz/TXjgtGFuTRyUEIPVBjhBvUR2dMUbrC7YdC2Ji8+HGgejwsJK3mQ2wbpBps kVvbRPF1yrgH5/mucXoCCcE7Dit3lgLxY7tuvNZgnGJIKJ0EnIdg17RaiLn4xLtk3g1+BIAYH dq0lGtaQjnandFrJ2SovKwuLgS1AIVEP7/ymk18NMOUuQQ7vpxnv4v9eqahyOW50Td3ZJOSBe qzWGm63d0MbOaEPomxGG81K/1Z9wmc2ET+pGgLhoUW5CbXDqXcOKzEwC1g+A4RMuI94hTJpt0 D5PLCVq7bzHTWZOxqHzGmWTZ5TzdhOZUP6PdLDbH65PkbDsqKYy89Hqc4+P2aluJCrD/L5qcZ IVHjkxZJwncUgBkl3nxAVoKYgUqZFt+xCUoB26U+RtJzNGCuhzHxkOAdnOlJtesqoMw5B+8u/ r2tQ3z80g2TxHpmh8xl6sCfWGiC1sM56LYV8jutfYM0CYML/rfxduP3BKicZMJQY6YZjUuwq6 hI5lF8hFhhmU6PSv7irdhtJry6ELVKfdL52/Inoh8WSIuqdnMBgR3tr4t7PTp1YOtRaq+afoe 1viRDb9Q9UupeDr0BGtnKfOR91jkob1+tgD22u8cTnF1k5Bm7TEVwU1YtQNGSPsD4bDdJsVQ/ 7Sbie5kZBvIKrGpWSFLo6ELOIAOfCbdiMPPjbyXiyj4AlJlRcIMjZ0JoE8c6H2NZcrpcvzXtk hKt6GQmDTAwDRXZin8FRAbn2sg4fSDrcNOui/4leSBzcCB1zZ+f3Are76EE= X-Rspamd-Queue-Id: A445891D81 X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [4.30 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[131.126.227.212.rep.mailspike.net : 127.0.0.17]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.96)[0.959,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-wireless@freebsd.org]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[online.de]; MX_GOOD(-0.01)[mx00.emig.kundenserver.de,mx01.emig.kundenserver.de]; NEURAL_SPAM_LONG(0.97)[0.970,0]; RCVD_IN_DNSWL_NONE(0.00)[131.126.227.212.list.dnswl.org : 127.0.5.0]; NEURAL_SPAM_MEDIUM(0.97)[0.972,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(0.51)[ip: (1.35), ipnet: 212.227.0.0/16(-0.77), asn: 8560(1.95), country: DE(-0.01)]; RECEIVED_SPAMHAUS_PBL(0.00)[247.247.150.87.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.29 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: Thu, 14 Feb 2019 06:54:46 -0000 Christian Barthel writes: > 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 follow-up for other readers: I've set the bssid= option in wpa_supplicant.conf to forcibly connect to the 5GHz wireless lan. This works much better and it turns out that other devices automatically switched to the 5GHz band. I thought that leaving out the bssid option would also switch automatically but that did not work so well. I am still wondering why the 2.4GHz band is not working anymore but I don't have access to the AP itself (it looks like there are no interfering APs except this one; but perhaps, something else is causing it trouble). -- Christian Barthel