Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
nmcli can't see wifi networks, but iwlist does... [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2115
Location: San Jose, CA

PostPosted: Wed Mar 19, 2025 6:09 pm    Post subject: nmcli can't see wifi networks, but iwlist does... [solved] Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2063

PostPosted: Wed Mar 19, 2025 6:14 pm    Post subject: Reply with quote

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:
  1. Set only WPA2 (or WPA2/WPA3) on an AP you control or
  2. Enable tkip USE on wpa_supplicant so it can handle the deprecated WPA again
Back to top
View user's profile Send private message
RayDude
Advocate
Advocate


Joined: 29 May 2004
Posts: 2115
Location: San Jose, CA

PostPosted: Wed Mar 19, 2025 8:18 pm    Post subject: Reply with quote

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:
  1. Set only WPA2 (or WPA2/WPA3) on an AP you control or
  2. 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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 55034
Location: 56N 3W

PostPosted: Wed Mar 19, 2025 8:21 pm    Post subject: Reply with quote

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
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2063

PostPosted: Wed Mar 19, 2025 8:23 pm    Post subject: Reply with quote

It is always preferable to ditch WPA whenever possible. Hardware built since 2006 has been required to be WPA2 compliant
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum