5GHz WiFi "Authentication Required" loop on Linux

The problem

When attempting to connect to 5GHz WiFi, I repeatedly get an “Authentication Required” error even though the password is correct. It eventually connects, but only after about 5 to 10 failed attempts.

2.4GHz wifi works perfectly every time on the same modem.

Background Info

  • distro: Ubuntu 26.04.1 LTS (also tested on Ubuntu 24.04 and Fedora Live USB — issue reproduces for all)
  • release version: 26.04.1 LTS
  • kernel: Linux 7.0.0-38-generic
  • BIOS version: 04.05
  • Framework Laptop 16 model: AMD Ryzen™ 7040 Series (Ryzen 7 7840HS w/ Radeon™ 780M Graphics)

Hardware

  • WiFi card: MediaTek MT7922 802.11ax PCIe Wireless Network Adapter
  • Driver in use: mt7921e
  • Router: Virgin Media Hub (WiFi split into 2.4GHz and 5GHz SSIDs)
  • Output from lspci -knn | grep Net -A3:
    01:00.0 Network controller [0280]: MEDIATEK Corp. MT7922 802.11ax PCI Express Wireless Network Adapter [14c3:0616]
            Subsystem: MEDIATEK Corp. Device [14c3:e616]
            Kernel driver in use: mt7921e
            Kernel modules: mt7921e
    

What I’ve tried

Router-side adjustments:

  • Changed 5GHz to static non-DFS channels
  • Disabled channel optimization
  • Disabled WPS

OS-side adjustments:

  • Modified WiFi power management settings in NetworkManager
  • Forgot and re-added the network profile

Since the issue persists across Ubuntu 24.04, Ubuntu 26.04, and even a Fedora Live USB, I suspect it’s driver/firmware related rather than distro-specific config.

Questions

  • Anyone else with the MT7922 experienced repeated auth failure on 5GHz? Did you find a fix?
  • Does anyone have any suggestions to try, or can confirm this is a hardware issue?

Hello Aref. This brand of WiFi card gets mentioned a great deal in this forum. Did you try a search (magnifying glass in the top right)?

This is a known issue on the forums as Squiggler said - the Mediatek wifi cards that the machines ship with are known to have quite bad Linux support. Sometimes you can find one particular kernel version where it works reliably, but it seems like the more effective move is just to buy an AX210 card and install that instead.

2 Likes

I have exactly the same problem with the same Mediatek card and Virgin Router. However I believe my problem only started after my Fedora 43 updated to kernels in the 7.x.x range. I suspect it really is a kernel problem because prior to the kernel updates my wifi was rock solid.

1 Like

Possibly, it could go either way. The old kernel could have implemented a driver in a pragmatic “Windriver” fashion, and the new kernel might have tightened up standards compliance, believing it safe to do so (e.g. because router patches have generally improved things on the other side).

It’s worth checking your router to see if there are any pending updates for it (I use Asus, and their stock open-source firmware releases quite often).

Unfortunately there is no way to check the Virgin Router software level - it is whatever gets downloaded from their software server when the router gets booted.

1 Like

I have been seeing this on my Framework 16, with an intel AX210 wifi that I swapped in a year ago.
This is definitely something recent, unfortunately, I have three things that happened in relative closeness. I updated the Framework BIOS, Linux kernel updates (currently Fedora 44 7.2.12-200) plus fairly recent updates to KDE Plasma.

What I know:
This happens on waking from sleep, but not every time.

What I suspect:
I haven’t absolutely ruled it in or out yet, but it may coincide with also being connected to a bluetooth device. The bluetooth itself seems to be working just fine. I also have some suspicions related to KDE Wallet. I disabled wallet yesterday, so, we’ll see?

What I’ve done:
I can generally get it back by running sudo nmcli radio wifi off then wait ten seconds or so, then run sudo nmcli radio wifi on It doesn’t always work right away, sometimes it still stalls for a bit, but since I started doing that, I have not had to reboot to get things working again.

So, I found a fix for this.

For notes, I have both a 5Ghz and 2.4Ghz network, both had the same issue.

Bluetooth devices being connected was an absolute causative factor. If a bluetooth device was connected at the time the laptop went to sleep, I would see the long delays in connecting to Wifi. It did not matter if the bluetooth device was present/active/connected at the time the laptop woke from sleep. This indicates to me that the bluetooth service is not going into standby cleanly, and other factors indicate it may be holding some kind of lock on the user’s authentications.

Both of my wifi setups had the credentials saved as “store password for this user only (encrypted)”
I changed that to “store password for all users (not encrypted)”

And that immediately fixed the issue. The wifi now connects nearly instantaneously (faster than it did before) and I have not had a single issue with it waiting indefinitely for authentication.

Do I like this fix? Not particularly. But, my laptop is only used by me, is installed on an encrypted drive, and It automatically locks when inactive. So, risk is not huge.

2 Likes

Thank you for the reply! Yes, I did search beforehand — indeed, this is a common issue. I didn’t find anyone mentioning exactly this problem on this forum, except for this thread:
[Solved] - [Fedora Linux] University wifi stuck on “configuring interface,” requires multiple tries

Its solution is to replace the modem; not a real fix, though.

I’ve also found similar topics, like this one:

But I haven’t found anyone providing a proper solution. That GitHub issue is still open, too.

Thank you for the suggestion! I did look into this.

But Framework does not list the AMD Ryzen™ 7040 Series as compatible hardware with AX210. I wonder why!

Could be that the new kernel isn’t compatible. Older firmware has worked, as reported here:

Thank you for the suggestions Michael. None of these worked for me.
Also, in my case it does not only happen on waking from sleep.

I think yours is a different issue.

But Framework does not list the AMD Ryzen™ 7040 Series as compatible hardware with AX210. I wonder why!

Yeah, that’s weird. It definitely works (better than the one my machine came with).

Could be that the new kernel isn’t compatible. Older firmware has worked, as reported here:

Yeah. The Linux drivers are supposedly just pretty flaky (with regressions meaning it stops working in new kernels being pretty common).

I decided to just buy a different card, but you might have luck trying to isolate a kernel where the Mediatek card works well, and then just stick with that one.