I bought a rtl8811au chipest based usb wifi for my work stationd that supports dual band. But when I plugged in the usb my ubuntu doesn't recognized it. So I had to find the driver and compiled it 'cause the one inside the usb package was not compatible with the last kernel version.

My experience with some drivers get from github platform was unsatisfied.

All the drivers I tested are an issue in my user experience. It seems that, with these drivers, my wifi usb stops working randomly, specially when the browser is open and it loads some javascript.

In that context the ping command works normally and all the other connections such as p2p like torrent, or app like telegram.

When that issue shows up, I have some options:

  • Waiting to work again with do nothing
  • Unplug and replug the usb dongle
  • Restart network service or turn off and turn on wifi

With all these options I have to wait and it is so heartbreaking !

So I think that the problem is relative to the driver 'cause I get it from github and it can contain some error.

I tried drivers like:

  • https://github.com/diederikdehaas/rtl8812AU
  • https://github.com/sloretz/rtl8811au
  • https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git

and the problem still persists on all these drivers.

Do you know some driver that works properly ?


Looking arch wiki they mentioned the chipset rtl8811au and they suggest a packet for its drivers.

sudo apt install dkms
git clone https://github.com/zebulon2/rtl8812au.git
cd ./rtl8812au
sudo ./dkms-install.sh 

So fallowing these command you can install the full working driver and get your rtl8811au wifi dongle works without issues !


For Kernel version 5 and above use this repo

Follow the instructions in the readme it's really easy!

To sum things up:

git clone https://github.com/gnab/rtl8812au.git
cd ./rtl8812au
make

Check if the driver compiled properly and works:

sudo insmod 8812au.ko

Install:

sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
sudo depmod

The easiest way is to install the driver from official Ubuntu repos by:

sudo apt install rtl8812au-dkms