6

Fairly new linux user here, so be gentle. I just installed Ubuntu 18.04 last stable release. Unfortunately, my PC is not near my internet access point, so I have to rely on wifi. I found this answer that references this driver. Before doing their solution, I wanted to try the officially supported rtl8812au driver first, so I downloaded it from here onto a USB from another computer and transferred it to my Ubuntu home folder. I was able to put all necessary dev packages from my install USB into my home folder and run dpkg --install *.deb to install the rtl8812au driver version 4.3.8 and all of its dependencies. I rebooted, but my system still couldn't see my wifi adapter.

I moved forward with the aforementioned stack exchange solution. Upon running those commands, I got this: here's a picture--sorry I couldn't copy and paste the code. There appears to be an issue with the definition of the platform_wifi_power functions?

After running dkms status, it shows the new version rtl8812au 4.3.14 has been added, but not installed. I'm stuck here, and I appreciate your help!

EDIT: I was able to tether to my phone through usb with no fuss at all. I just turned on my personal hotspot and plugged it into usb, booted up, and I was online. This allowed me to run software update and apt update, apt install proper Nvidia drivers, and apt install rtl8812au-dkms. After reboot, my Nvidia drivers are working great now, but I still can’t connect to WiFi.

Edit 2: I tried the proposed solution while tethered to my iPhone so I could do git clone, and I am now connected to wifi! I still don't understand what happened. Literally the only difference was downloading the repo with git clone rather than transferring via USB. Maybe some of the software updates I was able to run while tethered made the difference. Moral of the story for anyone out there: Personal hotspot is your friend!

Edit 3: For clarity, I want to add that if you try to apt install rtl8812au-dkms first, like I did, you’ll have to remove it with sudo apt purge rtl8812au-dkms before you implement the solution below.

muru
  • 207,228
Chuck
  • 63

1 Answers1

5

kernel >= 4.15.0-34

Run these commands to install a working driver:

git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git
cd rtl8812AU_8821AU_linux
sudo make -f Makefile.dkms install
sudo dkms status

The output of the last line should now include:

rtl8812au, 4.3.14, 4.15.0-34-generic, x86_64: installed

reboot

L. D. James
  • 25,444
HDK Bouma
  • 167
  • 6