From owner-svn-src-all@freebsd.org Thu Jul 19 13:25:07 2018 Return-Path: Delivered-To: svn-src-all@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 1BBEF10359BF; Thu, 19 Jul 2018 13:25:07 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (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 A845A91375; Thu, 19 Jul 2018 13:25:06 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 41WZWN5jS8zDhb5; Thu, 19 Jul 2018 13:25:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=daemonic.se; h= content-transfer-encoding:content-language:content-type :content-type:in-reply-to:mime-version:user-agent:date:date :message-id:from:from:references:subject:subject:received :received; s=20151023; t=1532006704; bh=YHGypqYcKebRTYJfsLFUrzxX lgo/S5zdw6M6gbQ0rQs=; b=WjTT7HkZMKLOBu8Gg7n4ZcgzlmBrSyk6AFA+NalH Qg4w9uLVlsk1386aMlYgzV72tL8E8iJ3ErYwFEYrAnRo+herVcvfOnne4MMgJ4cI 3Sjkt8LmuuxAOo6osexf6+akLFN0+BNu+aB0dleKIidGaLYSbcpE0y62YuFJspLV KT4= X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id iaRW9bDffdg1; Thu, 19 Jul 2018 13:25:04 +0000 (UTC) Received: from garnet.daemonic.se (host-90-233-177-252.mobileonline.telia.com [90.233.177.252]) by mail.daemonic.se (Postfix) with ESMTPSA id 41WZWM5NK8zDhFd; Thu, 19 Jul 2018 13:25:03 +0000 (UTC) Subject: Re: svn commit: r336203 - in head: contrib/wpa contrib/wpa/hostapd contrib/wpa/hs20/client contrib/wpa/patches contrib/wpa/src/ap contrib/wpa/src/common contrib/wpa/src/crypto contrib/wpa/src/drivers c... To: Cy Schubert Cc: Kyle Evans , Alexey Dokuchaev , svn-src-head@freebsd.org, svn-src-all@freebsd.org, "Andrey V. Elsukov" , src-committers , Cy Schubert References: <201807191320.w6JDK2hD033732@slippy.cwsent.com> From: Niclas Zeising Message-ID: Date: Thu, 19 Jul 2018 15:25:02 +0200 User-Agent: Mutt/1.5.21 MIME-Version: 1.0 In-Reply-To: <201807191320.w6JDK2hD033732@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2018 13:25:07 -0000 On 07/19/18 15:20, Cy Schubert wrote: > In message <2f0ab2c2-b7cc-3dae-2d65-ea3c4a9515cb@daemonic.se>, Niclas > Zeising w > rites: >> [ sending this again since I missed the list the first time, apologies >> if anyone receives a duplicate ] >> >> On 07/19/18 13:57, Kyle Evans wrote: >>> On Thu, Jul 19, 2018 at 4:51 AM, Alexey Dokuchaev wrote >> : >>>> On Thu, Jul 19, 2018 at 11:48:03AM +0300, Andrey V. Elsukov wrote: >>>>> ... >>>>> Yesterday I updated my notebook (with iwm(4)) and also noticed that >>>>> wi-fi connection periodically breaks. /etc/rc.d/wpa_supplicant restart >>>>> wlan0 helps. After your message I reinstalled wpa_supplicant from old >>>>> source and now it works stable already about 2 hours. >>>> >>>> So, right now, we have broken wpa_supplicant(8) in -CURRENT? :-/ >>> >>> Well, "broken". It's incredibly stable outside of rekeying events, and >>> further testing shows that I don't actually notice these disconnects >>> most of the time because it reassociates fast enough. I noticed it the >>> first time because apparently I had both SSIDs from my AP uncommented >>> in my wpa_supplicant.conf and it decided at that point to connect to >>> the other one, which took a little longer. >>> >>> Contrary to Andrey's report, though, I don't have to kick >>> wpa_supplicant at all. It will reassociate on its own every single >>> time. >> >> >> Hi! >> I have the exact same problem as Andrey, with the same driver. I've not >> investigated very much, but when using the 2.8 wpa_supplicant the wifi >> network dies after a little while, and I have to restart it (usually >> with /etc/rc.d/netif restart). Then it works for a little while, before >> going down again. With the old wpa_supplicant I didn't have this problem. >> >> I don't have very much else to add except noting that I'm affected as >> well. I haven't had time to debug it properly (which is why I've never >> reported it) > > Do these events happen at regular intervals as Kyle experienced or > randomly? > > What sort of key_mgmt do you connect with to your AP? Could it be > WPA-EAP? > > I do not know if it is random or not, I haven't timed it. It usually happens quite soon after a reboot. All nets I've tested have been WPA2 PSK. I've had the difference connecting to at least two different hotspots, once dual band 2.4/5GHz (although the NIC used 2.4GHz) and one with only 5 GHz. Regards -- Niclas