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
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.
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!
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.