Ubuntu – WiFi module 8812AU not working after working previously


After installing it seemed to work fine for about a month, but then suddenly on a reboot it didn't turn on.

I had installed the driver by this method.

A similar problem seems to have been encountered by others here.

The fix listed didn't work for me though. I followed the instructions as follows:

I first opened both dkms.conf files:

sudo -H mousepad /usr/src/rtl8812au-
sudo -H mousepad /var/lib/dkms/rtl8812au/

Then I edited the fourth line of each so that it reads:

MAKE="'make' all KVER=${kernelver}"

Finally I tried to run dkms build:

sudo dkms build rtl8812au/ -k $(uname -r)

Which is when it outputs the following:

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
'make' all KVER=4.10.0-35-generic........(bad exit status: 2)
ERROR: Cannot create report: [Errno 17] File exists: 
Error! Bad return status for module build on kernel: 4.10.0-35-generic 
Consult /var/lib/dkms/rtl8812au/ for more information.


Software and Updates currently reads like this.

lsusb shows that it is a recognized device:

Bus 001 Device 004: ID 13b1:003f Linksys WUSB6300 802.11a/b/g/n/ac 
Wireless Adapter [Realtek RTL8812AU]

When I run:

sudo lshw -C network

I get the following:

   description: Ethernet interface
   product: 82579V Gigabit Network Connection
   vendor: Intel Corporation
   physical id: 19
   bus info: pci@0000:00:19.0
   logical name: enp0s25
   version: 05
   serial: 00:22:4d:51:9b:2e
   size: 1Gbit/s
   capacity: 1Gbit/s
   width: 32 bits
   clock: 33MHz
   capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
   configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.6-k duplex=full firmware=0.11-4 ip= latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
   resources: irq:35 memory:f3400000-f341ffff memory:f3425000-f3425fff ioport:3040(size=32)

dkms status gives me the following

dkms status
bbswitch, 0.8, 4.10.0-28-generic, x86_64: installed
bbswitch, 0.8, 4.10.0-32-generic, x86_64: installed
bbswitch, 0.8, 4.10.0-33-generic, x86_64: installed
bbswitch, 0.8, 4.10.0-35-generic, x86_64: installed
bbswitch, 0.8, 4.10.0-37-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-93-generic, x86_64: installed
bbswitch, 0.8, 4.4.0-96-generic, x86_64: installed
nvidia-384, 384.90, 4.10.0-35-generic, x86_64: installed
nvidia-384, 384.90, 4.10.0-37-generic, x86_64: installed
rtl8812au, added

Can anyone give me a hand? I'm sort of at a loss here.

Thank you so much in advance! If there is any other info I need to share to figure out a fix, please let me know.

Best Answer

The rtl8812au source code from https://github.com/scrivy/rtl8812AU_8821AU_linux is not patched for the 4.10 kernels. You can either go back to using the 4.4 kernels or install rtl8812au-dkms patched for Ubuntu 17.10 after removing the version you have with

code>cd rtl8812AU_8821AU_linux
sudo make uninstall
sudo dkms remove rtl8812au/ --all
sudo rm -r /usr/src/rtl8812au-
sudo rm -r /var/lib/dkms/rtl8812au
Then you can download from https://packages.ubuntu.com/artful/rtl8812au-dkms Most browsers will put the file in the Downloads folder and it can be installed by
cd Downloads
sudo dpkg -i rtl8812au-dkms
You will likely need to make the changes to dkms.conf so it will build against the correct kernel when a kernel update occurs. You could also use another github source and you shouldn't have to edit the dkms.conf file
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install

Related Question