Programster's Blog

Tutorials focusing on Linux, programming, and open-source

Ubuntu 20.04 - Install Driver For PiAEK USB Wifi Adapter

So I decided to buy a USB WiFi adapter in hopes of setting up a Linux based access point.

Unfortunately, it doesn't work out-of-the-box, and it didn't even work if I just installed the rtl8812au-dkms package from the Ubuntu repositories, so I had to build and install a kernel module from source code on Github.


sudo apt install git dkms
git clone
cd rtl8812au
sudo make dkms_install

After that's completed, you need to reboot into the newly modified kernel in order to be able to start using the wifi adapter.


To test that your device is now working, you can run the following command:

iw list

You should see a bunch of specs for your new wifi dongle.


Last updated: 5th March 2021
First published: 5th March 2021