r/linuxquestions • u/axolotlzzz • 13h ago
Support Would switching out wifi cards fix 4way_handshake_timeout?
Hi guys, hope this is a good question for this forum but if not I would love a pointer to the right place. I'm running an ASUS ROG Zephyrus G14 laptop that I was dual booting, eventually enjoyed using Mint enough to get rid of the Windows partition completely and I've been loving it, but I'm having an issue that seemingly randomly cropped up and I cannot understand why.
It's an issue where I'll be connected to my home network and suddenly it will intermediately disconnect and prompt me to enter in my password - "Wi-Fi Network Authentication Required. Passwords or encryption keys are required to access". Sometimes my wifi will be disconnected as I get into my homescreen, sometimes it takes 5 seconds, sometimes I get a full hour. It always feels completely random but once I first disconnect it usually doesn't let me reconnect for more than a few seconds. If I use dmesg I can see the text deauthenticated from [network] (Reason: 15=4WAY_HANDSHAKE_TIMEOUT) around the timestamp that I disconnected.
I have tried switching IPv4/IPv6, forgetting/reseting the network on my laptop, restarting the router and modem, checking if my wifi card was fully plugged in, and using Timeshift to go back to a previous state from earlier in the month when this was working. Other devices on the network work fine, and I'm able to connect fine to the wifi hotspot on my phone, though the connection is very slow. Here's a list of relevant info for my setup, if anyone wants more info I'm happy to give.
Linux Mint 22.3 - Cinnamon 64 bit on Linux Kernel 7.0.0-44-generic
Network device/driver - MT7922 802.11ax, mt7921e
iwconfig shows "wlp5s0" and that power management has been turned off.
I've heard that MediaTek wifi cards have shoddy Linux support, so I've thought about getting an Intel AX210 card to replace it. Does this seem like a possible solution? This issue has been extremely difficult to diagnose and is affecting my ability to do things online so I've gone ahead and ordered the card, but if anyone has run into the same issue please let me know if you found a solution.