this post was submitted on 06 Aug 2023
8 points (78.6% liked)

Linux

48314 readers
405 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hey guys, not sure if this is a good place for this, so let me know if this post would be better suited elsewhere.

Also, I know, I know, make sure your device is compatible with linux-- but when Newegg said "compatible with ubuntu" I naively thought that put me in the clear. Now I know better, and I'll be checking the wifi card compatibility. Anways, here's the situation:

I'm running debian bookworm on an MSI Modern notebook. On every distro I've tried, I've had an issue where my wifi acts extremely inconsistently. For a while upon a fresh install of any OS, it works wihout issue. Then, after a few weeks, and especially after too much uptime, one or more of a few different issues will start happening, seemingly at random:

  • The network manager will suddenly fail to detect that there is any wifi adapter installed at all. (For some reason, this can be fixed by discharging the motherboard battery and restarting).
  • Wifi networks will be visible, but will not be able to authenticate, even with correct credentials. This can occur even with unsecured wifi networks. (The time before last that this happened, it randomly fixed itself).

After about two weeks of using my system after it magically fixed itself, the wifi adapter stopped being recognized, so I did the motherboard discharge and reboot, and when I could access the wifi settings again, the authentication issue had reappeared. After several days of use, it hasn't fixed itself. So now I'm posting here, after many months of being unable to figure out a good solution.

I've tried and failed to troubleshoot this problem over many hours. Some related issues/factors that might help explain what the problem is:

  • After some research, I've noted that other people have had problems with the wifi card in this laptop (MEDIATEK MT7921K (RZ608) Wi-Fi 6E 80MHz).
  • Despite debian supporting secure boot, if I ever try to enable secure boot, I am given a "secure boot violation".

If anyone could help me get pointed in the right direction, show me what I could potentially reinstall or reset without having to reinstall my OS every time this happens, I would super appreciate it. And of course if I didn't include some spec please let me know and I'll update this post with the necessary spec.

all 9 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

I have the a wifi card from the MT7921 family as well in my MSI laptop and from what I can gather, the issue seems to the ~power~ ASPM state that the wifi card is in. This is especially a problem when rebooting your laptop as the card is in unexpected/wrong (for a lack of a better word) ~power~ ASPM state during boot up and hence the mt7921e kernel module fails to run. Fastboot also contributes to this so disable that if that is enabled.

The engineer from mediatek who is responsible for the mt7921 and associated modules was aware of the first issue and has submitted several patches to fix the issue. The most recent seems to have it becuase I dont face this problem anymore. I will link the thread where this issue was discussed if I find it.

Edit - GitHub thread discussing issue

Mediatek engineer describing what the issue may have been

[–] duckington 1 points 1 year ago (1 children)

Thank you for the insight, and please do

[–] [email protected] 2 points 1 year ago

I have edited my comments with the links

[–] Bedpanbrian 1 points 1 year ago (1 children)

It sure what your resolution is, but I’ve been experiencing the first problem as well. MSI support has been great and after a few weeks it’s not happened. They did tell me if it does they will repair it even though it’s outside of warranty. Have you called them?

[–] duckington 1 points 1 year ago (1 children)

I’ve called them a few times but it’s been hard since their hours aren’t very long and I have a busy job. But to be honest I wasn’t banking on support since I haven’t ever had good tech support experience. Hearing that you’ve had a good experience, though, I think I’ll get in touch with them, thanks.

[–] Bedpanbrian 2 points 1 year ago

They are there 24/7 except for major holidays.

And the support has been superb.

[–] duckington 1 points 1 year ago

… aaand it started working for no reason again. I guess it just measures whether you want it bad enough.