Install the tools:
$ sudo apt install wireless-tools && sudo apt install wpasupplicantInstall nessasary packages:
$ sudo apt install git dkms build-essentialClone the driver:
$ git clone https://github.com/aircrack-ng/rtl8812au.gitChange into the driver directory:
$ cd rtl8812auNow let's use make to run the install:
$ sudo make dkms_installNow open .yaml file in netplan for editing:
$ sudo vi /etc/netplan/50-cloud-init.yamlReplace wlan0 with the name of your adapter, do ifconfig to find it.
Neplan file should look similar to this:
network:
version: 2
renderer: networkd
ethernets:
eno1:
addresses: []
dhcp4: true
optional: true
wifis:
wlan0:
addresses: []
dhcp4: true
dhcp6: true
access-points:
"my_essid":
password: "my_password"Now generate and debug:
$ sudo netplan --debug generateApply the configuration:
$ sudo netplan applyNow remove ethernet wire and reboot:
$ sudo rebootThis setup worked with Linksys WUSB6300 and DLink DWA-182 .
Notes:
-From fresh install
-Get's connection and ip after netplan generate
-Does not persist reboot
Edits:
-Added optional: true to eno1 persists reboots