Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2019 16:36:28 +0000
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Johannes Lundberg <johalun@FreeBSD.org>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: wlan can't discover known networks after relocating
Message-ID:  <6985.1568738188@critter.freebsd.dk>
In-Reply-To: <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>
References:  <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--------
In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f477@FreeBSD.org>, Johannes Lu=
ndber
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 my house:

	> scan
	OK
	<3>CTRL-EVENT-SCAN-RESULTS =

	<3>Trying to associate with 6c:3b:6b:3d:a2:e9 (SSID=3D'Palombia' freq=3D2=
452 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=3D2=
412 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: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=3D2=
452 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=3D=
CCMP]
	<3>CTRL-EVENT-CONNECTED - Connection to 6c:3b:6b:3d:a2:e9 completed [id=3D=
3 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...

-- =

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    =

Never attribute to malice what can adequately be explained by incompetence=
.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6985.1568738188>