wifi drivers - ubuntu

Every time i installed an ubuntu distro , wifi dont appear to me and i need to install drivers via a github repo.

I remember people advice to me to do this - https://forums.linuxmint.com/viewtopic.php?t=435576

and that really solve my problem. However, more im getting into linux, people says to me to be carefully about what i put on terminal.

Being said that, anyone know if this is bad, to do this? Since is the only way i get to putting my wifi working, i would like if this can be danger, since i really dont understand nothing about linux and i am new in this journey.

12 points · 2 comments · view on lemmy.world

2 Comments

jesta@lemmy.world · 1 pts · 1y

Looks safe. And while I was looking at the git repo, I noticed this:

An in-kernel driver for the rtl8821/11au chipsets has been merged into kernels 6.13 and 6.14.

Supposedly 6.14 kernel should come for ubuntu LTS next month. So once that comes out and you update. Your wifi should work out of the box and you no longer need to manually build this driver. https://ubuntu.com/about/release-cycle#ubuntu-kernel-release-cycle>

FauxLiving@lemmy.world · 1 pts · 1y

There's a lot of different commands being suggested in that thread, which one did you use?

If you did this:

sudo apt install git
git clone https://github.com/morrownr/8821au-20210708.git
sudo dkms add ./8821au-20210708
sudo dkms install rtl8821au/5.12.5.2
sudo apt remove rtl8812au-dkms

This is fine. You're essentially just installing a driver (which, if you used Windows, you'll be familiar with).

The only problem you will have is that when you update your kernel you will need to wait for the drivers to be updated to include support for the new kernel and then you'll need to install the update. e: as noted in the other comment, the next kernel upgrade will include this so you won't have to rebuilt it (but you will need to remember to remove it once you upgrade).

Also there's always a risk when installing random code from Github, this is even more important for kernel modules because they have unrestricted access to your system. Just be careful of the source.