NetworkManager managed wifi can't connect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
My computer has an built-in intel ax200 adapter (the motherboard is asock taichi x570). With the latest stable 5.4 kernel on Ubuntu Focal 20.04 I cannot get the card to connect to my home wifi (2.4ghz). The errors I get are :
iwlwifi 0000:05:00.0: No beacon heard and the time event is over already...
wlp5s0: Connection to AP 30:b5:c2:75:a4:ce lost
wlp5s0: send auth to 30:b5:c2:75:a4:ce (try 2/3)
Initially I thought this could be due to a problem with the iwlwifi driver and the firmware used. I upgraded to a custom-build (using ubuntu's configuration) 5.10 kernel And now the errors I was getting were:
[нд яну 17 22:01:33 2021] iwlwifi 0000:05:00.0: No beacon heard and the session protection is over already...
[нд яну 17 22:01:33 2021] wlp5s0: Connection to AP 30:b5:c2:75:a4:ce lost
[нд яну 17 22:01:33 2021] wlp5s0: send auth to 30:b5:c2:75:a4:ce (try 3/3)
[нд яну 17 22:01:34 2021] wlp5s0: authentication with 30:b5:c2:75:a4:ce timed out
[нд яну 17 22:01:35 2021] wlp5s0: authenticate with 30:b5:c2:75:a4:ce
[нд яну 17 22:01:35 2021] wlp5s0: send auth to 30:b5:c2:75:a4:ce (try 1/3)
[нд яну 17 22:01:36 2021] iwlwifi 0000:05:00.0: No beacon heard and the session protection is over already...
[нд яну 17 22:01:36 2021] wlp5s0: Connection to AP 30:b5:c2:75:a4:ce lost
[нд яну 17 22:01:36 2021] wlp5s0: send auth to 30:b5:c2:75:a4:ce (try 2/3)
[нд яну 17 22:01:37 2021] iwlwifi 0000:05:00.0: No beacon heard and the session protection is over already...
[нд яну 17 22:01:37 2021] wlp5s0: Connection to AP 30:b5:c2:75:a4:ce lost
[нд яну 17 22:01:37 2021] wlp5s0: send auth to 30:b5:c2:75:a4:ce (try 3/3)
The change of message is because newer versions of the driver/firmware have moved part of the processing in firmware. At this point I was willing to accept this is an issue with the kernel. However, I added the following configuration to /etc/network/
allow-hotplug wlp5s0
iface wlp5s0 inet dhcp
wpa-ssid HOME
wpa-psk <REDACTED>
wpa-
And what do you know - I was able to connect to my home wifi with no problems. I'm attaching the output of wpa_supplicant run with -dd from both the /etc/network/
Here's the output wpa_supplicant as used from NetworkManager and under which my intel ax200 based interface cannot connect.