wpa_supplicant has a bad bug. If there are many BSSID for a single SSID, wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey wifi, etc. Does anyone know of a way to get it to grab the strongest
signal (Yes, I know what the strongest is may fluctuate, but it is
better to grab a signal that is now strong, rather than grab a very weak BSSID)
The BSSID is the hadware address of a given wifi access point, while the
SSID is the name of the network that that access point is supposed to
connect to. Thus at a University there may be many BSSID all of which
connect to the eduroam network. Or in a Hotel, there may be many access points all of which have the same name "Hilton Bombay" but being from different floors of the hotel, will vary widely in strength.
wpa_supplicant just grabs the first one it sees, which could be from 3
floors away with a signal strength of "one bar" and completelydisappears
when someone on the intermediate floors takes a bath (the water
reflecting the signal). This is instead of using the signal from the AP
just outside the door of your room on your floor.
Op Thu, 23 Jun 2022 01:39:32 +0000, schreef William Unruh:....
wpa_supplicant has a bad bug. If there are many BSSID for a single SSID,
wpa_supplicant will simply grab the first BSSID it sees to connect to.
Any particular reason why you prefer the command i.s.o. using MCC -
Network Center???
wpa_supplicant has a bad bug.
If there are many BSSID for a single SSID,
wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey wifi, etc. Does anyone know of a way to get it to grab the strongest
signal
On Thu, 23 Jun 2022 01:39:32 -0000 (UTC), William Unruh wrote:
wpa_supplicant has a bad bug.
Hope you opened a bug report so that the app maintainer knows about it,
not Mageia.
If there are many BSSID for a single SSID,
wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey
wifi, etc. Does anyone know of a way to get it to grab the strongest
signal
All I can suggest is a wrapper you create to dump desired BSSID and strength, sort, chose, create a configuration file, then launch the connection.
for example you can run, as root,
wpa_cli -i wlp2s0 scan_results | sort -n --key=4 --key=2 | cat -n > aa
You can then read aa and build a button string to use with xmessage to provide a selection to pick from. Example:
# cat aa
1 f4:69:42:f2:52:0f 2412 -79 [WPA2-PSK-CCMP][ESS] SpectrumSetup-11
2 40:b0:34:de:47:1e 2437 -73 [WPA2-PSK-CCMP][WPS][ESS] DIRECT-1D-HP OfficeJet 4650
3 40:b8:9a:da:b2:1e 2462 -71 [WPA2-PSK-CCMP][WPS][ESS] Ulisses-2G
4 e8:d2:ff:bc:17:e6 2412 -69 [WPA2-PSK-CCMP][ESS] SpectrumSetup-E0
5 c8:b4:22:61:06:79 2437 -65 [WPA2-PSK-CCMP][ESS] Houseofpain
6 80:cc:9c:ba:9d:0c 2452 -65 [WPA2-PSK-CCMP][WPS][ESS] NETGEAR04
7 bssid / frequency / signal level / flags / ssid
# xmessage -buttons 1,2,3,4,5,6,7 -file aa
You can use a case statement to parse $? to see/get user selection.
Ir user clicks button 5 $? will have 105
That tells the wrapper to use line 5 to build a configuration file and
launch the connection.
Op Thu, 23 Jun 2022 01:39:32 +0000, schreef William Unruh:
wpa_supplicant has a bad bug. If there are many BSSID for a single SSID,
wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey
wifi, etc. Does anyone know of a way to get it to grab the strongest
signal (Yes, I know what the strongest is may fluctuate, but it is
better to grab a signal that is now strong, rather than grab a very weak
BSSID)
The BSSID is the hadware address of a given wifi access point, while the
SSID is the name of the network that that access point is supposed to
connect to. Thus at a University there may be many BSSID all of which
connect to the eduroam network. Or in a Hotel, there may be many access
points all of which have the same name "Hilton Bombay" but being from
different floors of the hotel, will vary widely in strength.
wpa_supplicant just grabs the first one it sees, which could be from 3
floors away with a signal strength of "one bar" and completelydisappears
when someone on the intermediate floors takes a bath (the water
reflecting the signal). This is instead of using the signal from the AP
just outside the door of your room on your floor.
Any particular reason why you prefer the command i.s.o. using MCC -
Network Center???
On 2022-06-23, Bit Twister <BitTwister@mouse-potato.com> wrote:
On Thu, 23 Jun 2022 01:39:32 -0000 (UTC), William Unruh wrote:
wpa_supplicant has a bad bug.
Hope you opened a bug report so that the app maintainer knows about it,
not Mageia.
If there are many BSSID for a single SSID,
wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey >>> wifi, etc. Does anyone know of a way to get it to grab the strongest
signal
All I can suggest is a wrapper you create to dump desired BSSID and strength,
sort, chose, create a configuration file, then launch the connection.
I like Network Center. I tried Network Manager but both found it clunky
and not working sometimes and found that when things went wrong it was
really hard to figure out why.
On Thu, 23 Jun 2022 04:29:32 -0400, Herman Viaene <herman@invalid.invalid> wrote:
Op Thu, 23 Jun 2022 01:39:32 +0000, schreef William Unruh:
wpa_supplicant has a bad bug. If there are many BSSID for a single SSID, >>> wpa_supplicant will simply grab the first BSSID it sees to connect to.
This can often (usualy) be a disaster, as it will grab a weak signal,
rather than the strongest signal, meaning lots of disconnections, flakey >>> wifi, etc. Does anyone know of a way to get it to grab the strongest
signal (Yes, I know what the strongest is may fluctuate, but it is
better to grab a signal that is now strong, rather than grab a very weak >>> BSSID)
The BSSID is the hadware address of a given wifi access point, while the >>> SSID is the name of the network that that access point is supposed to
connect to. Thus at a University there may be many BSSID all of which
connect to the eduroam network. Or in a Hotel, there may be many access
points all of which have the same name "Hilton Bombay" but being from
different floors of the hotel, will vary widely in strength.
wpa_supplicant just grabs the first one it sees, which could be from 3
floors away with a signal strength of "one bar" and completelydisappears >>> when someone on the intermediate floors takes a bath (the water
reflecting the signal). This is instead of using the signal from the AP
just outside the door of your room on your floor.
Any particular reason why you prefer the command i.s.o. using MCC -
Network Center???
The command is used by drakxnet. The bug has been reported https://bugs.mageia.org/show_bug.cgi?id=23453
but after almost 4 years, no change.
I had the same sort of problem with the Network Center, only on a MUCH smaller scale. I have a dual-band router, and if I had both band SSIDs configured, it would connect to the first one on the list, regardless of which band I TOLD it to use. I switched to Network Manager where there
were dual-band adapters on the machine, and it was much better for my
setup.
Op Thu, 23 Jun 2022 20:04:45 -0400, schreef TJ:
...snip....
I had the same sort of problem with the Network Center, only on a MUCH
smaller scale. I have a dual-band router, and if I had both band SSIDs
configured, it would connect to the first one on the list, regardless of
which band I TOLD it to use. I switched to Network Manager where there
were dual-band adapters on the machine, and it was much better for my
setup.
I got around the dual band setup by giving each band a separate ESSID. My Fritzbox router allows that, I don't know for other routers.
Herman Viaene
On 6/24/22 09:34, Herman Viaene wrote:
Op Thu, 23 Jun 2022 20:04:45 -0400, schreef TJ:My Linksys does, too. Mine did have different, if similar, SSIDs. But,
...snip....
I had the same sort of problem with the Network Center, only on a MUCH
smaller scale. I have a dual-band router, and if I had both band SSIDs
configured, it would connect to the first one on the list, regardless of >>> which band I TOLD it to use. I switched to Network Manager where there
were dual-band adapters on the machine, and it was much better for my
setup.
I got around the dual band setup by giving each band a separate ESSID. My
Fritzbox router allows that, I don't know for other routers.
Herman Viaene
no matter what, if the assigned priorities were the same the Network
Center connected to the first one on the wpa_supplicant list that's available.
TJ
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 482 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:07:12 |
Calls: | 9,568 |
Calls today: | 2 |
Files: | 13,663 |
Messages: | 6,143,402 |