On Fri, Sep 09, 2022 at 10:40:04AM -0400, 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?
PEBKAC. I was mis-reading the instructions. Since the sign at the breakfast place mentioned "password", in the wpa_cli dialogue I entered... > set password 0 "AAAA BBBB CCCC" "password" ...when I should've been entering... > set_network 0 ssid "AAAA BBBB CCCC" > set_network 0 psk "password" The flags "[WPA2-PSK-CCMP][ESS]" should've been the hint. https://wiki.archlinux.org/title/wpa_supplicant#Connecting_with_wpa_passphrase set me straight. BTW, wpa_cli is "the hard way" of doing things. What's "the easy way", you ask? It's a short script like so... #!/bin/bash /etc/init.d/wpa_supplicant stop wpa_supplicant -B -i wlan0 -c <(wpa_passphrase "ssid" "password") No need for a stanza in wpa_supplicant.conf. Note: *THE SCRIPT MUST BE RUN FROM A ROOT SHELL. "SUDO" WILL NOT WORK.* The "wpa_passphrase" tool is installed as part of "wpa_cli" install, no extra setup needed. I was the first customer in for breakfast, so I had the wifi network capacity all to myself. https://www.speedtest.net/result/13728930233 is the result from Speedtest Net, over 31 mbits down and 10 mbits up. -- I've seen things, you people wouldn't believe; Gopher, Netscape with frames, the first Browser Wars. Searching for pages with AltaVista, pop-up windows self-replicating, trying to uninstall RealPlayer. All those moments, will be lost in time like tears in rain... time to die.

