There is a newer version of 8812au driver – 5.2.20, I think it is the newest. If you know there is a newer one, please let me know.
To compile and install it:
- If you have old rtl8812au installed, please remove it first. Leave no trace of it
sudo rmmod 8812au
go to the path where 8812au.ko is installed
sudo rm 8812au.ko - Install build-essential from Dietpi-software(Looks like Dietpi-software is not able to install a complete build-essential, you need to install it with :sudo apt-get install build-essential)
- Install git from dietpi-software
- git clone https://github.com/gordboy/rtl8812au
- apt-get download linux-headers-4.4.77-rockchip-ayufan-136
- mkdir header
- dpkg -x linux-headers-4.4.77-rockchip-ayufan-136_0.5.15_arm64.deb header
- cd header/usr/src
- sudo mv linux-headers-4.4.77-rockchip-ayufan-136/ /usr/src/.
- cd
- cd rtl8812au
- ARCH=arm64 make
- sudo ARCH=arm64 make install
- Reboot and it should work now.