Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
On 9/19/19 7:30 PM, Cy Schubert wrote: > In message om> > , Johannes Lundberg writes: >> --0875960592f275a3 >> 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=

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Cy Schubert
In message , Johannes Lundberg writes: > --0875960592f275a3 > 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,

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
Tested today with bgscan added. Didn’t connect to home network until I manually run ifconfig wlan0 scan. Again, this is with failover lagg. 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

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Cy Schubert
In message <7938e5fa-67da-35fa-10d0-ee3004438...@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

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
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

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Johannes Lundberg
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

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
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

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Cy Schubert
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, >> >>

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Adrian Chadd
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,

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Bjoern A. Zeeb
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 +, Poul-Henning Kamp wrote: In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f...@freebsd.org>, Johannes Lundber g writes: For a long time now

Re: wlan can't discover known networks after relocating

2019-09-19 Thread Tom Jones
On Tue, Sep 17, 2019 at 04:36:28PM +, Poul-Henning Kamp wrote: > > In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f...@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

Re: wlan can't discover known networks after relocating

2019-09-17 Thread Poul-Henning Kamp
In message <707bcd3f-fa6b-82eb-fa8f-09c4b800f...@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