It looks like this hasn't been updated for the kernel version that Zorin OS uses (6.5+).
There's another repository that seems up to date and that we can try. First, confirm that this is indeed the valid device by running lsusb in the terminal. Take a look at this page to check if your device is supported.
If it is valid, remember that you first need to undo the changes you've made so far. Based on the instruction from the repository you shared, you probably need to navigate to /opt/rtl8812au and run the appropriate uninstall command:
cd /opt/rtl8812au
sudo make dkms_remove
Then, proceed with the instructions below (simplified from the original repository):
NOTE: Assumes a working internet connection on the machine through other interfaces like ethernet, etc. If not, check the repository for
Update the system and reboot:
sudo apt update && sudo apt upgrade
sudo reboot
Install required packages
sudo apt install gcc-12 make bc linux-headers-$(uname -r) build-essential git dkms rfkill iw
If you have secure boot enabled, install also these packages (otherwise, skip this step).
sudo apt install openssl mokutil
Download the repository to your computer, and navigate to it:
git clone https://github.com/morrownr/8812au-20210820.git
cd 8812au-20210820
Check the version of gcc used by default is correct. For this particular driver and kernel version, that would be version 12.
NOTE: the minor version is not important, i.e.: 12.X.X
If this shows the correct version of gcc at 12, proceed to the next step.
If it's not correct make sure to run sudo apt install gcc-12 and double check it's installed with: gcc-12 --version | grep -i gcc. At this point, and for the duration of the script install only, we're going to temporarily trick the system to use this version of gcc by default.
Your guide and the first one I followed are not going to work because it's for a different chipset.
My device "Bus 003 Device 005: ID 2357:0120 TP-Link Archer T2U PLUS [RTL8821AU]"
I followed your guide, using the optional steps in 5 and 8 as well before realizing my error. How do I undo that?
Note: ATM I am just plugging my phone into a USB port for internet on the ZorinOS pc when needed
cd /opt/rtl*
/opt/rtl8812au$ sudo make dkms_remove
dkms remove 8812au/5.6.4.2_35491.20191025 --all
Error! The module/version combo: 8812au-5.6.4.2_35491.20191025 is not located in the DKMS tree.
make: *** [Makefile:1795: dkms_remove] Error 3
For completeness or anyone running into to this thread later on, here's a list of USB Wi-Fi adapters supported by the Linux kernel (no additional drivers required).
Make sure to double check the description for a particular model which indicates when it is, or will be, included in the kernel. As Zorin OS does not use the latest kernel versions it may not be supported by Zorin OS at this point.
The good news is that there is another driver available for this chipset as well (even better, the author claims that effort is underway to make it available in future versions of the Linux kernel).
In case you ran some commands before realizing that you were using the wrong chipset, you can undo them by simply running the uninstall script provided (from within the folder where you downloaded the drivers).
sudo make uninstall
sudo reboot
To install the correct one you can follow the instructions outlined here: