• [gentoo-user] Problem logging on to wifi

    From Walter Dnes@21:1/5 to All on Fri Sep 9 16:50:02 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Michael@21:1/5 to All on Fri Sep 9 19:14:36 2022
    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.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAmMbgowACgkQseqq9sKV ZxlViw/+IC8/Akjr4KIMmZiDs6e8dx3krJzHyoA0SYeVy4SRXG5AhhenHEyR/ntG Jn4rvOvd27YcvWxJ4Gz9+3xSlVmwRne462ZobYt8WmjpNNzVnFeZtF2ZFuBAPutr P1N8Sq/Ol2AGzjm8JNcqvSR8mi+C+Sl37dyed3mv845FncN90rXaVceQZePaOWRQ gYShm1DF90NKzicx7j6gVlcu46UFuEWikXv92rZRSfbhkYzRzZHzfs4BpW8SaVZZ AEep/CP3zNFHUHCitHSN1IWZxLMGBbMf+VXkvlwZDpvoAumZt0Sy4FYbWf1Xw+et KWlruMEItDCMH6RTF72opoJY5lk0I1ejDqpvPdRHT/SW9KdbLDWIv+n4t/uFiUnW 0LuSM6XGxNzGj+t57Lnxc5KuhDllDuO+qO8pswtAM8hDgE1nibiac3+LF4wsFgZf IvziIzBbFZ3hz9Xo7g4KMCRGh3miPdtnhBONq4c/RqEg2rnLPMI1PPKFuSoqpP36 6z+OLrh/8uoqFs3LAsPChigDP7kereyOgPt2MXGNMJNUB3VsvyjvcLWeEqPE46JJ iZcGtMhvs4s9LKESOBioH7XfA+6jxj1ws00JMO986eQsbR4l5ssq/23AojxvE7k6 haUrsrIT6U5PihCAeHNeKSOEtTlSqAG5qD/Fr1kgtA2h4O9+1rE=
    =c9vi
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Walter Dnes@21:1/5 to Walter Dnes on Tue Sep 27 16:30:01 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)