Mailing List Archive

Problem logging on to wifi
Here are the first 4 lines from scan_result at an establishment. I've
replaced the 3-word ccompany name with "AAAA BBBB CCCC". Note that they
share the same bssids with "BELL342".

Selected interface 'wlan0'
bssid / frequency / signal level / flags / ssid
26:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS] AAAA BBBB CCCC
24:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS] BELL342
24:20:c7:c2:b7:a6 2462 -28 [WPA2-PSK-CCMP][ESS] BELL342
26:20:c7:c2:b7:a6 2462 -46 [WPA2-PSK-CCMP][ESS] AAAA BBBB CCCC

I've tried...

wpa_cli password "AAAA BBBB CCCC" <password>
wpa_cli password AAAA\ BBBB\ CCCC <password>

...and they both return "FAIL". Any ideas on what to try next?

--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
Re: Problem logging on to wifi [ In reply to ]
On Friday, 9 September 2022 15:40:04 BST Walter Dnes wrote:
> Here are the first 4 lines from scan_result at an establishment. I've
> replaced the 3-word ccompany name with "AAAA BBBB CCCC". Note that they
> share the same bssids with "BELL342".
>
> Selected interface 'wlan0'
> bssid / frequency / signal level / flags / ssid
> 26:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS] AAAA BBBB
> CCCC 24:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS]
> BELL342 24:20:c7:c2:b7:a6 2462 -28 [WPA2-PSK-CCMP][ESS]
> BELL342 26:20:c7:c2:b7:a6 2462 -46 [WPA2-PSK-CCMP][ESS]
> AAAA BBBB CCCC
>
> I've tried...
>
> wpa_cli password "AAAA BBBB CCCC" <password>
> wpa_cli password AAAA\ BBBB\ CCCC <password>
>
> ...and they both return "FAIL". Any ideas on what to try next?

You could try:

wpa_cli add_network "AAAA BBBB CCCC"

which will return a 'network id'; e.g. 0 if your wpa_supplicant.conf is empty
and has no AP configured in it. Then use this 'network id' number to specify
a password:

wpa_cli password 0 "blah-blah"

or

wpa_cli password 0 '"blah-blah"'

NOTE: Either the "AAAA BBBB CCCC", or the "BELL342" SSID may be for non-
public users and it could reject your attempts to authenticate if your device
is not whitelisted, so try the other SSID if one of them won't work.