Manually installed wi-fi driver gone after restarting

I am not completely sure, but I usually aimed for the LTS releases, so it was likely 20.04.

In that case, I will take a guess at 5.8 kernel.
Please grab these packages and transfer them to the computer:

http://archive.ubuntu.com/ubuntu/pool/main/l/linux-hwe-5.8/linux-headers-5.8.0-67-generic_5.8.0-67.75_amd64.deb

https://mirrors.wikimedia.org/ubuntu/ubuntu/pool/main/l/linux-signed-hwe-5.8/linux-image-5.8.0-67-generic_5.8.0-67.75_amd64.deb

http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux-hwe-5.8/linux-modules-5.8.0-67-generic_5.8.0-67.75_amd64.deb

http://ppa.launchpad.net/canonical-kernel-team/ppa/ubuntu/pool/main/l/linux-hwe-5.8/linux-modules-extra-5.8.0-67-generic_5.8.0-67.75_amd64.deb

Move them to a folder in your Home Folder named kernel
Cd into it:

cd ~/kernel

Run the installation of all:

sudo dpkg -i *.deb

Reboot, then test installing your wifi driver with DKMS

Unfortunately it failed since it was not the kernel it expected. It seems to expect Kernel 5.13.0.35-generic.

I just tried installing a different driver for another device of mine. That one seems to have several issues but also throws the same DKMS error.

I now tried to attach my girlfriend's Android to get an internet connection and it didn't work. It's as if it's all completely broken and now I'm just wondering how I will be able to properly use either of the two wifi devices on Zorin. Right now, I will reinstall then update everything first and only THEN will I try to reinstall the driver. Hope that will work.

1 Like

Did you reboot and boot into the 5.8 kernel, first? :neutral_face:

I did restart the computer into Zorin before I tried installing the driver. Should I do something else still?

You need to be sure to boot into the 5.8 kernel, not the 5.13 kernel - otherwise, you will just have the same problem.
Tap esc or tab from your motherboard splash screen to pull up Advanced Options for Zorin and arrow key to Zorin on the 5.8.0-67 kernel. Hit enter to select and boot from that entry.

I can see that all the other Kernel folders in /lib/modules/ have a build subfolder. The 5.13.0-35-generic folder does not. The installer refers to this build folder saying

"Your kernel headers for kernel 5.13.0-35-generic cannot be found at /lib/modules/5.13.0-35-generic/build or /lib/modules/5.13.0-35-generic/source".

Maybe that's the problem? I tried finding the same Ubuntu archive links for that Linux kernel number but was unable to.

I just tried restarting and hitting Tab on the splash screen but it didn't do anything. When I hit ESC I just reached saw a verbose boot black screen I believe. In either case, it just brings me directly back to the login screen.

Yes, you can source the directory - that is a bit more complex. The method we are using is a bit simpler, is all.

Can you please open terminal...

sudo nano /etc/default/grub

Ensure that grub timout is set to 10 not to 0 or a lower number...
ctrl+x to exit, then y key to say yes to save, then the enter key to save and exit. The terminal will revert to normal.
No run

sudo update-grub

You should notice the 5.8 kernel noticed and listed.
Reboot and try the esc key again, tapping it like you are trying to win at Mortal Kombat.

I managed to reach it. My motherboards shows the splash screen twice. Once shortly in the beginning, then once it starts loading Zorin OS. I had to hit ESC on the first, not the second screen.

Managed to log back in, now the errors have completely changed. I think this will be more of an issue with the installer script now.

Apart from this, I just ran dkms status. And it shows me both drivers I attempted to install as "added".

rtl8192eu, 1.0: added
rtl8814au, 5.8.5.1: added

The Nvidia driver is also listed there, but as "installed".

EDIT:
sudo modprobe 8192eu does not activate the driver.

mv: cannot stat ./blacklist-rtl8xxxu.conf: No such file or directory

Can you try the following:

sudo depmod -a

sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/

It outputs "cp: cannot stat './rtl8192cu-fixes/blacklist-native-rtl8192.conf': No such file or directory.

I expected that as likely - Ok, let's change to using a different make of the same driver that has it:

You'll need to do some Transferring with the phone again. You can try it staying on the 5.8 kernel for now.

Tried it, but I'm getting an error on the "make" command. "Makefile: No such file or directory."
"***No rule to make target 'Makefile'. Stop."

make: *** Makefile:1828: modules Error 2

I did move to the main directory of the driver, of course.

Did the headers get installed when you did the kernel install earlier?

I haven't seen any evidence to the contrary. From what I can see the header errors completely disappeared.

dpkg --get-selections | grep linux-headers

They did get installed, yes. But the ones mentioned in the original error message are not listed.

Can you please post the terminal output of the above?

Here you go:

I will unfortunately have to finish for today. I will continue trying to fix this tomorrow. Thank you so much for your help and determination!