View previous topic :: View next topic |
Author |
Message |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Wed Mar 19, 2025 6:09 pm Post subject: nmcli can't see wifi networks, but iwlist does... [solved] |
|
|
I'm using network manager. Its been good.
But I'm visiting my sister and bro-in-law and my laptop can't see their wifi network.
I followed a rabbit hole and ended up installing new firmware for my MT7922, but that didn't help.
Here's the thing: If I run nmcli it shows a few networks, not the one I'm looking for, but iwlist shows all the networks.
I figure network manager is misconfigured. Does anyone have any ideas?
TIA _________________ Some day there will only be free software.
Last edited by RayDude on Wed Mar 19, 2025 8:25 pm; edited 1 time in total |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2080
|
Posted: Wed Mar 19, 2025 6:14 pm Post subject: |
|
|
This is likely due to net-wireless/wpa_supplicant and its broken mixed mode handling.
By default, if any access point has a mixed WPA/WPA2 enabled, wpa_supplicant will fail to report it as available.
To fix this, either:- Set only WPA2 (or WPA2/WPA3) on an AP you control or
- Enable tkip USE on wpa_supplicant so it can handle the deprecated WPA again
|
|
Back to top |
|
 |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Wed Mar 19, 2025 8:18 pm Post subject: |
|
|
grknight wrote: | This is likely due to net-wireless/wpa_supplicant and its broken mixed mode handling.
By default, if any access point has a mixed WPA/WPA2 enabled, wpa_supplicant will fail to report it as available.
To fix this, either:- Set only WPA2 (or WPA2/WPA3) on an AP you control or
- Enable tkip USE on wpa_supplicant so it can handle the deprecated WPA again
|
You called it!!!
Thank you so much! Enabling tkip fixed the issue! _________________ Some day there will only be free software. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55107 Location: 56N 3W
|
Posted: Wed Mar 19, 2025 8:21 pm Post subject: |
|
|
RayDude,
It would be safer to fix your sisters WiFi access point to not use the old broken WPA option ... if that's possible. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
grknight Retired Dev

Joined: 20 Feb 2015 Posts: 2080
|
Posted: Wed Mar 19, 2025 8:23 pm Post subject: |
|
|
It is always preferable to ditch WPA whenever possible. Hardware built since 2006 has been required to be WPA2 compliant |
|
Back to top |
|
 |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Sun Mar 23, 2025 9:21 pm Post subject: |
|
|
Thanks Neddy and GRnight.
I suggested the upgrade to my Bro-In-Law. It will be up to him what he does.
Again thanks for the help. _________________ Some day there will only be free software. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23280
|
Posted: Sun Mar 23, 2025 9:55 pm Post subject: |
|
|
To me, "upgrade" suggests you are contemplating a hardware replacement. Based on grknight's comment, the existing device likely supports WPA2, and merely needs to be reconfigured in software to do the right thing. |
|
Back to top |
|
 |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Tue Mar 25, 2025 5:37 am Post subject: |
|
|
Hu wrote: | To me, "upgrade" suggests you are contemplating a hardware replacement. Based on grknight's comment, the existing device likely supports WPA2, and merely needs to be reconfigured in software to do the right thing. |
I meant him to upgrade from wpa to wpa2. He checked and the selection in the firmware is "wpa/wpa2" I'm not sure how it decides which it uses. I suggested he look for a firmware update... _________________ Some day there will only be free software. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23280
|
Posted: Tue Mar 25, 2025 1:49 pm Post subject: |
|
|
If I recall correctly, this is a known issue with wpa_supplicant that has been discussed many times on the forums. If wpa_supplicant sees an AP offer WPA as a choice, and wpa_supplicant cannot use WPA, then wpa_supplicant fails even if the AP offers better options and wpa_supplicant supports those options. To work around this, you need the AP not to offer plain WPA at all, at which point wpa_supplicant will notice that it can negotiate a better alternative. Try to change the AP to offer WPA2 only, or WPA2+WPA3. |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 55107 Location: 56N 3W
|
Posted: Tue Mar 25, 2025 4:08 pm Post subject: |
|
|
The setup is often a drop down.
None, WEP, WPA, WPA/WPA2, WPA2, WPA3.
WPA3 will be missing on older equipment but WPA2 should be good for a few years yet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Tue Mar 25, 2025 8:12 pm Post subject: |
|
|
Hu wrote: | If I recall correctly, this is a known issue with wpa_supplicant that has been discussed many times on the forums. If wpa_supplicant sees an AP offer WPA as a choice, and wpa_supplicant cannot use WPA, then wpa_supplicant fails even if the AP offers better options and wpa_supplicant supports those options. To work around this, you need the AP not to offer plain WPA at all, at which point wpa_supplicant will notice that it can negotiate a better alternative. Try to change the AP to offer WPA2 only, or WPA2+WPA3. |
Thanks Hu. That makes perfect sense, but I'm already back home. I will disable wpa on my laptop for sure. _________________ Some day there will only be free software. |
|
Back to top |
|
 |
RayDude Advocate


Joined: 29 May 2004 Posts: 2119 Location: San Jose, CA
|
Posted: Tue Mar 25, 2025 8:26 pm Post subject: |
|
|
NeddySeagoon wrote: | The setup is often a drop down.
None, WEP, WPA, WPA/WPA2, WPA2, WPA3.
WPA3 will be missing on older equipment but WPA2 should be good for a few years yet. |
Bro-In-Law showed me the drop down choices, wpa2 by itself was not an option, but perhaps a firmware upgrade will fix that.
Again, thank you so much for your support. _________________ Some day there will only be free software. |
|
Back to top |
|
 |
|