TP-Link AC1300 MU-MIMO USB Adapter on Linux

A while back the laptop i’m using was placed in a chair with the Wifi USB dongle still in it. It was a dongle of about 5 cm so the dongle was bend. It still makes contact, but wasn’t really reliable.

Today i bought a new mini digle. It sticks out for about one cm, so the change it will be broken is a bit smaller then the original.

Unfortunately the driver isn’t included in the kernel. Long live google! I came across a post that linked to another page with the solution that worked for me. To make sure the solution can still be found i post the steps here:

git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu

Thanks to MonkeyDLuffy for the solution!