Installing
-
5. Extracting Realtek RTL8812AU Driver
And then extract the driver archive into /tmp
(Skip in case of Git checkout)
Possibly double-click/right-click on the package and open with Archive Manager:
Or from the command line:unzip -d /tmp/ ~/Downloads/*master.zip
(But if you are in trouble finding the location on the terminal, then see: How to Access Downloads Folder from Browser.)
-
6. Installing Realtek RTL8812AU Driver
Then to install RTL8812AU WiFi driver for Ubuntu
Access the target folder:cd /tmp/*master
Or in case of Git checkout:
cd rtl8812au
To make it:
make
Then to test the installation run:
sudo insmod 8812au.ko
And then to set it up, just copy the module into the right location with:
sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless
And finally, update module dependencies:
sudo depmod
-
7. Setting Up DKMS
Next to add 8812AU to DKMS modules
So it automatically rebuilds and installs on kernel updates.
First, copy the source into /usr/src:sudo mkdir /usr/src/8812au-4.2.3
sudo cp -r ./* /usr/src/8812au-4.2.3/
And set it up:
sudo dkms add -m 8812au -v 4.2.3
sudo dkms build -m 8812au -v 4.2.3
sudo dkms install -m 8812au -v 4.2.3
Now to check the status, play:
sudo dkms status
Finally, possibly to automatically load at boot run:
echo 8812au | sudo tee -a /etc/modules
Thanks to gnab inestimable Work!
So Now I’m truly Happy if My Guide could Help you to Install Realtek rtl8812au Driver on Ubuntu 24.04!
Contents