From owner-freebsd-current@freebsd.org Thu Sep 19 15:20:22 2019 Return-Path: Delivered-To: freebsd-current@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-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current 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 > " >