14

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:

and the problem still persists on all these drivers.

Do you know some driver that works properly ?

Bob91
  • 1,172
  • What is the result from terminal for mokutil --sb-state – Jeremy31 Jul 15 '18 at 12:01
  • for reference: also check kali deb: https://pkg.kali.org/pkg/realtek-rtl88xxau-dkms# https://http.kali.org/kali/pool/contrib/r/realtek-rtl88xxau-dkms/realtek-rtl88xxau-dkms_5.3.4~20200115-0kali1_all.deb – TiloBunt May 07 '20 at 04:08

6 Answers6

14

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
yurikleb
  • 183
10

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 !

Bob91
  • 1,172
  • EDUP usb dongle began working immediately. light started blinking without reboot or logout. rtl8812au (https://www.amazon.com/dp/B01CCMUN8C) – Marc Compere Nov 16 '19 at 00:48
2

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

sudo apt install rtl8812au-dkms
Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • I remember that I tried it, but if I come here I think that it does not work properly – Bob91 Jul 15 '18 at 10:32
  • It is the same driver. Maybe it didn't build on some distro/kernel combination, but this is the conventional way that works in most cases. You didn't give information regarding your system, so... – Pilot6 Jul 15 '18 at 10:35
  • ubuntu 18.04 kernel 4.15.0-24 – Bob91 Jul 17 '18 at 15:45
  • Just tried it, it's not the correct driver for my hardware: Bus 001 Device 009: ID 0bda:b812 Realtek Semiconductor Corp. Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bMaxPacketSize0 64 idVendor 0x0bda Realtek Semiconductor Corp. idProduct 0xb812 bcdDevice 2.10 iManufacturer 1 Realtek iProduct 2 USB3.0 802.11ac 1200M Adapter iSerial 3 123456 – Avio Jul 20 '19 at 09:52
0

Had some troubles installing Comfast CF-915AC rtl8811au driver on Raspbian GNU/Linux 8.0 (jessie).

Got below steps working in the end:

wget https://pishop.nz/static/downloads/install-wifi2.sh

chmod +x install-wifi2.sh

./install-wifi2.sh

sudo reboot

Note: It's getting the drivers from http://downloads.fars-robotics.net/wifi-drivers/ depend on your "kernel" and "build" and then install it.

Artur Meinild
  • 26,018
Genia
  • 1
0

This worked on my Ubuntu 22.04 LTS. My wifi adapter is rtl8811au.

https://github.com/aircrack-ng/rtl8812au

Resume:

$ git clone https://github.com/aircrack-ng/rtl8812au.git
$ cd rtl*
$ sudo make dkms_install

Then, reconnect your usb wifi adapter and you can view your wifi selector in the network corner config and enjoy.

Antonio
  • 1
  • 1
0

The official Kali/Alfa driver is placed here:

https://github.com/morrownr/8814au

Bob91
  • 1,172