Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Problem logging on to wifi
Date: Fri, 09 Sep 2022 18:15:04
Message-Id: 4214157.ejJDZkT8p0@lenovo.localdomain
In Reply to: [gentoo-user] Problem logging on to wifi by Walter Dnes
1 On Friday, 9 September 2022 15:40:04 BST Walter Dnes wrote:
2 > Here are the first 4 lines from scan_result at an establishment. I've
3 > replaced the 3-word ccompany name with "AAAA BBBB CCCC". Note that they
4 > share the same bssids with "BELL342".
5 >
6 > Selected interface 'wlan0'
7 > bssid / frequency / signal level / flags / ssid
8 > 26:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS] AAAA BBBB
9 > CCCC 24:20:c7:c2:b7:a7 5220 -53 [WPA2-PSK-CCMP][ESS]
10 > BELL342 24:20:c7:c2:b7:a6 2462 -28 [WPA2-PSK-CCMP][ESS]
11 > BELL342 26:20:c7:c2:b7:a6 2462 -46 [WPA2-PSK-CCMP][ESS]
12 > AAAA BBBB CCCC
13 >
14 > I've tried...
15 >
16 > wpa_cli password "AAAA BBBB CCCC" <password>
17 > wpa_cli password AAAA\ BBBB\ CCCC <password>
18 >
19 > ...and they both return "FAIL". Any ideas on what to try next?
20
21 You could try:
22
23 wpa_cli add_network "AAAA BBBB CCCC"
24
25 which will return a 'network id'; e.g. 0 if your wpa_supplicant.conf is empty
26 and has no AP configured in it. Then use this 'network id' number to specify
27 a password:
28
29 wpa_cli password 0 "blah-blah"
30
31 or
32
33 wpa_cli password 0 '"blah-blah"'
34
35 NOTE: Either the "AAAA BBBB CCCC", or the "BELL342" SSID may be for non-
36 public users and it could reject your attempts to authenticate if your device
37 is not whitelisted, so try the other SSID if one of them won't work.

Attachments

File name MIME type
signature.asc application/pgp-signature