Kernel 5.11.0-22 crashed my WiFi dongle

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
gittist
Level 3
Level 3
Posts: 148
Joined: Tue Oct 31, 2017 6:30 pm

Kernel 5.11.0-22 crashed my WiFi dongle

Post by gittist »

I just installed the above Kernel and no WiFi. I went back to 5.8 and it's working again.

When I first installed this WiFi Dongle I had to do the following to make it work:

sudo apt install git dkms
git clone https://github.com/cilynx/rtl88x2bu.git
sudo dkms add ./rtl88x2bu
sudo dkms install rtl88x2bu/5.6.1


This is the antenna: https://www.newegg.com/p/0XM-01AV-00017 ... N04B7V9793

Maybe I need to change the commands but honestly I have no idea what to do.

Any help would be appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
t42
Level 11
Level 11
Posts: 3742
Joined: Mon Jan 20, 2014 6:48 pm

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by t42 »

Usually you need to repeat the build process with each new kernel.
-=t42=-
JeremyB
Level 21
Level 21
Posts: 13880
Joined: Fri Feb 21, 2014 8:17 am

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by JeremyB »

You might have to uninstall that and download the updated version as there are limits as to what even dkms can do.
gittist
Level 3
Level 3
Posts: 148
Joined: Tue Oct 31, 2017 6:30 pm

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by gittist »

t42 wrote: Tue Jun 22, 2021 5:32 pm Usually you need to repeat the build process with each new kernel.
Luckily I haven't had to do that in the past.. I think what you mean is doing the SUDO commands I listed earlier. Can I do that and then upgrade to the new Kernel? If I update to the new Kernel first I have no internet to then do the build. Is that something I could put on a thumb drive?

Sorry to be so dumb.

P.S. After reading (although I may have misunderstood what I read) that DKMS is supposed to be updated along with a new Kernel, I reinstalled Kernel 5.11.0-22 and got the same results, no WiFi.

I ran "dkms status" in the command box and the latest version of dkms installed is "rtl88x2bu, 5.6.1, 5.8.0-59-generic, x86_64: installed"

Maybe I should just revert back to an earlier Kernel and wait for the systems to catch up?
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by kelebek333 »

If you wish, You can install same driver from PPA repository with following commands. The driver in the PPA repository also has kernel 5.12 patch.

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8822bu-dkms
gittist
Level 3
Level 3
Posts: 148
Joined: Tue Oct 31, 2017 6:30 pm

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by gittist »

kelebek333 wrote: Tue Jun 22, 2021 9:12 pm If you wish, You can install same driver from PPA repository with following commands. The driver in the PPA repository also has kernel 5.12 patch.

Code: Select all

sudo add-apt-repository ppa:kelebek333/kablosuz
sudo apt-get update
sudo apt install rtl8822bu-dkms
This seems to have worked :D . So far I still have WiFi. Now when I run the dkms status command i get:

rtl8822bu, 5.6.1.6~ppa, 5.11.0-22-generic, x86_64: installed
rtl8822bu, 5.6.1.6~ppa, 5.8.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)

How do I take care of the warning?
kelebek333
Level 4
Level 4
Posts: 419
Joined: Sat Jun 25, 2011 11:57 am

Re: Kernel 5.11.0-22 crashed my WiFi dongle

Post by kelebek333 »

gittist wrote: Wed Jun 23, 2021 9:34 am rtl8822bu, 5.6.1.6~ppa, 5.8.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)

How do I take care of the warning?
Its not important. You can try following commands for rebuilding module if You want.

Code: Select all

sudo dkms remove rtl8822bu/5.6.1.6~ppa -k 5.8.0-59-generic

Code: Select all

sudo rm -f /lib/modules/5.8.0-59-generic/updates/88x2bu.ko /lib/modules/5.8.0-59-generic/kernel/drivers/net/88x2bu.ko

Code: Select all

sudo depmod -a 5.8.0-59-generic

Code: Select all

sudo dkms install rtl8822bu/5.6.1.6~ppa -k 5.8.0-59-generic
Locked

Return to “Networking”