The first call of action is to purchase a WiFi adapter that’s compatible with Linux. After trial-and-error, we found the BrosTrend Long Range USB WiFi Adapter 1200Mbps to work perfectly.

1200Mbps BrosTrend Long Range USB WiFi Adapter (802.11 ac/a/b/g/n)

1200Mbps BrosTrend Long Range USB WiFi Adapter (802.11 ac/a/b/g/n)

Finding the right Linux drivers is the next challenge. We contributed this this driver version on GitHub which works well with the BrosTrend Long Range 1200.

This is how we installed it:

#1. By convention we 'unpack' 3rd-party, non-bundled software into the /opt directory
$ cd /opt 

#2. Writing to /opt requires root privileges. To avoid having to type 'sudo' for each command run:
$ sudo -s

#3. Clone the git repo (git should already be pre-installed on Xubuntu, if not run: apt-get update &&
sudo apt-get install git)
$ git clone https://github.com/xxNull-lsk/rtl8812AU.git 

#4. Now enter the repo's directory and install the driver
$ cd rtl8812AU

$ make
$ make install
$ modprobe -a 8812au

#Exit root access priveldges
$ exit
$ nmcli c
$ nmcli d wifi list
$ ifconfig -a
$ iwconfig