Wi-Fi barely works on my system

Hey everyone.

My computer’s Wi-Fi has basically stopped working. I say basically because if I take out the adapter and plug it back in again, the Wi-Fi works for about ten seconds and then stops working. The same thing happened a few weeks ago, so I reinstalled the driver, which worked, but apparently now it doesn’t want to. I feel like if I could update my system it would be better, but I can’t do that without Wi-Fi.

I’m using a tp-link USB adapter for Wi-Fi, and this driver on GitHub: GitHub - morrownr/8821au-20210708: Linux Driver for USB WiFi Adapters that are based on the RTL8811AU and RTL8821AU Chipsets - v5.12.5.2

I’m also using Fedora Workstation 41 with GNOME 47.

Does anyone know how I can get my WiFi working again?

I tend to think of problems were hardware works initially and then stops shortly thereafter as being power-management problems. The first place I’d look (after the logs) would be at the power-management settings.

Edit: If you can easily reproduce the issue, try leaving sudo journalctl -f -t kernel running in a terminal and watch for an error to scroll by when the problem occurs.

Edit2: According to that page you linked, you should be using the kernel’s built-in driver if you are on 6.13+. Use uname -r to see what kernel you are currently running.

2 Likes

Thanks for replying super quickly!

I tried running systemctl and I got this in the terminal:


I physically re plugged in the adapter in the middle there. Wi-Fi didn’t work at all.

My kernel is at 6.12.4. I see an update in GNOME software for 6.13, but without Wi-Fi I can’t update to it.

Yeah, “PM” is short for “Power Management”. :slightly_smiling_face:

Since that web site says that there is a better driver available in the 6.13 kernel, I’d try to go the route of updating the kernel. Can you use a wired connection or maybe side load the new kernel?

The best I have is Bluetooth tethering from my phone, lol. I was considering just completely reinstalling Fedora so I did flash a fresh image to a USB earlier, but I haven’t done that yet.

I don’t know if reinstalling Fedora Linux would be easier or not. That’s up to you if you want to try that. If you want to download the rpms for the updated kernel on another system and use a USB drive to transfer them to your laptop, I think these links should be what you need (you might not need all of these, but I copied them all to be sure).

https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-core-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-devel-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-modules-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-modules-core-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-modules-extra-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-modules-internal-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-tools-6.13.5-200.fc41.x86_64.rpm
https://kojipkgs.fedoraproject.org//packages/kernel/6.13.5/200.fc41/x86_64/kernel-tools-libs-6.13.5-200.fc41.x86_64.rpm

Before you install that new kernel on your laptop though, I’d remove the current WiFi driver. You should be able to do that with sudo dkms remove -m <driver-name> --all. Use sudo dkms status to view what is currently installed.

Once you’ve removed the old WiFi driver completely from your system, cd into the directory where you have the downloaded RPM packages and run sudo dnf update *.rpm. Then reboot and cross your fingers. :crossed_fingers:

Edit: I just added --skip-broken to that command in case it tries to download additional (optional/weak) updates while updating the kernel. It probably isn’t necessary. (Scratch that. Apparently --skip-broken doesn’t work with dnf update.)

Will do! Thank you so much.

1 Like

I’m probably going to sign off for the night. Good luck! :slightly_smiling_face:

Edit: One last thing I forgot …

According to that website you linked:

Installing this driver will automatically blacklist the new in-kernel driver, which is part of the rtw88 series of drivers.

Before you reboot with the new kernel, check /etc/modprobe.d for a file containing blacklist rtw88 and remove the file if it exists.

1 Like

Update: that dnf command needed to have --disablerepo=* at the end so it doesn’t try to check the internet and give up when there’s no internet.

1 Like

Uh ok why bother with so much pain. Swapping the wifi solution to a diffrent one is the simpler fix.

1 Like

Plug in usb wifi and in terminal ’ lsusb’ give us output

If the issue persists, try to disable Wi-Fi power saving:
How to keep internet connection connected without interruption - #4 by vgaetera

1 Like

Just did this, the adapter shows up right.

Alright, update: I reinstalled Fedora, updated the kernel, and it’s still not working. Honestly I’m just going to buy a new adapter. Thanks for the help everyone.

1 Like