From owner-freebsd-wireless@freebsd.org Sun Sep 15 05:17:36 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9A3A0E0DB6 for ; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46WHgh3gpLz405q for ; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7E3ADE0DB5; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7E026E0DB4 for ; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46WHgh2rRgz405p for ; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 44F92344D for ; Sun, 15 Sep 2019 05:17:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8F5Ha2B099816 for ; Sun, 15 Sep 2019 05:17:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8F5HaB0099814 for wireless@FreeBSD.org; Sun, 15 Sep 2019 05:17:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 213528] New handbook section: 30.3. Wireless Networking / Well Supported Wireless Devices Date: Sun, 15 Sep 2019 05:17:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Documentation X-Bugzilla-Version: Latest X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: martin@waschbuesch.de X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Sun, 15 Sep 2019 05:17:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213528 Martin Waschb=C3=BCsch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin@waschbuesch.de --- Comment #8 from Martin Waschb=C3=BCsch --- (In reply to Vitalio from comment #6) Indeed! https://tools.ietf.org/html/rfc2549 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-wireless@freebsd.org Sun Sep 15 21:00:04 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8FA36F72F9 for ; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46Whb82w01z3D9R for ; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 629DFF72F8; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 62615F72F7 for ; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Whb81zlhz3D9M for ; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 28CD6DDB7 for ; Sun, 15 Sep 2019 21:00:04 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8FL04tO054172 for ; Sun, 15 Sep 2019 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8FL04Fj054171 for wireless@FreeBSD.org; Sun, 15 Sep 2019 21:00:04 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201909152100.x8FL04Fj054171@kenobi.freebsd.org> X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@FreeBSD.org using -f From: bugzilla-noreply@FreeBSD.org To: wireless@FreeBSD.org Subject: Problem reports for wireless@FreeBSD.org that need special attention Date: Sun, 15 Sep 2019 21:00:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Sun, 15 Sep 2019 21:00:04 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 237921 | wpi: Memory leak in function wpi_free_tx_ring of Open | 154598 | [ath] Atheros 5424/2424 can't connect to WPA netw Open | 236918 | Crash: in iwn_ampdu_tx_stop (or ieee80211_ht_node Open | 238636 | ath: Fix kernel addresses printed in if_ath_sysct 4 problems total for which you should take action. From owner-freebsd-wireless@freebsd.org Thu Sep 19 12:44:17 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C01B7122294; Thu, 19 Sep 2019 12:44:17 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:13b:39f::9f:25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46YxPD6Pybz3C1Q; Thu, 19 Sep 2019 12:44:16 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 166E88D4A157; Thu, 19 Sep 2019 12:38:41 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 81EC7C24B96; Thu, 19 Sep 2019 12:38:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id BzdmCNNerqUF; Thu, 19 Sep 2019 12:38:38 +0000 (UTC) Received: from [192.168.2.110] (unknown [IPv6:fde9:577b:c1a9:31:5caf:95d2:ddd1:d63e]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id D95E3C24A04; Thu, 19 Sep 2019 12:38:37 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Tom Jones" , freebsd-wireless@freebsd.org Cc: "Poul-Henning Kamp" , "Johannes Lundberg" , "FreeBSD Current" Subject: Re: wlan can't discover known networks after relocating Date: Thu, 19 Sep 2019 12:38:36 +0000 Reply-To: freebsd-wireless@freebsd.org X-Mailer: MailMate (2.0BETAr6137) Message-ID: In-Reply-To: <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Rspamd-Queue-Id: 46YxPD6Pybz3C1Q X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 2a01:4f8:13b:39f::9f:25 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-4.73 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[freebsd-wireless@freebsd.org]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:39f::9f:25]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; IP_SCORE(-2.43)[ip: (-8.33), ipnet: 2a01:4f8::/29(-2.02), asn: 24940(-1.79), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[] 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, 19 Sep 2019 12:44:17 -0000 On 19 Sep 2019, at 12:28, Tom Jones wrote: Hi, freebsd-wireless might be a better list for all this .. > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp wrote: >> -------- >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, >> Johannes Lundber >> g writes: >> >>> For a long time now I have had this problem with iwm and wlan0. >>> Whenever >>> I move between work and home it won't reconnect automatically and I >>> have >>> to do wlan0 scan manually for it to pick up the different network. >> >> I suffer from the dreaded "reason=0" when I move inside my house: >> >> > scan >> OK >> <3>CTRL-EVENT-SCAN-RESULTS >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 (SSID='Palombia' >> freq=2452 MHz) >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason=0 >> <3>CTRL-EVENT-SCAN-RESULTS >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 (SSID='Palombia' >> freq=2412 MHz) >> <3>Associated with 6c:3b:6b:ab:ce:d4 >> >> a2:e9 is the loudest AP here in my office, but my I have been in the >> other end of the house iwn consistently fails to associate with it >> and >> and keeps picking the weaker AP in the far end. >> >> Eventually (hours!) it disconnects from the weaker ap, also with >> "reason=0" and gets it right: >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 [GTK=CCMP] >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason=0 >> <3>CTRL-EVENT-SCAN-RESULTS >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 (SSID='Palombia' >> freq=2452 MHz) >> <3>Associated with 6c:3b:6b:3d:a2:e9 >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 [PTK=CCMP >> GTK=CCMP] >> <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 completed >> [id=3 id_str=] >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 [GTK=CCMP] >> >> And yes, working roaming would be nice too... > > I have the problem that when roaming networks become disabled > > $ wpa_cli > Selected interface 'wlan0' > > Interactive mode > > > list_networks > network id / ssid / bssid / flags > 0 network1 any [CURRENT] > 1 network2 any [DISABLED] > 2 network3 any [DISABLED] > 3 network4 any [DISABLED] > 4 network5 any [DISABLED] > Selected interface 'wlan0' > > > I address this by doing network_enable x in wpa_cli and it all comes > back. I asked Adrian about this in the past, but it needs some > debugging > to pin down. Is this iwm(4) as well in your case or another card? /bz From owner-freebsd-wireless@freebsd.org Thu Sep 19 15:20:22 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B0AB012638B; Thu, 19 Sep 2019 15:20:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yw1-xc2c.google.com (mail-yw1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Z0sL4FGCz3NF7; Thu, 19 Sep 2019 15:20:22 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yw1-xc2c.google.com with SMTP id i207so1349750ywc.9; Thu, 19 Sep 2019 08:20:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b4Gg2r8nIvlJweC8jmNIDMlju1VzEbEn1U1gMInOowY=; b=MHiaH1jueYI65apHvR5Y3VcM+lMfulIN9S0zRZMzY0B2kGhM/+W5IdpBrZZjH5Pghz zzGJ66/7m5XG+ZyFnfQU1ocS8mF6z8ots0XRUQBuA0Crla0wRWJ9RfDA7gqfQpGf1CVx axDHoGISj2gYKzQ4oqdsPTr/9SX2ain3Lv7a5TOrF9rSvQjsZebWR6cAD+aUp+Kv/M/d 2jiLXLj/7IFhFl2b3J6n45s0y7gQJWXXI0rU2EQB1QT5uO5hRPb5dK2J+Y2fuhQlGSgk kJ1A2THhI6Pk9CO2RIajh7pRKrbrqUpdnnAaBgafvRSc3/x6uaMHpMTe9eXHSQy1wb8u dg2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b4Gg2r8nIvlJweC8jmNIDMlju1VzEbEn1U1gMInOowY=; b=AMZQMcRtWY1KQOjBs4SsPECAd2Y9KHHh6qZUcr+APJDcSILKj2P3udCStcyvvlL/eX J9f2wcFQBG1aoxIcFfP6P8+j7jT12exqgGiDr7EkPXQULc6qO+7SHYb9+gwLKt9stMYx cldT/pwxPXiIycfDDQAqoXHRS8Gk70wIYi1gYTbrBXP3NNjvK45ukJq+C3bPP1Xgn4jy RjdsnVjzHZ0nUSYYUa7TGYGtH0ftU70E1Zu713+IWy4/SmnPlUAJyMZ2RgLFp8/c7piL 31PZEAyGlfDRPQyIPzdoC+JsGS9n7wjDCFKGse+rCZaSXnWwAPqhleNqKktbXN40z5IS JXTA== X-Gm-Message-State: APjAAAWWE8wTa0nE5OIzeczAtFxF6vOEXDLz5OeyrZ4iaZBV/xcYhZwu nCYp6sSfbquZr3pJEx8iuhKLYTl5mcn3SJMo1NXimA== X-Google-Smtp-Source: APXvYqzkAx1sSlJDFUzQ3oxX7S7uXnrjfXzMPmtdJ9TQScrAywP8ILBY63F9BzLd9oj7n9qKKMDV/K93NYDV2hXvifE= X-Received: by 2002:a81:4fc4:: with SMTP id d187mr8667157ywb.386.1568906419456; Thu, 19 Sep 2019 08:20:19 -0700 (PDT) MIME-Version: 1.0 References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> In-Reply-To: From: Adrian Chadd Date: Thu, 19 Sep 2019 08:20:07 -0700 Message-ID: Subject: Re: wlan can't discover known networks after relocating To: "freebsd-wireless@freebsd.org" Cc: Tom Jones , Poul-Henning Kamp , FreeBSD Current , Johannes Lundberg X-Rspamd-Queue-Id: 46Z0sL4FGCz3NF7 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 19 Sep 2019 15:20:22 -0000 Roaming is done in wpa_supplicant when it's running.That's where the smarts need to be. :( -adrian On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb wrote: > On 19 Sep 2019, at 12:28, Tom Jones wrote: > > Hi, > > freebsd-wireless might be a better list for all this .. > > > > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp wrote: > >> -------- > >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, > >> Johannes Lundber > >> g writes: > >> > >>> For a long time now I have had this problem with iwm and wlan0. > >>> Whenever > >>> I move between work and home it won't reconnect automatically and I > >>> have > >>> to do wlan0 scan manually for it to pick up the different network. > >> > >> I suffer from the dreaded "reason=0" when I move inside my house: > >> > >> > scan > >> OK > >> <3>CTRL-EVENT-SCAN-RESULTS > >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 (SSID='Palombia' > >> freq=2452 MHz) > >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason=0 > >> <3>CTRL-EVENT-SCAN-RESULTS > >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 (SSID='Palombia' > >> freq=2412 MHz) > >> <3>Associated with 6c:3b:6b:ab:ce:d4 > >> > >> a2:e9 is the loudest AP here in my office, but my I have been in the > >> other end of the house iwn consistently fails to associate with it > >> and > >> and keeps picking the weaker AP in the far end. > >> > >> Eventually (hours!) it disconnects from the weaker ap, also with > >> "reason=0" and gets it right: > >> > >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 [GTK=CCMP] > >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason=0 > >> <3>CTRL-EVENT-SCAN-RESULTS > >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 (SSID='Palombia' > >> freq=2452 MHz) > >> <3>Associated with 6c:3b:6b:3d:a2:e9 > >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 [PTK=CCMP > >> GTK=CCMP] > >> <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 > completed > >> [id=3 id_str=] > >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 [GTK=CCMP] > >> > >> And yes, working roaming would be nice too... > > > > I have the problem that when roaming networks become disabled > > > > $ wpa_cli > > Selected interface 'wlan0' > > > > Interactive mode > > > > > list_networks > > network id / ssid / bssid / flags > > 0 network1 any [CURRENT] > > 1 network2 any [DISABLED] > > 2 network3 any [DISABLED] > > 3 network4 any [DISABLED] > > 4 network5 any [DISABLED] > > Selected interface 'wlan0' > > > > > > I address this by doing network_enable x in wpa_cli and it all comes > > back. I asked Adrian about this in the past, but it needs some > > debugging > > to pin down. > > > Is this iwm(4) as well in your case or another card? > > /bz > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org > " > From owner-freebsd-wireless@freebsd.org Thu Sep 19 22:04:07 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C02AE12FABF; Thu, 19 Sep 2019 22:04:07 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Z9qB4NR1z4LNY; Thu, 19 Sep 2019 22:04:06 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id B4WuivIsHIhW9B4Wvib1WB; Thu, 19 Sep 2019 16:04:03 -0600 X-Authority-Analysis: v=2.3 cv=FcFJO626 c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=J70Eh1EUuV4A:10 a=pGLkceISAAAA:8 a=9bHR7MVLAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=f7zcvYf-h5ur5gTkv84A:9 a=_m-7wGuwNc3mVfFE:21 a=2YSe1PtFNj0BYo3z:21 a=QEXdDO2ut3YA:10 a=I7KxNEAtLM9g1UmuDjRu:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from 5CG5030TVK-N.esitwifi.local (S0106788a207e2972.gv.shawcable.net [70.66.154.233]) by spqr.komquats.com (Postfix) with ESMTPSA id 25F4D16E; Thu, 19 Sep 2019 15:03:59 -0700 (PDT) Date: Thu, 19 Sep 2019 15:03:35 -0700 In-Reply-To: References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: wlan can't discover known networks after relocating To: freebsd-current@freebsd.org, Adrian Chadd , "freebsd-wireless@freebsd.org" CC: Tom Jones , Poul-Henning Kamp , FreeBSD Current , Johannes Lundberg From: Cy Schubert Message-ID: X-CMAE-Envelope: MS4wfJGC0FZ51Tg7c36DeNaHMdHKDHHWcTMv9weqzv1sKu2XejnboSWP/OwCwZ2H0ArYfurGgMTFeOq/k6juKT7fCeigKdcW4lE4gJ9JViWSISKPbPVHnDWp ZG28Qw063Bqa+dARFbUYcZ89wtTyttDh80ZC575RHSZEm9U4ALgJpO6VPHtWTgSGgxKBsgJml/xLQhDAMpooErZOME/Y3UdO0XsjZHsvvftfAqItep0AyBoy rPF1dR5B8qghf+GcXP7B95u6q+6OA1R0PlRHvhycAx+dh5XHx+0j0Wp2TRzBPfppn+q+EqeU2UDiBewbtpyDkA== X-Rspamd-Queue-Id: 46Z9qB4NR1z4LNY X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.138) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-2.92 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_TLS_LAST(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(-2.32)[ip: (-6.02), ipnet: 64.59.128.0/20(-3.08), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_NONE(0.00)[138.136.59.64.list.dnswl.org : 127.0.5.0]; RCPT_COUNT_SEVEN(0.00)[7]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MID_RHS_MATCH_FROM(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; RECEIVED_SPAMHAUS_PBL(0.00)[233.154.66.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11, 17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11] 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, 19 Sep 2019 22:04:07 -0000 On September 19, 2019 8:20:07 AM PDT, Adrian Chadd wrote: >Roaming is done in wpa_supplicant when it's running=2EThat's where the >smarts >need to be=2E :( > > > >-adrian > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A=2E Zeeb > >wrote: > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: >> >> Hi, >> >> freebsd-wireless might be a better list for all this =2E=2E >> >> >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp wrote: >> >> -------- >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD=2Eorg>, >> >> Johannes Lundber >> >> g writes: >> >> >> >>> For a long time now I have had this problem with iwm and wlan0=2E >> >>> Whenever >> >>> I move between work and home it won't reconnect automatically and >I >> >>> have >> >>> to do wlan0 scan manually for it to pick up the different >network=2E >> >> >> >> I suffer from the dreaded "reason=3D0" when I move inside my house: >> >> >> >> > scan >> >> OK >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 >(SSID=3D'Palombia' >> >> freq=3D2452 MHz) >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:3d:a2:e9 reason=3D0 >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 >(SSID=3D'Palombia' >> >> freq=3D2412 MHz) >> >> <3>Associated with 6c:3b:6b:ab:ce:d4 >> >> >> >> a2:e9 is the loudest AP here in my office, but my I have been in >the >> >> other end of the house iwn consistently fails to associate with it >> >> and >> >> and keeps picking the weaker AP in the far end=2E >> >> >> >> Eventually (hours!) it disconnects from the weaker ap, also with >> >> "reason=3D0" and gets it right: >> >> >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 >[GTK=3DCCMP] >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:ab:ce:d4 reason=3D0 >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 >(SSID=3D'Palombia' >> >> freq=3D2452 MHz) >> >> <3>Associated with 6c:3b:6b:3d:a2:e9 >> >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 >[PTK=3DCCMP >> >> GTK=3DCCMP] >> >> <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 >> completed >> >> [id=3D3 id_str=3D] >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 >[GTK=3DCCMP] >> >> >> >> And yes, working roaming would be nice too=2E=2E=2E >> > >> > I have the problem that when roaming networks become disabled >> > >> > $ wpa_cli >> > Selected interface 'wlan0' >> > >> > Interactive mode >> > >> > > list_networks >> > network id / ssid / bssid / flags >> > 0 network1 any [CURRENT] >> > 1 network2 any [DISABLED] >> > 2 network3 any [DISABLED] >> > 3 network4 any [DISABLED] >> > 4 network5 any [DISABLED] >> > Selected interface 'wlan0' >> > >> > >> > I address this by doing network_enable x in wpa_cli and it all >comes >> > back=2E I asked Adrian about this in the past, but it needs some >> > debugging >> > to pin down=2E >> >> >> Is this iwm(4) as well in your case or another card? >> >> /bz >> _______________________________________________ >> freebsd-wireless@freebsd=2Eorg mailing list >> https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to >"freebsd-wireless-unsubscribe@freebsd=2Eorg >> " >> >_______________________________________________ >freebsd-current@freebsd=2Eorg mailing list >https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to >"freebsd-current-unsubscribe@freebsd=2Eorg" With wpa_supplicant running roaming is set to manual=2E Bgscan should be e= nabled=2E =20 At home we have two n (and 2 g) wifi networks=2E When powering off one ap = it connects to the other (in addition to using lagg to failover from ethern= et to wifi and back)=2E Your wpa_supplicant should contain each ssid you intend to use=2E A wildca= rd can be used for open networks=2E It's a while since I've tested this functionality but I can test again whe= n I get home tonight=2E=20 --=20 Pardon the typos and autocorrect, small keyboard in use=2E Cheers, Cy Schubert FreeBSD UNIX: Web: http://www=2EFreeBSD=2Eorg The need of the many outweighs the greed of the few=2E From owner-freebsd-wireless@freebsd.org Thu Sep 19 22:06:16 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B1B0512FC3D; Thu, 19 Sep 2019 22:06:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yb1-xb29.google.com (mail-yb1-xb29.google.com [IPv6:2607:f8b0:4864:20::b29]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Z9sg72Dkz4LbB; Thu, 19 Sep 2019 22:06:15 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yb1-xb29.google.com with SMTP id t15so1926001ybg.7; Thu, 19 Sep 2019 15:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3g8Gg/HJeCzMJUy2vIcp0E6F6jUmAdtDFu9grw/iaOA=; b=dyWbNw5jhDixmva7pZ5/B89glMl1jFDAt+1qaKFPxKTfT5jcBQ1fyniMtXfO1JrsAZ lz4mrgu8LMvyzSD6jtNvBaFaoMNZQ+PredcXr3E6fs/M1kE1DebkPXKjJQgk26EusAX2 OYrRFlrh5kl2v/KluO9V01JbobGyl5Tj09E7waX3MrhWoTapsDPKyEAw/OzuqTrZ+O0h GySz79JPB9ag+MUu+44nmXYzrXWI+U5K1ZMlnomZz7GB7KB8VZJlRYO/e38o2vgXVI7C icootRHlB2u5GLwHtBw7HP9/Kqi7jOWhfeTlhFjqsOy8m04dtrlttHLV0lLYpuk8KF99 3dXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3g8Gg/HJeCzMJUy2vIcp0E6F6jUmAdtDFu9grw/iaOA=; b=NTxy+CWBMXrAlkjSyZwtAYbBmuCAH5MpyRRrChkSSsCBqzrx+pg+XQ6ISnSdhwjb1K 4DWoTfuh6bVCOrZbeIFrCP4B5Wi/X6VfqinqeL6dkl8lwO2roDup7ku+xxfolPRHs3Nn s2EvI2IkDrQ9lY6WtJZMEQzNrAws6bTP3kmCczX2dD4kWo5q8MREu3IVLRgNF9Tytqj+ pghktJF/UKgDrncTXRKqC7hvaJy/iLekCKm4ArBBQF+rMWBY/H0F2+7qBfrajk5K3fhV IUKttEohWE3DPuB1wSR3aSkoNPQgXN39pp1ZWGWyeNZXO+vey7hZT342nAVp6ORo+cdz I/MQ== X-Gm-Message-State: APjAAAVLPMDS/pkp8o5bfaLU7ggGukc7EJqUNEywBIrghjIPG4WfbSpf j/MCZMOtMsekohfeVSVS3ZIMroZT3Wz3bYw6FB8wGg== X-Google-Smtp-Source: APXvYqxoFKbxNd6/EW/F1Gg/BOYNDUbWDow0sKQpSsuopKDL2EK3Dcsd7lLmUYH5mLTt9PS8GjEw4YZYbbLod/Jhgp8= X-Received: by 2002:a25:25ca:: with SMTP id l193mr8518569ybl.193.1568930774463; Thu, 19 Sep 2019 15:06:14 -0700 (PDT) MIME-Version: 1.0 References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> In-Reply-To: From: Adrian Chadd Date: Thu, 19 Sep 2019 15:06:00 -0700 Message-ID: Subject: Re: wlan can't discover known networks after relocating To: Cy Schubert Cc: freebsd-current , "freebsd-wireless@freebsd.org" , Tom Jones , Poul-Henning Kamp , Johannes Lundberg X-Rspamd-Queue-Id: 46Z9sg72Dkz4LbB X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=dyWbNw5j; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of adrianchadd@gmail.com designates 2607:f8b0:4864:20::b29 as permitted sender) smtp.mailfrom=adrianchadd@gmail.com X-Spamd-Result: default: False [-0.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; URI_COUNT_ODD(1.00)[9]; RCPT_COUNT_FIVE(0.00)[6]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.2.b.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-9.16), ipnet: 2607:f8b0::/32(-2.66), asn: 15169(-2.22), country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 19 Sep 2019 22:06:16 -0000 So roaming in ifconfig/net80211 is what's set to manual. wpa_supplicant right now does RSSI threshold based roaming. All of the roaming and network preferences when wpa_supplicant is running is done in wpa_supplicant. That's where you have to look. Ideally wpa_supplicant would be triggering bgscan too periodically rather than only when the RSSI is low. -adrian On Thu, 19 Sep 2019 at 15:04, Cy Schubert wrote: > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > wrote: > >Roaming is done in wpa_supplicant when it's running.That's where the > >smarts > >need to be. :( > > > > > > > >-adrian > > > > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb > > > >wrote: > > > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: > >> > >> Hi, > >> > >> freebsd-wireless might be a better list for all this .. > >> > >> > >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp wrote: > >> >> -------- > >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, > >> >> Johannes Lundber > >> >> g writes: > >> >> > >> >>> For a long time now I have had this problem with iwm and wlan0. > >> >>> Whenever > >> >>> I move between work and home it won't reconnect automatically and > >I > >> >>> have > >> >>> to do wlan0 scan manually for it to pick up the different > >network. > >> >> > >> >> I suffer from the dreaded "reason=0" when I move inside my house: > >> >> > >> >> > scan > >> >> OK > >> >> <3>CTRL-EVENT-SCAN-RESULTS > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > >(SSID='Palombia' > >> >> freq=2452 MHz) > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason=0 > >> >> <3>CTRL-EVENT-SCAN-RESULTS > >> >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 > >(SSID='Palombia' > >> >> freq=2412 MHz) > >> >> <3>Associated with 6c:3b:6b:ab:ce:d4 > >> >> > >> >> a2:e9 is the loudest AP here in my office, but my I have been in > >the > >> >> other end of the house iwn consistently fails to associate with it > >> >> and > >> >> and keeps picking the weaker AP in the far end. > >> >> > >> >> Eventually (hours!) it disconnects from the weaker ap, also with > >> >> "reason=0" and gets it right: > >> >> > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 > >[GTK=CCMP] > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason=0 > >> >> <3>CTRL-EVENT-SCAN-RESULTS > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > >(SSID='Palombia' > >> >> freq=2452 MHz) > >> >> <3>Associated with 6c:3b:6b:3d:a2:e9 > >> >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 > >[PTK=CCMP > >> >> GTK=CCMP] > >> >> <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 > >> completed > >> >> [id=3 id_str=] > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 > >[GTK=CCMP] > >> >> > >> >> And yes, working roaming would be nice too... > >> > > >> > I have the problem that when roaming networks become disabled > >> > > >> > $ wpa_cli > >> > Selected interface 'wlan0' > >> > > >> > Interactive mode > >> > > >> > > list_networks > >> > network id / ssid / bssid / flags > >> > 0 network1 any [CURRENT] > >> > 1 network2 any [DISABLED] > >> > 2 network3 any [DISABLED] > >> > 3 network4 any [DISABLED] > >> > 4 network5 any [DISABLED] > >> > Selected interface 'wlan0' > >> > > >> > > >> > I address this by doing network_enable x in wpa_cli and it all > >comes > >> > back. I asked Adrian about this in the past, but it needs some > >> > debugging > >> > to pin down. > >> > >> > >> Is this iwm(4) as well in your case or another card? > >> > >> /bz > >> _______________________________________________ > >> freebsd-wireless@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >> To unsubscribe, send any mail to > >"freebsd-wireless-unsubscribe@freebsd.org > >> " > >> > >_______________________________________________ > >freebsd-current@freebsd.org mailing list > >https://lists.freebsd.org/mailman/listinfo/freebsd-current > >To unsubscribe, send any mail to > >"freebsd-current-unsubscribe@freebsd.org" > > With wpa_supplicant running roaming is set to manual. Bgscan should be > enabled. > > At home we have two n (and 2 g) wifi networks. When powering off one ap it > connects to the other (in addition to using lagg to failover from ethernet > to wifi and back). > > Your wpa_supplicant should contain each ssid you intend to use. A wildcard > can be used for open networks. > > It's a while since I've tested this functionality but I can test again > when I get home tonight. > > > -- > Pardon the typos and autocorrect, small keyboard in use. > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org > > The need of the many outweighs the greed of the few. > From owner-freebsd-wireless@freebsd.org Thu Sep 19 22:21:18 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 56FEFE821D; Thu, 19 Sep 2019 22:21:18 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZBC20CZyz4MZ4; Thu, 19 Sep 2019 22:21:18 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Received: from [10.50.6.171] (wsip-184-181-13-226.ph.ph.cox.net [184.181.13.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: johalun) by smtp.freebsd.org (Postfix) with ESMTPSA id 45B13F185; Thu, 19 Sep 2019 22:21:17 +0000 (UTC) (envelope-from johalun@FreeBSD.org) Subject: Re: wlan can't discover known networks after relocating To: Adrian Chadd , Cy Schubert Cc: freebsd-current , "freebsd-wireless@freebsd.org" , Tom Jones , Poul-Henning Kamp References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> From: Johannes Lundberg Message-ID: <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> Date: Thu, 19 Sep 2019 15:21:15 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 19 Sep 2019 22:21:18 -0000 On 9/19/19 3:06 PM, Adrian Chadd wrote: > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming and network preferences when wpa_supplicant is running is done > in wpa_supplicant. That's where you have to look. Ideally > wpa_supplicant would be triggering bgscan too periodically rather than > only when the RSSI is low. > > > > -adrian > > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert > wrote: > > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > > wrote: > >Roaming is done in wpa_supplicant when it's running.That's where the > >smarts > >need to be. :( > > > > > > > >-adrian > > > > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb > > > > >wrote: > > > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: > >> > >> Hi, > >> > >> freebsd-wireless might be a better list for all this .. > >> > >> > >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp > wrote: > >> >> -------- > >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, > >> >> Johannes Lundber > >> >> g writes: > >> >> > >> >>> For a long time now I have had this problem with iwm and wlan0. > >> >>> Whenever > >> >>> I move between work and home it won't reconnect > automatically and > >I > >> >>> have > >> >>> to do wlan0 scan manually for it to pick up the different > >network. > >> >> > >> >> I suffer from the dreaded "reason=0" when I move inside my > house: > >> >> > >> >>      > scan > >> >>      OK > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > >> >>      <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > >(SSID='Palombia' > >> >> freq=2452 MHz) > >> >>      <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason=0 > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > >> >>      <3>Trying to associate with 6c:3b:6b:ab:ce:d4 > >(SSID='Palombia' > >> >> freq=2412 MHz) > >> >>      <3>Associated with 6c:3b:6b:ab:ce:d4 > >> >> > >> >> a2:e9 is the loudest AP here in my office, but my I have been in > >the > >> >> other end of the house iwn consistently fails to associate > with it > >> >> and > >> >> and keeps picking the weaker AP in the far end. > >> >> > >> >> Eventually (hours!) it disconnects from the weaker ap, also with > >> >> "reason=0" and gets it right: > >> >> > >> >>      <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 > >[GTK=CCMP] > >> >>      <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason=0 > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > >> >>      <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > >(SSID='Palombia' > >> >> freq=2452 MHz) > >> >>      <3>Associated with 6c:3b:6b:3d:a2:e9 > >> >>      <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 > >[PTK=CCMP > >> >> GTK=CCMP] > >> >>      <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 > >> completed > >> >> [id=3 id_str=] > >> >>      <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 > >[GTK=CCMP] > >> >> > >> >> And yes, working roaming would be nice too... > >> > > >> > I have the problem that when roaming networks become disabled > >> > > >> >       $ wpa_cli > >> >       Selected interface 'wlan0' > >> > > >> >       Interactive mode > >> > > >> >       > list_networks > >> >       network id / ssid / bssid / flags > >> >       0       network1        any     [CURRENT] > >> >       1       network2 any    [DISABLED] > >> >       2       network3 any    [DISABLED] > >> >       3       network4 any    [DISABLED] > >> >       4       network5 any    [DISABLED] > >> >       Selected interface 'wlan0' > >> > > >> > > >> > I address this by doing network_enable x in wpa_cli and it all > >comes > >> > back. I asked Adrian about this in the past, but it needs some > >> > debugging > >> > to pin down. > >> > >> > >> Is this iwm(4) as well in your case or another card? > >> > >> /bz > >> _______________________________________________ > >> freebsd-wireless@freebsd.org > mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > >> To unsubscribe, send any mail to > >"freebsd-wireless-unsubscribe@freebsd.org > > >> " > >> > >_______________________________________________ > >freebsd-current@freebsd.org > mailing list > >https://lists.freebsd.org/mailman/listinfo/freebsd-current > >To unsubscribe, send any mail to > >"freebsd-current-unsubscribe@freebsd.org > " > > With wpa_supplicant running roaming is set to manual. Bgscan > should be enabled.  > > At home we have two n (and 2 g) wifi networks. When powering off > one ap it connects to the other (in addition to using lagg to > failover from ethernet to wifi and back). > > Your wpa_supplicant should contain each ssid you intend to use. A > wildcard can be used for open networks. > > It's a while since I've tested this functionality but I can test > again when I get home tonight. > > > -- > Pardon the typos and autocorrect, small keyboard in use. > Cheers, > Cy Schubert > > FreeBSD UNIX: Web: http://www.FreeBSD.org > >         The need of the many outweighs the greed of the few. > Hmm so in other words, you have to set bgscan for each network entry you want roaming? What are some good values for this? From owner-freebsd-wireless@freebsd.org Thu Sep 19 22:30:39 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D80E5E86CF; Thu, 19 Sep 2019 22:30:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yb1-xb33.google.com (mail-yb1-xb33.google.com [IPv6:2607:f8b0:4864:20::b33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZBPq5XHhz4NN4; Thu, 19 Sep 2019 22:30:39 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by mail-yb1-xb33.google.com with SMTP id v5so1951367ybq.4; Thu, 19 Sep 2019 15:30:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NnMB8EGUeHv5eo3FFwzI94GZcZlaEygAHBOzBAcJZVA=; b=PJGYg4atFw2O1d097UA1+UzrHbhv2WxIXn3X5KP6A7Mb/tyEPAehLhCfu2hkJiabel 2prRJQPQ2aJHVnhxWNXMbTNGBFi+t4hjlmFFnFOmRVTydzPjOpQLHEfEFfkowoZw5m9I cEIfWEKn43nez0Y1BNeX+C+jlPcyrn7DLUJsY+xYXwLWRZWeJhbgv/puGkVkYVoG2PQh beyF99Q0OZiRmrvCgBuHhA9jjNglvXepRIfE3zd6FgbZ/o1mbnj9daXojf1VIre/8mAe QSQA5XVIkv/n66+6ptzDE9lqmAktzVXyskbuzAAcpGyhCJ2sdT3VYGTh8epti+Bpuxvg lM+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NnMB8EGUeHv5eo3FFwzI94GZcZlaEygAHBOzBAcJZVA=; b=CRYYp9DRMUVj1r9Ei7dgOQcJHkrx4rd/CQNsCThSe/jVtjScm+EvDcgYDypT2R3GTF cOmdRl28qs3ygjW4wBgKOUvLzEohfauMJGDAcMHGZwir47N9Ipm0bKLVxKV4JypHIc7y KHtXtRp3+IaxNCPU0bkJv9/OQUY1aVi2D5YXqNsypzlanrxy+MClzO1WRgsbyUYKu8Ad Y3qgnTt43VSO4a7cmp+4DtqhwsAf8BSJ3zd0Q8caPXfyoXwVv2wJUM5zdmg5Qk9kv8K1 FVpdK7QHtL5cNz/jDwt5Vml3A5ZgRbGCnu/52CsV0LOCGjgTyCn3v4Y94aoklPtOfvj8 EUzA== X-Gm-Message-State: APjAAAWRXN89iO9C0PD3DihbpohPHYt34jbTUcOf5tf8kA7gAXZzdOmx yjsgHV3EEB0HoHKWSAkFFCQi0r5LrIFNbqxnlv30xw== X-Google-Smtp-Source: APXvYqzweZFDf+63yeWEHmrnOp2qGR4Cr08ICPQVpBdBDY4g46LspcfVAw81CfovSTebwHxQpnZ7NqQNxRhS+/zvPYY= X-Received: by 2002:a25:b682:: with SMTP id s2mr8567095ybj.264.1568932236757; Thu, 19 Sep 2019 15:30:36 -0700 (PDT) MIME-Version: 1.0 References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> In-Reply-To: <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> From: Adrian Chadd Date: Thu, 19 Sep 2019 15:30:22 -0700 Message-ID: Subject: Re: wlan can't discover known networks after relocating To: Johannes Lundberg Cc: Cy Schubert , freebsd-current , "freebsd-wireless@freebsd.org" , Tom Jones , Poul-Henning Kamp X-Rspamd-Queue-Id: 46ZBPq5XHhz4NN4 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-6.00 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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, 19 Sep 2019 22:30:39 -0000 I've no idea, bgscan is broken with atheros NICs because the driver still doesn't do background scan without dropping frames :( (one of many thing I'd love to fix, but life/time.) please do experiment though! I think wpa_supplicant's roaming logic would benefit from a lot more work. -adrian On Thu, 19 Sep 2019 at 15:21, Johannes Lundberg wrote: > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > So roaming in ifconfig/net80211 is what's set to manual. > > wpa_supplicant right now does RSSI threshold based roaming. All of the > roaming and network preferences when wpa_supplicant is running is done in > wpa_supplicant. That's where you have to look. Ideally wpa_supplicant would > be triggering bgscan too periodically rather than only when the RSSI is low. > > > > -adrian > > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert wrote: > >> On September 19, 2019 8:20:07 AM PDT, Adrian Chadd < >> adrian.chadd@gmail.com> wrote: >> >Roaming is done in wpa_supplicant when it's running.That's where the >> >smarts >> >need to be. :( >> > >> > >> > >> >-adrian >> > >> > >> >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb >> > >> >wrote: >> > >> >> On 19 Sep 2019, at 12:28, Tom Jones wrote: >> >> >> >> Hi, >> >> >> >> freebsd-wireless might be a better list for all this .. >> >> >> >> >> >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp wrote: >> >> >> -------- >> >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> >> <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, >> >> >> Johannes Lundber >> >> >> g writes: >> >> >> >> >> >>> For a long time now I have had this problem with iwm and wlan0. >> >> >>> Whenever >> >> >>> I move between work and home it won't reconnect automatically and >> >I >> >> >>> have >> >> >>> to do wlan0 scan manually for it to pick up the different >> >network. >> >> >> >> >> >> I suffer from the dreaded "reason=0" when I move inside my house: >> >> >> >> >> >> > scan >> >> >> OK >> >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 >> >(SSID='Palombia' >> >> >> freq=2452 MHz) >> >> >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason=0 >> >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 >> >(SSID='Palombia' >> >> >> freq=2412 MHz) >> >> >> <3>Associated with 6c:3b:6b:ab:ce:d4 >> >> >> >> >> >> a2:e9 is the loudest AP here in my office, but my I have been in >> >the >> >> >> other end of the house iwn consistently fails to associate with it >> >> >> and >> >> >> and keeps picking the weaker AP in the far end. >> >> >> >> >> >> Eventually (hours!) it disconnects from the weaker ap, also with >> >> >> "reason=0" and gets it right: >> >> >> >> >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 >> >[GTK=CCMP] >> >> >> <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason=0 >> >> >> <3>CTRL-EVENT-SCAN-RESULTS >> >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 >> >(SSID='Palombia' >> >> >> freq=2452 MHz) >> >> >> <3>Associated with 6c:3b:6b:3d:a2:e9 >> >> >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 >> >[PTK=CCMP >> >> >> GTK=CCMP] >> >> >> <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 >> >> completed >> >> >> [id=3 id_str=] >> >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 >> >[GTK=CCMP] >> >> >> >> >> >> And yes, working roaming would be nice too... >> >> > >> >> > I have the problem that when roaming networks become disabled >> >> > >> >> > $ wpa_cli >> >> > Selected interface 'wlan0' >> >> > >> >> > Interactive mode >> >> > >> >> > > list_networks >> >> > network id / ssid / bssid / flags >> >> > 0 network1 any [CURRENT] >> >> > 1 network2 any [DISABLED] >> >> > 2 network3 any [DISABLED] >> >> > 3 network4 any [DISABLED] >> >> > 4 network5 any [DISABLED] >> >> > Selected interface 'wlan0' >> >> > >> >> > >> >> > I address this by doing network_enable x in wpa_cli and it all >> >comes >> >> > back. I asked Adrian about this in the past, but it needs some >> >> > debugging >> >> > to pin down. >> >> >> >> >> >> Is this iwm(4) as well in your case or another card? >> >> >> >> /bz >> >> _______________________________________________ >> >> freebsd-wireless@freebsd.org mailing list >> >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> >> To unsubscribe, send any mail to >> >"freebsd-wireless-unsubscribe@freebsd.org >> >> " >> >> >> >_______________________________________________ >> >freebsd-current@freebsd.org mailing list >> >https://lists.freebsd.org/mailman/listinfo/freebsd-current >> >To unsubscribe, send any mail to >> >"freebsd-current-unsubscribe@freebsd.org" >> >> With wpa_supplicant running roaming is set to manual. Bgscan should be >> enabled. >> >> At home we have two n (and 2 g) wifi networks. When powering off one ap >> it connects to the other (in addition to using lagg to failover from >> ethernet to wifi and back). >> >> Your wpa_supplicant should contain each ssid you intend to use. A >> wildcard can be used for open networks. >> >> It's a while since I've tested this functionality but I can test again >> when I get home tonight. >> >> >> -- >> Pardon the typos and autocorrect, small keyboard in use. >> Cheers, >> Cy Schubert >> FreeBSD UNIX: Web: >> http://www.FreeBSD.org >> >> The need of the many outweighs the greed of the few. >> > > Hmm so in other words, you have to set bgscan for each network entry you > want roaming? What are some good values for this? > > > From owner-freebsd-wireless@freebsd.org Fri Sep 20 01:25:53 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DA0D6EC250; Fri, 20 Sep 2019 01:25:53 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZGJ04yccz4WQ5; Fri, 20 Sep 2019 01:25:52 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id B7gBiazF9sAGkB7gCi2sVj; Thu, 19 Sep 2019 19:25:50 -0600 X-Authority-Analysis: v=2.3 cv=WeVylHpX c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=8nJEP1OIZ-IA:10 a=J70Eh1EUuV4A:10 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=9bHR7MVLAAAA:8 a=YxBL1-UpAAAA:8 a=PCqSUmN0ak2iMDnNgpYA:9 a=rhmp_ibcXPBzh3jT:21 a=LeJL6ysmZIOmxfNn:21 a=wPNLvfGTeEIA:10 a=IjZwj45LgO3ly-622nXo:22 a=I7KxNEAtLM9g1UmuDjRu:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id C56F72B9; Thu, 19 Sep 2019 18:25:42 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x8K1Pfpb085859; Thu, 19 Sep 2019 18:25:41 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x8K1Pfhd085841; Thu, 19 Sep 2019 18:25:41 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201909200125.x8K1Pfhd085841@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Johannes Lundberg cc: Adrian Chadd , Cy Schubert , freebsd-current , "freebsd-wireless@freebsd.org" , Tom Jones , Poul-Henning Kamp Subject: Re: wlan can't discover known networks after relocating In-reply-to: <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> Comments: In-reply-to Johannes Lundberg message dated "Thu, 19 Sep 2019 15:21:15 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Date: Thu, 19 Sep 2019 18:25:41 -0700 X-CMAE-Envelope: MS4wfPIEwXSRbpa0Mt+RcoUh3R0rgNWSHrs4pSZ8oFcX7GkeG4+9kWeQ3EY8xPGgdZhwFH/OQHzoYf8cbswYHEaISNRMuRJGjEqHmYAQI94SjG3nRu7Nj3uD lgQ3TeU9Fk80OTcYjFPZtG3kMpzk7MbhvDdj2NfSVk6sAZueBM2Gj/GFPpQtrQZ74tzrAJazIyb3Ct63J0jUQ6ORrz+KzU6FcYwljcY5wiBgRN0S98dw3/Wm cv2h6IiJL2dewTqxTYH0Per4WAjOEgLIUbMxRlc7YKjl+M2JHxo9rPZzHPKNASS39/8H8UGDvQf7+Utr6BHuCg== X-Rspamd-Queue-Id: 46ZGJ04yccz4WQ5 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.9) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-2.47 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; RCVD_COUNT_FIVE(0.00)[5]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[9.134.59.64.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.37)[ip: (-6.27), ipnet: 64.59.128.0/20(-3.08), asn: 6327(-2.39), country: CA(-0.09)]; R_SPF_NA(0.00)[]; FREEMAIL_CC(0.00)[gmail.com]; SUSPICIOUS_RECIPS(1.50)[] 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: Fri, 20 Sep 2019 01:25:53 -0000 In message <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org>, Johannes Lundber g writes: > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > So roaming in ifconfig/net80211 is what's set to manual. > > > > wpa_supplicant right now does RSSI threshold based roaming. All of the > > roaming and network preferences when wpa_supplicant is running is done > > in wpa_supplicant. That's where you have to look. Ideally > > wpa_supplicant would be triggering bgscan too periodically rather than > > only when the RSSI is low. > > > > > > > > -adrian > > > > > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert > > wrote: > > > > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > > > wrote: > > >Roaming is done in wpa_supplicant when it's running.That's where the > > >smarts > > >need to be. :( > > > > > > > > > > > >-adrian > > > > > > > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb > > > > > > > >wrote: > > > > > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: > > >> > > >> Hi, > > >> > > >> freebsd-wireless might be a better list for all this .. > > >> > > >> > > >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp > > wrote: > > >> >> -------- > > >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, > > >> >> Johannes Lundber > > >> >> g writes: > > >> >> > > >> >>> For a long time now I have had this problem with iwm and wlan0. > > >> >>> Whenever > > >> >>> I move between work and home it won't reconnect > > automatically and > > >I > > >> >>> have > > >> >>> to do wlan0 scan manually for it to pick up the different > > >network. > > >> >> > > >> >> I suffer from the dreaded "reason=0" when I move inside my > > house: > > >> >> > > >> >>      > scan > > >> >>      OK > > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > > >> >>      <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > >(SSID='Palombia' > > >> >> freq=2452 MHz) > > >> >>      <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:3d:a2:e9 reason > =0 > > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > > >> >>      <3>Trying to associate with 6c:3b:6b:ab:ce:d4 > > >(SSID='Palombia' > > >> >> freq=2412 MHz) > > >> >>      <3>Associated with 6c:3b:6b:ab:ce:d4 > > >> >> > > >> >> a2:e9 is the loudest AP here in my office, but my I have been in > > >the > > >> >> other end of the house iwn consistently fails to associate > > with it > > >> >> and > > >> >> and keeps picking the weaker AP in the far end. > > >> >> > > >> >> Eventually (hours!) it disconnects from the weaker ap, also with > > >> >> "reason=0" and gets it right: > > >> >> > > >> >>      <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4 > > >[GTK=CCMP] > > >> >>      <3>CTRL-EVENT-DISCONNECTED bssid=6c:3b:6b:ab:ce:d4 reason > =0 > > >> >>      <3>CTRL-EVENT-SCAN-RESULTS > > >> >>      <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > >(SSID='Palombia' > > >> >> freq=2452 MHz) > > >> >>      <3>Associated with 6c:3b:6b:3d:a2:e9 > > >> >>      <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9 > > >[PTK=CCMP > > >> >> GTK=CCMP] > > >> >>      <3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 > > >> completed > > >> >> [id=3 id_str=] > > >> >>      <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9 > > >[GTK=CCMP] > > >> >> > > >> >> And yes, working roaming would be nice too... > > >> > > > >> > I have the problem that when roaming networks become disabled > > >> > > > >> >       $ wpa_cli > > >> >       Selected interface 'wlan0' > > >> > > > >> >       Interactive mode > > >> > > > >> >       > list_networks > > >> >       network id / ssid / bssid / flags > > >> >       0       network1        any     [CURRENT] > > >> >       1       network2 any    [DISABLED] > > >> >       2       network3 any    [DISABLED] > > >> >       3       network4 any    [DISABLED] > > >> >       4       network5 any    [DISABLED] > > >> >       Selected interface 'wlan0' > > >> > > > >> > > > >> > I address this by doing network_enable x in wpa_cli and it all > > >comes > > >> > back. I asked Adrian about this in the past, but it needs some > > >> > debugging > > >> > to pin down. > > >> > > >> > > >> Is this iwm(4) as well in your case or another card? > > >> > > >> /bz > > >> _______________________________________________ > > >> freebsd-wireless@freebsd.org > > mailing list > > >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > >> To unsubscribe, send any mail to > > >"freebsd-wireless-unsubscribe@freebsd.org > > > > >> " > > >> > > >_______________________________________________ > > >freebsd-current@freebsd.org > > mailing list > > >https://lists.freebsd.org/mailman/listinfo/freebsd-current > > >To unsubscribe, send any mail to > > >"freebsd-current-unsubscribe@freebsd.org > > " > > > > With wpa_supplicant running roaming is set to manual. Bgscan > > should be enabled.  > > > > At home we have two n (and 2 g) wifi networks. When powering off > > one ap it connects to the other (in addition to using lagg to > > failover from ethernet to wifi and back). > > > > Your wpa_supplicant should contain each ssid you intend to use. A > > wildcard can be used for open networks. > > > > It's a while since I've tested this functionality but I can test > > again when I get home tonight. > > > > > > -- > > Pardon the typos and autocorrect, small keyboard in use. > > Cheers, > > Cy Schubert > > > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > >         The need of the many outweighs the greed of the few. > > > > Hmm so in other words, you have to set bgscan for each network entry you > want roaming? What are some good values for this? Just tested here. It worked after a short delay, with a not-so-young laptop with iwn. wlan0: flags=8843 metric 0 mtu 1500 ether 20:NN:NN:NN:NN:NN groups: wlan ssid "BBBBBBBB" channel 1 (2412 MHz 11g ht/20) bssid 78:BB:BB:BB:BB:BB regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 120 scanvalid 16959 protmode CTS ampdulimit 64k -amsdutx amsdurx shortgi -stbc -ldpc wme roaming MANUAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated nd6 options=29 And the gory details: Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTED bssid=a6:NN:NN:NN:NN:NN reason=0 Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Trying to associate with a6:NN:NN:NN:NN:NN (SSID='AAA' freq=2462 MHz) Sep 19 17:21:35 slippy wpa_supplicant[381]: Failed to add supported operating classes IE Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Associated with a6:NN:NN:NN:NN:NN Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: Authentication with a6:08:ea:9c:a0:84 timed out. Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTED bssid=a6:NN:NN:NN:NN:NN reason=3 locally_generated=1 Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Trying to associate with 78:NN:NN:NN:NN:NN (SSID='BBBBBBBBB' freq=2412 MHz) Sep 19 17:21:47 slippy wpa_supplicant[381]: Failed to add supported operating classes IE Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Associated with 78:NN:NN:NN:NN:NN Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: WPA: Key negotiation completed with 78:NN:NN:NN:NN:NN [PTK=CCMP GTK=CCMP] Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-CONNECTED - Connection to 78:NN:NN:NN:NN:NN completed [id=7 id_str=] AAA is my cell phone. the B's are $JOB. The relevant parts of my wpa_supplicant.conf: network={ ssid="AAA" priority=6 proto=RSN WPA key_mgmt=WPA-PSK pairwise=CCMP group=CCMP psk="x" } network={ ssid="BBBBBBBBB" scan_ssid=1 priority=5 proto=RSN WPA key_mgmt=WPA-PSK pairwise=CCMP TKIP group=CCMP TKIP psk="y" } #Wildcard match for SSID (plaintext APs only). This example select any #open AP regardless of its SSID. network={ priority=0 disabled=1 key_mgmt=NONE } Hope this helps. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-wireless@freebsd.org Fri Sep 20 02:02:09 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0BB75ED5F3; Fri, 20 Sep 2019 02:02:09 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZH5r20RGz4XrQ; Fri, 20 Sep 2019 02:02:08 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-oi1-x236.google.com with SMTP id o205so430156oib.12; Thu, 19 Sep 2019 19:02:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q/aCeBhy8+CmpGefGBpk4JbCoMGRuLjRSofxb4FTEF4=; b=GaIXjxmbLQfHzjMgRONQ5ubDTaY2cskamB0GwIIyTMJhzI7l0E8IWkChV6ps5DvzHL 7dYYbpmFVa4WnfxWwyXfc2WOswKuhDOsvKS3U08SjNhUra0HHBcHnpnVzmVJY49sRv6g gzyh30V5H++q0ao+x9AINqJgDSa73qx+THiT/aCfdKAjluoSVWZRoz329cYzAkgPkZ9R /g8dB+GuMBkAPE+//qBXN4xN36zJpaO1iCUpTM5VMFa4FebkYRV1X1dFwpgd0g9XioGt zCon4qhHK+/9NGHhlDA2f0sOi0hVcta03wYwmosRta9Y9xK2Bq1d1tyR4s7kaRmC7ga/ Jmag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q/aCeBhy8+CmpGefGBpk4JbCoMGRuLjRSofxb4FTEF4=; b=Vt5V+4g2gc/b3HqyKboOw5z1PMNvNAptN/WfEokEYZYA1bmIeboSpkdO1+CbWNpCbt /xne3erCjBwDtmP86r1iAuB72fDN+idsJW+7zimAGkkCQruAgT6lm4yd21dj+vmj9bSp taQYLeDcjWf78ppj5ex+HIpdCzViD0wVcgYlxrErJK8snpWlH4umyT9ipNehALIzurdK CuXJOriay1ea2+G5pVIY8qgUUmQTHZkn6fIRxCs4EWkX7e0LtGNdyzeTi7fBn651bk27 rIGG/I4EO1/ecZUXm9opnKnjpq1px6QAT/BFPd743mh52HHy5UndfQIE8TZ9zCX0qll7 AGjw== X-Gm-Message-State: APjAAAWG4nJxq1XakgSVmBXK1bJ1juLQydelGn6Bb2/NV0XikIFgPW6J M454khQhLbDPSRsS2N9zef3lnI2KFx0S2wvFdW4= X-Google-Smtp-Source: APXvYqyWED15FSLq8gSjLbKZTVsO9usNnJnTWqWszoh/u9Oi1LM11Mx5XCSdoK3Eop5gGONcxowH2+ayRXW2rPOs+Hc= X-Received: by 2002:aca:fccb:: with SMTP id a194mr917939oii.52.1568944926781; Thu, 19 Sep 2019 19:02:06 -0700 (PDT) MIME-Version: 1.0 References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> <201909200125.x8K1Pfhd085841@slippy.cwsent.com> In-Reply-To: <201909200125.x8K1Pfhd085841@slippy.cwsent.com> From: Johannes Lundberg Date: Thu, 19 Sep 2019 19:01:55 -0700 Message-ID: Subject: Re: wlan can't discover known networks after relocating To: Cy Schubert Cc: Adrian Chadd , Cy Schubert , Johannes Lundberg , Poul-Henning Kamp , Tom Jones , freebsd-current , "freebsd-wireless@freebsd.org" X-Rspamd-Queue-Id: 46ZH5r20RGz4XrQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=GaIXjxmb; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johalun0@gmail.com designates 2607:f8b0:4864:20::236 as permitted sender) smtp.mailfrom=johalun0@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[8]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-8.86), ipnet: 2607:f8b0::/32(-2.66), asn: 15169(-2.21), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[6.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[]; FREEMAIL_CC(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 20 Sep 2019 02:02:09 -0000 Tested today with bgscan added. Didn=E2=80=99t connect to home network unti= l I manually run ifconfig wlan0 scan. Again, this is with failover lagg. It did however realize I wasn=E2=80=99t at the office anymore and the ssid = field was empty in ifconfig output. Sometimes it stays the same long after I leave the network. On Thu, Sep 19, 2019 at 18:25 Cy Schubert wrote= : > In message <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org>, Johannes > Lundber > g writes: > > > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > > So roaming in ifconfig/net80211 is what's set to manual. > > > > > > wpa_supplicant right now does RSSI threshold based roaming. All of th= e > > > roaming and network preferences when wpa_supplicant is running is don= e > > > in wpa_supplicant. That's where you have to look. Ideally > > > wpa_supplicant would be triggering bgscan too periodically rather tha= n > > > only when the RSSI is low. > > > > > > > > > > > > -adrian > > > > > > > > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert > > > wrote: > > > > > > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > > > > wrote: > > > >Roaming is done in wpa_supplicant when it's running.That's where > the > > > >smarts > > > >need to be. :( > > > > > > > > > > > > > > > >-adrian > > > > > > > > > > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb > > > > > > > > > > >wrote: > > > > > > > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: > > > >> > > > >> Hi, > > > >> > > > >> freebsd-wireless might be a better list for all this .. > > > >> > > > >> > > > >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp > > > wrote: > > > >> >> -------- > > > >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.or= g > >, > > > >> >> Johannes Lundber > > > >> >> g writes: > > > >> >> > > > >> >>> For a long time now I have had this problem with iwm and > wlan0. > > > >> >>> Whenever > > > >> >>> I move between work and home it won't reconnect > > > automatically and > > > >I > > > >> >>> have > > > >> >>> to do wlan0 scan manually for it to pick up the different > > > >network. > > > >> >> > > > >> >> I suffer from the dreaded "reason=3D0" when I move inside m= y > > > house: > > > >> >> > > > >> >> > scan > > > >> >> OK > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > > >(SSID=3D'Palombia' > > > >> >> freq=3D2452 MHz) > > > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:3d:a2:e9 > reason > > =3D0 > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > >> >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 > > > >(SSID=3D'Palombia' > > > >> >> freq=3D2412 MHz) > > > >> >> <3>Associated with 6c:3b:6b:ab:ce:d4 > > > >> >> > > > >> >> a2:e9 is the loudest AP here in my office, but my I have > been in > > > >the > > > >> >> other end of the house iwn consistently fails to associate > > > with it > > > >> >> and > > > >> >> and keeps picking the weaker AP in the far end. > > > >> >> > > > >> >> Eventually (hours!) it disconnects from the weaker ap, also > with > > > >> >> "reason=3D0" and gets it right: > > > >> >> > > > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d= 4 > > > >[GTK=3DCCMP] > > > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:ab:ce:d4 > reason > > =3D0 > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > > >(SSID=3D'Palombia' > > > >> >> freq=3D2452 MHz) > > > >> >> <3>Associated with 6c:3b:6b:3d:a2:e9 > > > >> >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:= e9 > > > >[PTK=3DCCMP > > > >> >> GTK=3DCCMP] > > > >> >> <3>CTRL-EVENT-CONNECTED - Connection to > 6c:3b:6b:3d:a2:e9 > > > >> completed > > > >> >> [id=3D3 id_str=3D] > > > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e= 9 > > > >[GTK=3DCCMP] > > > >> >> > > > >> >> And yes, working roaming would be nice too... > > > >> > > > > >> > I have the problem that when roaming networks become disable= d > > > >> > > > > >> > $ wpa_cli > > > >> > Selected interface 'wlan0' > > > >> > > > > >> > Interactive mode > > > >> > > > > >> > > list_networks > > > >> > network id / ssid / bssid / flags > > > >> > 0 network1 any [CURRENT] > > > >> > 1 network2 any [DISABLED] > > > >> > 2 network3 any [DISABLED] > > > >> > 3 network4 any [DISABLED] > > > >> > 4 network5 any [DISABLED] > > > >> > Selected interface 'wlan0' > > > >> > > > > >> > > > > >> > I address this by doing network_enable x in wpa_cli and it a= ll > > > >comes > > > >> > back. I asked Adrian about this in the past, but it needs so= me > > > >> > debugging > > > >> > to pin down. > > > >> > > > >> > > > >> Is this iwm(4) as well in your case or another card? > > > >> > > > >> /bz > > > >> _______________________________________________ > > > >> freebsd-wireless@freebsd.org > > > mailing list > > > >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > > >> To unsubscribe, send any mail to > > > >"freebsd-wireless-unsubscribe@freebsd.org > > > > > > >> " > > > >> > > > >_______________________________________________ > > > >freebsd-current@freebsd.org > > > mailing list > > > >https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > >To unsubscribe, send any mail to > > > >"freebsd-current-unsubscribe@freebsd.org > > > " > > > > > > With wpa_supplicant running roaming is set to manual. Bgscan > > > should be enabled. > > > > > > At home we have two n (and 2 g) wifi networks. When powering off > > > one ap it connects to the other (in addition to using lagg to > > > failover from ethernet to wifi and back). > > > > > > Your wpa_supplicant should contain each ssid you intend to use. A > > > wildcard can be used for open networks. > > > > > > It's a while since I've tested this functionality but I can test > > > again when I get home tonight. > > > > > > > > > -- > > > Pardon the typos and autocorrect, small keyboard in use. > > > Cheers, > > > Cy Schubert > > > > > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > > > > The need of the many outweighs the greed of the few. > > > > > > > Hmm so in other words, you have to set bgscan for each network entry yo= u > > want roaming? What are some good values for this? > > Just tested here. It worked after a short delay, with a not-so-young > laptop > with iwn. > > wlan0: flags=3D8843 metric 0 mtu = 1500 > ether 20:NN:NN:NN:NN:NN > groups: wlan > ssid "BBBBBBBB" channel 1 (2412 MHz 11g ht/20) bssid > 78:BB:BB:BB:BB:BB > regdomain FCC country US authmode WPA2/802.11i privacy ON > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 > bmiss 120 scanvalid 16959 protmode CTS ampdulimit 64k -amsdutx > amsdurx > shortgi -stbc -ldpc wme roaming MANUAL > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > status: associated > nd6 options=3D29 > > And the gory details: > > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTE= D > bssid=3Da6:NN:NN:NN:NN:NN reason=3D0 > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Trying to associate > with > a6:NN:NN:NN:NN:NN (SSID=3D'AAA' freq=3D2462 MHz) > Sep 19 17:21:35 slippy wpa_supplicant[381]: Failed to add supported > operating classes IE > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Associated with > a6:NN:NN:NN:NN:NN > Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: Authentication with > a6:08:ea:9c:a0:84 timed out. > Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTE= D > bssid=3Da6:NN:NN:NN:NN:NN reason=3D3 locally_generated=3D1 > Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Trying to associate > with > 78:NN:NN:NN:NN:NN (SSID=3D'BBBBBBBBB' freq=3D2412 MHz) > Sep 19 17:21:47 slippy wpa_supplicant[381]: Failed to add supported > operating classes IE > Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Associated with > 78:NN:NN:NN:NN:NN > Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: WPA: Key negotiation > completed with 78:NN:NN:NN:NN:NN [PTK=3DCCMP GTK=3DCCMP] > Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-CONNECTED - > Connection to 78:NN:NN:NN:NN:NN completed [id=3D7 id_str=3D] > > AAA is my cell phone. the B's are $JOB. > > The relevant parts of my wpa_supplicant.conf: > > network=3D{ > ssid=3D"AAA" > priority=3D6 > proto=3DRSN WPA > key_mgmt=3DWPA-PSK > pairwise=3DCCMP > group=3DCCMP > psk=3D"x" > } > > network=3D{ > ssid=3D"BBBBBBBBB" > scan_ssid=3D1 > priority=3D5 > proto=3DRSN WPA > key_mgmt=3DWPA-PSK > pairwise=3DCCMP TKIP > group=3DCCMP TKIP > psk=3D"y" > } > > #Wildcard match for SSID (plaintext APs only). This example select any > #open AP regardless of its SSID. > network=3D{ > priority=3D0 > disabled=3D1 > key_mgmt=3DNONE > } > > Hope this helps. > > > -- > Cheers, > Cy Schubert > FreeBSD UNIX: Web: http://www.FreeBSD.org > > The need of the many outweighs the greed of the few. > > > From owner-freebsd-wireless@freebsd.org Fri Sep 20 02:30:11 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C504FEDECD; Fri, 20 Sep 2019 02:30:11 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZHkB0qXLz4YkN; Fri, 20 Sep 2019 02:30:09 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id B8gQix0CGIhW9B8gRibiLE; Thu, 19 Sep 2019 20:30:08 -0600 X-Authority-Analysis: v=2.3 cv=FcFJO626 c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=J70Eh1EUuV4A:10 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=pGLkceISAAAA:8 a=9bHR7MVLAAAA:8 a=o4W7w11LAAAA:8 a=kUCByv9wAAAA:8 a=IIX2BFdiAAAA:8 a=NMM7OKYrAAAA:8 a=0VOg8hKvAAAA:8 a=vUPWEWiMAAAA:8 a=SLG1KRGDAAAA:8 a=xdb5K4IfAAAA:8 a=dliLc1HNdIQPMY3R8XkA:9 a=-4mYsfVcJZb0LWw9:21 a=SqWaXOqbkYc2v_37:21 a=ifW8yVZGP7kgUp4i:21 a=CjuIK1q_8ugA:10 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 a=I7KxNEAtLM9g1UmuDjRu:22 a=PaFTRifc8KBnsvTAljXf:22 a=bu_5hG6eGWxBxPYBRUjp:22 a=rHg00LAlvzXsuODty-Nv:22 a=isrg6BwTYk6I_F0B0DtW:22 a=I-efbNKAaAt4Mg394dr-:22 a=s3Yi14Of9AgBIP63TAoC:22 a=-TBaU1e9WpdkKBzYXnwo:22 a=AuRjBy9VhmoZW1Pfxjoc:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id A8BFCD5; Thu, 19 Sep 2019 19:30:05 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id x8K2U5uA074059; Thu, 19 Sep 2019 19:30:05 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id x8K2U4DS074056; Thu, 19 Sep 2019 19:30:04 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201909200230.x8K2U4DS074056@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Johannes Lundberg cc: Cy Schubert , Adrian Chadd , Cy Schubert , Johannes Lundberg , Poul-Henning Kamp , Tom Jones , freebsd-current , "freebsd-wireless@freebsd.org" Subject: Re: wlan can't discover known networks after relocating In-reply-to: References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> <201909200125.x8K1Pfhd085841@slippy.cwsent.com> Comments: In-reply-to Johannes Lundberg message dated "Thu, 19 Sep 2019 19:01:55 -0700." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Sep 2019 19:30:04 -0700 X-CMAE-Envelope: MS4wfKjwzbhwGK7BKtKIJgBKb/6GU6P6ZaUxpQVa8isNDoIPLqLsdUwNTBLriCPLhbFiNnJ+Znleic2vxo9d/IaSIdmjBjMRuJ/kE57uljvgjVCEm85aAzd4 PJWt8NSu6UbUrJhL7olP/uNkuAxrLYjQbEou2okpnKICY76EFIJwrA0/ik4kaaqrYc1liNM4idW+0YzZqJklHBjfbr7b1peKLZpR31+z3oYCCzdQQQ4D7FiL 8I9omKy60D1Nkw4qDTYSTkeGMd1gRmfh/C9ROvJQzbCYeoI2+9u93b+YBQ0QSfof8hHwDgFP/oHdK3WHqtqPHA== X-Rspamd-Queue-Id: 46ZHkB0qXLz4YkN X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.136.137) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-2.38 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; HAS_XAW(0.00)[]; RCPT_COUNT_SEVEN(0.00)[9]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-2.28)[ip: (-5.86), ipnet: 64.59.128.0/20(-3.08), asn: 6327(-2.39), country: CA(-0.09)]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RCVD_COUNT_FIVE(0.00)[5]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[137.136.59.64.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] 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: Fri, 20 Sep 2019 02:30:11 -0000 In message , Johannes Lundberg writes: > --0000000000000875960592f275a3 > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > Tested today with bgscan added. Didn=E2=80=99t connect to home network unti= > l I > manually run ifconfig wlan0 scan. > Again, this is with failover lagg. I use failover lagg too. I'm still at $JOB so no ethernet for my personal FreeBSD laptop here, but that works as well, at home. > > It did however realize I wasn't at the office anymore and the ssid = > field > was empty in ifconfig output. Sometimes it stays the same long after I > leave the network. Do you suspend/resume your laptop? -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. > > > On Thu, Sep 19, 2019 at 18:25 Cy Schubert wrote= > : > > > In message <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org>, Johannes > > Lundber > > g writes: > > > > > > On 9/19/19 3:06 PM, Adrian Chadd wrote: > > > > So roaming in ifconfig/net80211 is what's set to manual. > > > > > > > > wpa_supplicant right now does RSSI threshold based roaming. All of th= > e > > > > roaming and network preferences when wpa_supplicant is running is don= > e > > > > in wpa_supplicant. That's where you have to look. Ideally > > > > wpa_supplicant would be triggering bgscan too periodically rather tha= > n > > > > only when the RSSI is low. > > > > > > > > > > > > > > > > -adrian > > > > > > > > > > > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert > > > > wrote: > > > > > > > > On September 19, 2019 8:20:07 AM PDT, Adrian Chadd > > > > > wrote: > > > > >Roaming is done in wpa_supplicant when it's running.That's where > > the > > > > >smarts > > > > >need to be. :( > > > > > > > > > > > > > > > > > > > >-adrian > > > > > > > > > > > > > > >On Thu, 19 Sep 2019 at 05:44, Bjoern A. Zeeb > > > > > > > > > > > > > >wrote: > > > > > > > > > >> On 19 Sep 2019, at 12:28, Tom Jones wrote: > > > > >> > > > > >> Hi, > > > > >> > > > > >> freebsd-wireless might be a better list for all this .. > > > > >> > > > > >> > > > > >> > On Tue, Sep 17, 2019 at 04:36:28PM +0000, Poul-Henning Kamp > > > > wrote: > > > > >> >> -------- > > > > >> >> In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.or= > g > > >, > > > > >> >> Johannes Lundber > > > > >> >> g writes: > > > > >> >> > > > > >> >>> For a long time now I have had this problem with iwm and > > wlan0. > > > > >> >>> Whenever > > > > >> >>> I move between work and home it won't reconnect > > > > automatically and > > > > >I > > > > >> >>> have > > > > >> >>> to do wlan0 scan manually for it to pick up the different > > > > >network. > > > > >> >> > > > > >> >> I suffer from the dreaded "reason=3D0" when I move inside m= > y > > > > house: > > > > >> >> > > > > >> >> > scan > > > > >> >> OK > > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > > > >(SSID=3D'Palombia' > > > > >> >> freq=3D2452 MHz) > > > > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:3d:a2:e9 > > reason > > > =3D0 > > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > > >> >> <3>Trying to associate with 6c:3b:6b:ab:ce:d4 > > > > >(SSID=3D'Palombia' > > > > >> >> freq=3D2412 MHz) > > > > >> >> <3>Associated with 6c:3b:6b:ab:ce:d4 > > > > >> >> > > > > >> >> a2:e9 is the loudest AP here in my office, but my I have > > been in > > > > >the > > > > >> >> other end of the house iwn consistently fails to associate > > > > with it > > > > >> >> and > > > > >> >> and keeps picking the weaker AP in the far end. > > > > >> >> > > > > >> >> Eventually (hours!) it disconnects from the weaker ap, also > > with > > > > >> >> "reason=3D0" and gets it right: > > > > >> >> > > > > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d= > 4 > > > > >[GTK=3DCCMP] > > > > >> >> <3>CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:ab:ce:d4 > > reason > > > =3D0 > > > > >> >> <3>CTRL-EVENT-SCAN-RESULTS > > > > >> >> <3>Trying to associate with 6c:3b:6b:3d:a2:e9 > > > > >(SSID=3D'Palombia' > > > > >> >> freq=3D2452 MHz) > > > > >> >> <3>Associated with 6c:3b:6b:3d:a2:e9 > > > > >> >> <3>WPA: Key negotiation completed with 6c:3b:6b:3d:a2:= > e9 > > > > >[PTK=3DCCMP > > > > >> >> GTK=3DCCMP] > > > > >> >> <3>CTRL-EVENT-CONNECTED - Connection to > > 6c:3b:6b:3d:a2:e9 > > > > >> completed > > > > >> >> [id=3D3 id_str=3D] > > > > >> >> <3>WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e= > 9 > > > > >[GTK=3DCCMP] > > > > >> >> > > > > >> >> And yes, working roaming would be nice too... > > > > >> > > > > > >> > I have the problem that when roaming networks become disable= > d > > > > >> > > > > > >> > $ wpa_cli > > > > >> > Selected interface 'wlan0' > > > > >> > > > > > >> > Interactive mode > > > > >> > > > > > >> > > list_networks > > > > >> > network id / ssid / bssid / flags > > > > >> > 0 network1 any [CURRENT] > > > > >> > 1 network2 any [DISABLED] > > > > >> > 2 network3 any [DISABLED] > > > > >> > 3 network4 any [DISABLED] > > > > >> > 4 network5 any [DISABLED] > > > > >> > Selected interface 'wlan0' > > > > >> > > > > > >> > > > > > >> > I address this by doing network_enable x in wpa_cli and it a= > ll > > > > >comes > > > > >> > back. I asked Adrian about this in the past, but it needs so= > me > > > > >> > debugging > > > > >> > to pin down. > > > > >> > > > > >> > > > > >> Is this iwm(4) as well in your case or another card? > > > > >> > > > > >> /bz > > > > >> _______________________________________________ > > > > >> freebsd-wireless@freebsd.org > > > > mailing list > > > > >> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > > > > >> To unsubscribe, send any mail to > > > > >"freebsd-wireless-unsubscribe@freebsd.org > > > > > > > > >> " > > > > >> > > > > >_______________________________________________ > > > > >freebsd-current@freebsd.org > > > > mailing list > > > > >https://lists.freebsd.org/mailman/listinfo/freebsd-current > > > > >To unsubscribe, send any mail to > > > > >"freebsd-current-unsubscribe@freebsd.org > > > > " > > > > > > > > With wpa_supplicant running roaming is set to manual. Bgscan > > > > should be enabled. > > > > > > > > At home we have two n (and 2 g) wifi networks. When powering off > > > > one ap it connects to the other (in addition to using lagg to > > > > failover from ethernet to wifi and back). > > > > > > > > Your wpa_supplicant should contain each ssid you intend to use. A > > > > wildcard can be used for open networks. > > > > > > > > It's a while since I've tested this functionality but I can test > > > > again when I get home tonight. > > > > > > > > > > > > -- > > > > Pardon the typos and autocorrect, small keyboard in use. > > > > Cheers, > > > > Cy Schubert > > > > > > > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > > > > > > The need of the many outweighs the greed of the few. > > > > > > > > > > Hmm so in other words, you have to set bgscan for each network entry yo= > u > > > want roaming? What are some good values for this? > > > > Just tested here. It worked after a short delay, with a not-so-young > > laptop > > with iwn. > > > > wlan0: flags=3D8843 metric 0 mtu = > 1500 > > ether 20:NN:NN:NN:NN:NN > > groups: wlan > > ssid "BBBBBBBB" channel 1 (2412 MHz 11g ht/20) bssid > > 78:BB:BB:BB:BB:BB > > regdomain FCC country US authmode WPA2/802.11i privacy ON > > deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 > > bmiss 120 scanvalid 16959 protmode CTS ampdulimit 64k -amsdutx > > amsdurx > > shortgi -stbc -ldpc wme roaming MANUAL > > media: IEEE 802.11 Wireless Ethernet MCS mode 11ng > > status: associated > > nd6 options=3D29 > > > > And the gory details: > > > > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTE= > D > > bssid=3Da6:NN:NN:NN:NN:NN reason=3D0 > > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Trying to associate > > with > > a6:NN:NN:NN:NN:NN (SSID=3D'AAA' freq=3D2462 MHz) > > Sep 19 17:21:35 slippy wpa_supplicant[381]: Failed to add supported > > operating classes IE > > Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Associated with > > a6:NN:NN:NN:NN:NN > > Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: Authentication with > > a6:08:ea:9c:a0:84 timed out. > > Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTE= > D > > bssid=3Da6:NN:NN:NN:NN:NN reason=3D3 locally_generated=3D1 > > Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Trying to associate > > with > > 78:NN:NN:NN:NN:NN (SSID=3D'BBBBBBBBB' freq=3D2412 MHz) > > Sep 19 17:21:47 slippy wpa_supplicant[381]: Failed to add supported > > operating classes IE > > Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Associated with > > 78:NN:NN:NN:NN:NN > > Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: WPA: Key negotiation > > completed with 78:NN:NN:NN:NN:NN [PTK=3DCCMP GTK=3DCCMP] > > Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-CONNECTED - > > Connection to 78:NN:NN:NN:NN:NN completed [id=3D7 id_str=3D] > > > > AAA is my cell phone. the B's are $JOB. > > > > The relevant parts of my wpa_supplicant.conf: > > > > network=3D{ > > ssid=3D"AAA" > > priority=3D6 > > proto=3DRSN WPA > > key_mgmt=3DWPA-PSK > > pairwise=3DCCMP > > group=3DCCMP > > psk=3D"x" > > } > > > > network=3D{ > > ssid=3D"BBBBBBBBB" > > scan_ssid=3D1 > > priority=3D5 > > proto=3DRSN WPA > > key_mgmt=3DWPA-PSK > > pairwise=3DCCMP TKIP > > group=3DCCMP TKIP > > psk=3D"y" > > } > > > > #Wildcard match for SSID (plaintext APs only). This example select any > > #open AP regardless of its SSID. > > network=3D{ > > priority=3D0 > > disabled=3D1 > > key_mgmt=3DNONE > > } > > > > Hope this helps. > > > > > > -- > > Cheers, > > Cy Schubert > > FreeBSD UNIX: Web: http://www.FreeBSD.org > > > > The need of the many outweighs the greed of the few. > > > > > > > > --0000000000000875960592f275a3 > Content-Type: text/html; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > >
Tested today with bgscan added. Didn=E2=80=99t conne= > ct to home network until I manually run ifconfig wlan0 scan.=C2=A0
iv>
Again, this is with failover lagg.=C2=A0
=3D"auto">
It did however realize I wasn=E2=80= > =99t at the office anymore and the ssid field was empty in ifconfig output.= > Sometimes it stays the same long after I leave the network.=C2=A0
v dir=3D"auto">

r" class=3D"gmail_attr">On Thu, Sep 19, 2019 at 18:25 Cy Schubert < ef=3D"mailto:Cy.Schubert@cschubert.com">Cy.Schubert@cschubert.com> w= > rote:
;border-left:1px #ccc solid;padding-left:1ex">In message <7938e5fa-67da-= > 35fa-10d0-ee3004438df7@FreeBSD.org>, Johannes
> Lundber
> g writes:
> >
> > On 9/19/19 3:06 PM, Adrian Chadd wrote:
> > > So roaming in ifconfig/net80211 is what's set to manual.
> > >
> > > wpa_supplicant right now does RSSI threshold based roaming. All o= > f the
> > > roaming and network preferences when wpa_supplicant is running is= > done
> > > in wpa_supplicant. That's where you have to look. Ideally
> > > wpa_supplicant would be triggering bgscan too periodically rather= > than
> > > only when the RSSI is low.
> > >
> > >
> > >
> > > -adrian
> > >
> > >
> > > On Thu, 19 Sep 2019 at 15:04, Cy Schubert < y.schubert@gmail.com" target=3D"_blank">cy.schubert@gmail.com
> > > <mailto: ank">cy.schubert@gmail.com>> wrote:
> > >
> > >=C2=A0 =C2=A0 =C2=A0On September 19, 2019 8:20:07 AM PDT, Adrian C= > hadd
> > >=C2=A0 =C2=A0 =C2=A0< target=3D"_blank">adrian.chadd@gmail.com <mailto: drian.chadd@gmail.com" target=3D"_blank">adrian.chadd@gmail.com>>= > wrote:
> > >=C2=A0 =C2=A0 =C2=A0>Roaming is done in wpa_supplicant when it&= > #39;s running.That's where the
> > >=C2=A0 =C2=A0 =C2=A0>smarts
> > >=C2=A0 =C2=A0 =C2=A0>need to be. :(
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>-adrian
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>On Thu, 19 Sep 2019 at 05:44, Bjoern A. Ze= > eb
> > >=C2=A0 =C2=A0 =C2=A0>< bbadoz.net" target=3D"_blank">bzeeb-lists@lists.zabbadoz.net
> > >=C2=A0 =C2=A0 =C2=A0<mailto: .zabbadoz.net" target=3D"_blank">bzeeb-lists@lists.zabbadoz.net>>= >
> > >=C2=A0 =C2=A0 =C2=A0>wrote:
> > >=C2=A0 =C2=A0 =C2=A0>
> > >=C2=A0 =C2=A0 =C2=A0>> On 19 Sep 2019, at 12:28, Tom Jones w= > rote:
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>> Hi,
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>> freebsd-wireless might be a better li= > st for all this ..
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>> > On Tue, Sep 17, 2019 at 04:36:28= > PM +0000, Poul-Henning Kamp
> > >=C2=A0 =C2=A0 =C2=A0wrote:
> > >=C2=A0 =C2=A0 =C2=A0>> >> --------
> > >=C2=A0 =C2=A0 =C2=A0>> >> In message <707bcd3f-fa6b= > -82eb-fa8f-09c4b800f477@FreeBSD.org>,
> > >=C2=A0 =C2=A0 =C2=A0>> >> Johannes Lundber
> > >=C2=A0 =C2=A0 =C2=A0>> >> g writes:
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >>> For a long time now I ha= > ve had this problem with iwm and wlan0.
> > >=C2=A0 =C2=A0 =C2=A0>> >>> Whenever
> > >=C2=A0 =C2=A0 =C2=A0>> >>> I move between work and = > home it won't reconnect
> > >=C2=A0 =C2=A0 =C2=A0automatically and
> > >=C2=A0 =C2=A0 =C2=A0>I
> > >=C2=A0 =C2=A0 =C2=A0>> >>> have
> > >=C2=A0 =C2=A0 =C2=A0>> >>> to do wlan0 scan manuall= > y for it to pick up the different
> > >=C2=A0 =C2=A0 =C2=A0>network.
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >> I suffer from the dreaded &q= > uot;reason=3D0" when I move inside my
> > >=C2=A0 =C2=A0 =C2=A0house:
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 > sca= > n
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 OK
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-SCAN-RESULTS
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;Trying to associate with 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>(SSID=3D'Palombia'
> > >=C2=A0 =C2=A0 =C2=A0>> >> freq=3D2452 MHz)
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:3d:a2:e9 reason
> > =3D0
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-SCAN-RESULTS
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;Trying to associate with 6c:3b:6b:ab:ce:d4
> > >=C2=A0 =C2=A0 =C2=A0>(SSID=3D'Palombia'
> > >=C2=A0 =C2=A0 =C2=A0>> >> freq=3D2412 MHz)
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;Associated with 6c:3b:6b:ab:ce:d4
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >> a2:e9 is the loudest AP here= > in my office, but my I have been in
> > >=C2=A0 =C2=A0 =C2=A0>the
> > >=C2=A0 =C2=A0 =C2=A0>> >> other end of the house iwn c= > onsistently fails to associate
> > >=C2=A0 =C2=A0 =C2=A0with it
> > >=C2=A0 =C2=A0 =C2=A0>> >> and
> > >=C2=A0 =C2=A0 =C2=A0>> >> and keeps picking the weaker= > AP in the far end.
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >> Eventually (hours!) it disco= > nnects from the weaker ap, also with
> > >=C2=A0 =C2=A0 =C2=A0>> >> "reason=3D0" and g= > ets it right:
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;WPA: Group rekeying completed with 6c:3b:6b:ab:ce:d4
> > >=C2=A0 =C2=A0 =C2=A0>[GTK=3DCCMP]
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-DISCONNECTED bssid=3D6c:3b:6b:ab:ce:d4 reason
> > =3D0
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-SCAN-RESULTS
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;Trying to associate with 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>(SSID=3D'Palombia'
> > >=C2=A0 =C2=A0 =C2=A0>> >> freq=3D2452 MHz)
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;Associated with 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;WPA: Key negotiation completed with 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>[PTK=3DCCMP
> > >=C2=A0 =C2=A0 =C2=A0>> >> GTK=3DCCMP]
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>> completed
> > >=C2=A0 =C2=A0 =C2=A0>> >> [id=3D3 id_str=3D]
> > >=C2=A0 =C2=A0 =C2=A0>> >>=C2=A0 =C2=A0 =C2=A0 <3>= > ;WPA: Group rekeying completed with 6c:3b:6b:3d:a2:e9
> > >=C2=A0 =C2=A0 =C2=A0>[GTK=3DCCMP]
> > >=C2=A0 =C2=A0 =C2=A0>> >>
> > >=C2=A0 =C2=A0 =C2=A0>> >> And yes, working roaming wou= > ld be nice too...
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> > I have the problem that when roa= > ming networks become disabled
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0$ wpa_= > cli
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Select= > ed interface 'wlan0'
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Intera= > ctive mode
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0> l= > ist_networks
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0networ= > k id / ssid / bssid / flags
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A00=C2= > =A0 =C2=A0 =C2=A0 =C2=A0network1=C2=A0 =C2=A0 =C2=A0 =C2=A0 any=C2=A0 =C2= > =A0 =C2=A0[CURRENT]
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A01=C2= > =A0 =C2=A0 =C2=A0 =C2=A0network2 any=C2=A0 =C2=A0 [DISABLED]
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A02=C2= > =A0 =C2=A0 =C2=A0 =C2=A0network3 any=C2=A0 =C2=A0 [DISABLED]
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A03=C2= > =A0 =C2=A0 =C2=A0 =C2=A0network4 any=C2=A0 =C2=A0 [DISABLED]
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A04=C2= > =A0 =C2=A0 =C2=A0 =C2=A0network5 any=C2=A0 =C2=A0 [DISABLED]
> > >=C2=A0 =C2=A0 =C2=A0>> >=C2=A0 =C2=A0 =C2=A0 =C2=A0Select= > ed interface 'wlan0'
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> >
> > >=C2=A0 =C2=A0 =C2=A0>> > I address this by doing network_= > enable x in wpa_cli and it all
> > >=C2=A0 =C2=A0 =C2=A0>comes
> > >=C2=A0 =C2=A0 =C2=A0>> > back. I asked Adrian about this = > in the past, but it needs some
> > >=C2=A0 =C2=A0 =C2=A0>> > debugging
> > >=C2=A0 =C2=A0 =C2=A0>> > to pin down.
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>> Is this iwm(4) as well in your case o= > r another card?
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>> /bz
> > >=C2=A0 =C2=A0 =C2=A0>> _____________________________________= > __________
> > >=C2=A0 =C2=A0 =C2=A0>> eebsd.org" target=3D"_blank">freebsd-wireless@freebsd.org
> > >=C2=A0 =C2=A0 =C2=A0<mailto: freebsd.org" target=3D"_blank">freebsd-wireless@freebsd.org> mailing= > list
> > >=C2=A0 =C2=A0 =C2=A0>> mailman/listinfo/freebsd-wireless" rel=3D"noreferrer" target=3D"_blank">htt= > ps://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> > >=C2=A0 =C2=A0 =C2=A0>> To unsubscribe, send any mail to
> > >=C2=A0 =C2=A0 =C2=A0>" nsubscribe@freebsd.org" target=3D"_blank">freebsd-wireless-unsubscribe@free= > bsd.org
> > >=C2=A0 =C2=A0 =C2=A0<mailto: unsubscribe@freebsd.org" target=3D"_blank">freebsd-wireless-unsubscribe@fre= > ebsd.org>
> > >=C2=A0 =C2=A0 =C2=A0>> "
> > >=C2=A0 =C2=A0 =C2=A0>>
> > >=C2=A0 =C2=A0 =C2=A0>__________________________________________= > _____
> > >=C2=A0 =C2=A0 =C2=A0> org" target=3D"_blank">freebsd-current@freebsd.org <mailto: =3D"mailto:freebsd-current@freebsd.org" target=3D"_blank">freebsd-current@f= > reebsd.org>
> > >=C2=A0 =C2=A0 =C2=A0mailing list
> > >=C2=A0 =C2=A0 =C2=A0> an/listinfo/freebsd-current" rel=3D"noreferrer" target=3D"_blank">https://l= > ists.freebsd.org/mailman/listinfo/freebsd-current
> > >=C2=A0 =C2=A0 =C2=A0>To unsubscribe, send any mail to
> > >=C2=A0 =C2=A0 =C2=A0>" subscribe@freebsd.org" target=3D"_blank">freebsd-current-unsubscribe@freebs= > d.org
> > >=C2=A0 =C2=A0 =C2=A0<mailto: nsubscribe@freebsd.org" target=3D"_blank">freebsd-current-unsubscribe@freeb= > sd.org>"
> > >
> > >=C2=A0 =C2=A0 =C2=A0With wpa_supplicant running roaming is set to = > manual. Bgscan
> > >=C2=A0 =C2=A0 =C2=A0should be enabled.=C2=A0
> > >
> > >=C2=A0 =C2=A0 =C2=A0At home we have two n (and 2 g) wifi networks.= > When powering off
> > >=C2=A0 =C2=A0 =C2=A0one ap it connects to the other (in addition t= > o using lagg to
> > >=C2=A0 =C2=A0 =C2=A0failover from ethernet to wifi and back).
> > >
> > >=C2=A0 =C2=A0 =C2=A0Your wpa_supplicant should contain each ssid y= > ou intend to use. A
> > >=C2=A0 =C2=A0 =C2=A0wildcard can be used for open networks.
> > >
> > >=C2=A0 =C2=A0 =C2=A0It's a while since I've tested this fu= > nctionality but I can test
> > >=C2=A0 =C2=A0 =C2=A0again when I get home tonight.
> > >
> > >
> > >=C2=A0 =C2=A0 =C2=A0--
> > >=C2=A0 =C2=A0 =C2=A0Pardon the typos and autocorrect, small keyboa= > rd in use.
> > >=C2=A0 =C2=A0 =C2=A0Cheers,
> > >=C2=A0 =C2=A0 =C2=A0Cy Schubert < cschubert.com" target=3D"_blank">Cy.Schubert@cschubert.com
> > >=C2=A0 =C2=A0 =C2=A0<mailto: bert.com" target=3D"_blank">Cy.Schubert@cschubert.com>>
> > >=C2=A0 =C2=A0 =C2=A0FreeBSD UNIX: <cy@FreeBSD.org> Web: ref=3D"http://www.FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">http://= > www.FreeBSD.org
> > >
> > >=C2=A0 =C2=A0 =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 The need of the ma= > ny outweighs the greed of the few.
> > >
> >
> > Hmm so in other words, you have to set bgscan for each network entry y= > ou
> > want roaming? What are some good values for this?
>
> Just tested here. It worked after a short delay, with a not-so-young laptop= >
> with iwn.
>
> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 = > mtu 1500
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 20:NN:NN:NN:NN:NN
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: wlan
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid "BBBBBBBB" channel 1 (2412 MHz 1= > 1g ht/20) bssid 78:BB:BB:BB:BB:BB
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 regdomain FCC country US authmode WPA2/802.11i = > privacy ON
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-= > bit txpower 30
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 bmiss 120 scanvalid 16959 protmode CTS ampdulim= > it 64k -amsdutx amsdurx
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 shortgi -stbc -ldpc wme roaming MANUAL
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 media: IEEE 802.11 Wireless Ethernet MCS mode 1= > 1ng
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 status: associated
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_= > LINKLOCAL>
>
> And the gory details:
>
> Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTED = >
> bssid=3Da6:NN:NN:NN:NN:NN reason=3D0
> Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Trying to associate with= >
> a6:NN:NN:NN:NN:NN (SSID=3D'AAA' freq=3D2462 MHz)
> Sep 19 17:21:35 slippy wpa_supplicant[381]: Failed to add supported
> operating classes IE
> Sep 19 17:21:35 slippy wpa_supplicant[381]: wlan0: Associated with
> a6:NN:NN:NN:NN:NN
> Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: Authentication with
> a6:08:ea:9c:a0:84 timed out.
> Sep 19 17:21:45 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-DISCONNECTED = >
> bssid=3Da6:NN:NN:NN:NN:NN reason=3D3 locally_generated=3D1
> Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Trying to associate with= >
> 78:NN:NN:NN:NN:NN (SSID=3D'BBBBBBBBB' freq=3D2412 MHz)
> Sep 19 17:21:47 slippy wpa_supplicant[381]: Failed to add supported
> operating classes IE
> Sep 19 17:21:47 slippy wpa_supplicant[381]: wlan0: Associated with
> 78:NN:NN:NN:NN:NN
> Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: WPA: Key negotiation > > completed with 78:NN:NN:NN:NN:NN [PTK=3DCCMP GTK=3DCCMP]
> Sep 19 17:21:48 slippy wpa_supplicant[381]: wlan0: CTRL-EVENT-CONNECTED - <= > br> > Connection to 78:NN:NN:NN:NN:NN completed [id=3D7 id_str=3D]
>
> AAA is my cell phone. the B's are $JOB.
>
> The relevant parts of my wpa_supplicant.conf:
>
> network=3D{
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid=3D"AAA"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 priority=3D6
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 proto=3DRSN WPA
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 key_mgmt=3DWPA-PSK
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pairwise=3DCCMP
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 group=3DCCMP
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 psk=3D"x"
> }
>
> network=3D{
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 ssid=3D"BBBBBBBBB"
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 scan_ssid=3D1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 priority=3D5
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 proto=3DRSN WPA
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 key_mgmt=3DWPA-PSK
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 pairwise=3DCCMP TKIP
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 group=3DCCMP TKIP
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 psk=3D"y"
> }
>
> #Wildcard match for SSID (plaintext APs only). This example select any
> #open AP regardless of its SSID.
> network=3D{
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 priority=3D0
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 disabled=3D1
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 key_mgmt=3DNONE
> }
>
> Hope this helps.
>
>
> --
> Cheers,
> Cy Schubert < nk">Cy.Schubert@cschubert.com>
> FreeBSD UNIX:=C2=A0 <cy@FreeBSD.org>=C2=A0 =C2=A0Web:=C2=A0 =3D"http://www.FreeBSD.org" rel=3D"noreferrer" target=3D"_blank">http://www= > .FreeBSD.org
>
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 The need of the many outweighs the greed of the= > few.
>
>
>
> > --0000000000000875960592f275a3-- From owner-freebsd-wireless@freebsd.org Fri Sep 20 02:59:40 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EA1F6EED94; Fri, 20 Sep 2019 02:59:40 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZJNC6sTSz4b3k; Fri, 20 Sep 2019 02:59:39 +0000 (UTC) (envelope-from johalun0@gmail.com) Received: by mail-pg1-x52d.google.com with SMTP id z12so2970392pgp.9; Thu, 19 Sep 2019 19:59:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:autocrypt:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=7tT/GJDXE0sg6HSexgW4C6ioi9cs9IfUqcxwllUy/sM=; b=aQlTdRbkffrkeU7SYWlAGCqV5zR5Sc4EU8bkqLPDeSqiTsQ5/tSd7rpBpJmvmkAURG xoAG2Z5uvOjp0UoWHMr5PaQu9oAp7GWdUGd/50o7L907qC+JPm7BWbpKeOj6YdwgGhyT FskzNXBG0Wo+hkuUAgQj8D9UHY6zKLHflbmJz2yogHYxW06/+nsLbr2kj3ABbSxYNUEx pzMAxZR+9AcbBl1R3m9gOwsjP3fX/OZORo6cqhSTPnae32VGmZVMe8MhX9GV7aZ0rdjm nvwRfqTMR4UwlZ9ku5ddwmNbCdwnrUSCxp0cYB5IvyOcJnZtil/bxGbmlOuyW9B2PcKQ iysQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=7tT/GJDXE0sg6HSexgW4C6ioi9cs9IfUqcxwllUy/sM=; b=IyIZfWHf47RIOEnOtmYiivzG+PnnekZ7NUoV+gckjpOEuD9LSeNwL330xHxeVT4n6v sBEMXZLJFjAtftJDLA1HoUA4F/Qkd8oZ60dEAB4WPc7dzvT1BPhAZ7goGDGtTv/dGawk RlMXw4iTwLZTDo2q54zTPKZUWepA14qlnaNSd3PLq1Rmw41QyzDYCykx5A0X7kc/zxeY 3waW9wtXdc+hTkFEbRcWS7uMeBJi7Fymrwm0dAtcRUsGl72yS+Xsou6/uPKw1NuDXKVd joJMF9MZKx8N91JgT6J49DWpWNtjqh7VycxY79695AUJ/ZsFIssGKWeoHKtXnMc1m+Ia SI3A== X-Gm-Message-State: APjAAAVJndKTf2cdPqD9R+4b4xasx+9p1ZLvOP1F/9EbQw5uSFiNGr6k H52NiH94QqIXf6XqPHk9u9aGGhPO80I= X-Google-Smtp-Source: APXvYqzHKJbAAayHb/6SXtnPMJrBMzlPcvhIqvuGiBLj9UjVzxuugMv1b/knZ0No6pnCaNxuWqcM9g== X-Received: by 2002:a63:d608:: with SMTP id q8mr12726696pgg.422.1568948377759; Thu, 19 Sep 2019 19:59:37 -0700 (PDT) Received: from [192.168.0.83] (ip24-251-216-143.ph.ph.cox.net. [24.251.216.143]) by smtp.gmail.com with ESMTPSA id k127sm325322pga.54.2019.09.19.19.59.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 19 Sep 2019 19:59:37 -0700 (PDT) Subject: Re: wlan can't discover known networks after relocating To: Cy Schubert Cc: Adrian Chadd , Cy Schubert , Johannes Lundberg , Poul-Henning Kamp , Tom Jones , freebsd-current , "freebsd-wireless@freebsd.org" References: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org> <6985.1568738188@critter.freebsd.dk> <20190919122804.GA80037@tom-desk.erg.abdn.ac.uk> <7938e5fa-67da-35fa-10d0-ee3004438df7@FreeBSD.org> <201909200125.x8K1Pfhd085841@slippy.cwsent.com> <201909200230.x8K2U4DS074056@slippy.cwsent.com> From: Johannes Lundberg Autocrypt: addr=johalun0@gmail.com; keydata= mQINBFxFmoIBEADoFO5jY+Fmsg44KiZjufEmpEf4kt7nCOfxNG9SruWpoXUaq0B296F+fIZC hNZqv1v7lGTsfoWRusxJmLd5CQgHHxEyruZbbPpNsQ/JKoDY3GGmrmWfN/SX3y0t0kdB9HsW mJcvZhK7we52f4gxddIVBS9nQoVoONX+hzXf8zwOAa0ik0EPgEwpIKS4j9lLq4bU+mqVKdRR bPeDujEA/qbsCKhaFJkPzXZtzEe6srq4RK1doEztwnKz02b+8gs642TRkWDQeTRZputrAaoN Un4R76A1QpXWyrFG1dQu48IGHi3KbkrvNyq6R1aUBIA0+CG1npIbxmc2mtSjoyvdipmDRbBD +mhECIxmYfBT6818zuj91XjrfOyfVdV2BryBvqFkJLkS3N3QElBIiVdDgdrqiNFWiOlDMxNI tdP16oQBNo8IB27/0YHpnQEw1MafZv5gG5DO0zLtLy88ASAfL7BYf90JP19rT4JIwnxsXxyv kEJnzhsXf0QVObEiAu1MqeFyWfZ8PpunmvEmJ0VChOL+v/kIx1E9cxhhzMZhqiMXfyM4zx2+ BF1FwAwJYPuJLu2B3L0uVBu+M1YvSOmKAbXPDP8PsqPjgSBTYI51MUjuuxN6jSsHDuK6G5k4 pUWR8axa+wafhd6Vz8zVwdTJZ9LdxgLLVg0kprBgccPHhPAZVQARAQABtCZKb2hhbm5lcyBM dW5kYmVyZyA8am9oYWx1bjBAZ21haWwuY29tPokCVAQTAQgAPhYhBIl1Pb3+hI60ivmRSULn yG4BGvSeBQJcRZqCAhsjBQkJZgGABQsJCAcCBhUKCQgLAgQWAgMBAh4BAheAAAoJEELnyG4B GvSe9O0P/RzeQAu1R37RlONZTXNn+qIAHvHbZEhzrCibzaZnwYdC31wGrYmXNDyiQIqOngFf QJuufQtH/+95OESJsjR+42L/pNfFdaEWxiI003qE7uCMzLK5UWUXd/5d5vYY0CaPyNCj1tyM ZIq7x4CaR3QLTh/Fw4zMUI/ZPH2S5SxVFGv0ZZFAdNYILD3qCkAS/9HmXsqufBWbfutA8TTf wyJfywmvf7ENjlZ4QOjb242ZY9NndqbmqTgWVAws+PN5e9AT8HkadscCTCSkYnxJyYG2El27 DpAAkekYplb/C0j82KSz2fy9RgwD+tTqt88DJOeFbIbrYt44u7KLHpzaZeqyUtn0reHCkE0W lnKH2kXXbuswFB4sONxI/J5+qSmOsAm5ItO3voyjm/swpmFR1yBlxo4th26gbO5NfBOK9YsY zHKgiRDv6ZdnHo+htphRxcCDHsFPzkQe5jouI25dvMZYl1LaTS/09lwYVwVIB2SFmMtFZ7rB N4NBSzPlpsg+g4dJNqiw6Rfa2Q/wUv+MzTJgLtHjDccXlpm33Nc09UytHFtNn26PO/zrM39r TwzdLu1mg0x2WWEWTIqe4CaczQU9SIg49BSyJNoPSZx3V7nMhTKbOeQKR5aV3dXI66aENw86 pa1tipuUKCPmope/GTJatUgPiD3JkyiD+7c1zQX2UAGmuQINBFxFmoIBEACb55RAkM59huAx 4Ddd8WBjsw25qf7rzxeRKAQ7or/8LvJBYQDPXZy0RhkRiu+P+MjxwGb6HVh+LDyAYDn9d8Mt ZqCP/dOGNcl7pkb6IhfRc3i5neckXCYfbm0cigiX9JkqZSt3KT96zbjCxsFZKyIyEFsMl46q 7wKWK5Irj3zxV/Z51JNTJyMLcIRWhY8G6qlMNFgZkz2Hv63w6BRekKVImOmOdThLAscy5ybq 2CIUeAwPG7lMYG9rgcPdn3tMPeWlLmUmi5pSwOQ3AKg3xFrW3WfegjRHdqpeuXoeTjYPPCW4 gyl59uv6E12a6eivItCxj67vlBXgOr4um+zoPyXG/WfidIFtWaEgyBrlGR1Klk7SIcqjEHUA FdiM+PweY4opHXXKn60NOZCqBJ59K43drOQgRouz8E2T3yEoYg40xAfY3lhJV/Vx5+kSTjmy sT2xotlPn/GzfaAEvNuJDK+Mec3LvfbbDoOWFolNyEvoMQqF5Q3A8eGqYsoVGBPxyzNvF2iY LkymxiXpgrSN0Q/LOK7pFlWwbVC8Z6g5I0J9ecgD55dGLoX2luLir787XX/JxGffzbRnP9NE ifenJGrQmx4CyEaz/CHQqSbROm5Uo/YFUX9J7OfUO4mtu90j773j32I3psey/Fz3EC/A2PHv Ghb0KsWYpS3Pj5TV1gGyswARAQABiQI8BBgBCAAmFiEEiXU9vf6EjrSK+ZFJQufIbgEa9J4F AlxFmoICGwwFCQlmAYAACgkQQufIbgEa9J7qOQ//YG/4e69YTSjtiYLXzBI8tRU2Sx+NFByx zx+C/r0EBThLtgRwCqEUZRB7iIDSO8aZ0Qa3vwWRohlD1tn/LBdDFfMmuQkNVdLIrjBoGBB9 B5xHdZJ9xnTZEwpTtk6IWolT4j+8rpGemGKKiFo3X6l02On4Qb4iM7h6rcDb76mfwooNYzB3 8PPcLvyOWb/9iCXAb5N7doo5zmOl15DVwvIF04eXU0q1FFj/iS1zNmtZ5Got82O1TQFV+de4 Rb3YA80IZhhhCiHHJqkMKeKQogRqU+UNDBARUBxfUtKsJtQzTQ2JUGwkb6X6bx53FTLP6O9q hDoODVweE1LdB1k1H5Nn+gawPdRMBqj43Y2amK7KEgoTBrwU04CLpKiaAC0S+EcJFfJcwtpK k3F+uTtP/hnhFnWbn8SgRkHKXKWqSCt63NstXhMzAJut1gEzV+CcPNKqa/sFgQaYEvzCS5Kl F/PXj0++f3TIFqT+2ZNNp8Bz8dT7gh8RPPg5oYQiCHH8K1RAmq7gKqmwyg0qgOazHnped+od X4f3qx320JAP6NP9wglDm6eht48NJzb0sffN8z34wrP66oz8oPKtS5CFV0m/384hEg0lmi3W wo2Hno7rA1etTPJX0dI6/GLlQDtNTHvKQ077HQdWVOMQVWC9j7YH7Zr9NjtOvxcNVRX3fxpJ 6CE= Message-ID: <5ade24b7-88a7-db75-59dd-ad5a04467b1e@gmail.com> Date: Thu, 19 Sep 2019 19:59:35 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.0 MIME-Version: 1.0 In-Reply-To: <201909200230.x8K2U4DS074056@slippy.cwsent.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Rspamd-Queue-Id: 46ZJNC6sTSz4b3k X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=aQlTdRbk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of johalun0@gmail.com designates 2607:f8b0:4864:20::52d as permitted sender) smtp.mailfrom=johalun0@gmail.com X-Spamd-Result: default: False [-1.50 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCPT_COUNT_SEVEN(0.00)[8]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[d.2.5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(0.00)[ip: (-8.79), ipnet: 2607:f8b0::/32(-2.66), asn: 15169(-2.21), country: US(-0.05)]; FREEMAIL_CC(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; SUSPICIOUS_RECIPS(1.50)[] 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: Fri, 20 Sep 2019 02:59:41 -0000 On 9/19/19 7:30 PM, Cy Schubert wrote: > In message om> > , Johannes Lundberg writes: >> --0000000000000875960592f275a3 >> Content-Type: text/plain; charset="UTF-8" >> Content-Transfer-Encoding: quoted-printable >> >> Tested today with bgscan added. Didn=E2=80=99t connect to home network unti= >> l I >> manually run ifconfig wlan0 scan. >> Again, this is with failover lagg. > I use failover lagg too. I'm still at $JOB so no ethernet for my personal > FreeBSD laptop here, but that works as well, at home. > >> It did however realize I wasn't at the office anymore and the ssid = >> field >> was empty in ifconfig output. Sometimes it stays the same long after I >> leave the network. > Do you suspend/resume your laptop? Not the last few months because iichid doesn't support it yet. I just leave it on while going between work/home. > From owner-freebsd-wireless@freebsd.org Fri Sep 20 15:49:04 2019 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 955D51212B9 for ; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 46ZdS03W7Jz4L9N for ; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id 76AC21212B8; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) Delivered-To: wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 765F21212B7 for ; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46ZdS02X1Yz4L9M for ; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3AA6027E13 for ; Fri, 20 Sep 2019 15:49:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8KFn45b055428 for ; Fri, 20 Sep 2019 15:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8KFn4Sh055427 for wireless@FreeBSD.org; Fri, 20 Sep 2019 15:49:04 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 193512] ath0: bb hang detected (0x1), resetting for AR9287 Date: Fri, 20 Sep 2019 15:49:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: wireless X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: iasen.kostov@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: wireless@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Fri, 20 Sep 2019 15:49:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D193512 iasen.kostov@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |iasen.kostov@gmail.com --- Comment #4 from iasen.kostov@gmail.com --- Same here FreeBSD 12.0-RELEASE-p10 GENERIC amd64 Sep 20 18:30:51 HeadBanG kernel: ath0: bb hang detected (0x4), resetting Sep 20 18:31:20 HeadBanG syslogd: last message repeated 13 times Sep 20 18:33:22 HeadBanG syslogd: last message repeated 80 times Sep 20 18:43:22 HeadBanG syslogd: last message repeated 514 times ath0: mem 0xd4700000-0xd470ffff irq 19 at device 0.0 on pci5 [ath] AR9285E_20 detected; using XE TX gain tables [ath] AR9285 Main LNA config: LNA1 [ath] AR9285 Alt LNA config: LNA2 [ath] LNA diversity disabled, Diversity disabled ath0: [HT] enabling HT modes ath0: [HT] 1 stream STBC receive enabled ath0: [HT] 1 RX streams; 1 TX streams ath0: AR9285 mac 192.2 RF5133 phy 14.0 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 --=20 You are receiving this mail because: You are the assignee for the bug.=