How to get TP-LINK Archer T2U working in Arch Linux



I've always used this adapter in my Windows installation since it has a lot of range and I'm far away from my router.

When using Linux it never works out of the box. This is one of the reasons I liked using FreeBSD so much, it worked from the beginning (even in the installer).

I've recently switched to Arch for my main desktop and I wanted to document how I got this working.

Make installing from AUR a bit easier

I installed yay. I am new to Arch so I cannot tell if this is a good practice. This binary makes installing from the AUR repository a bit easier.

More info here.

Install necessary packages

Git of course.

pacman -S git

Basic tools to build packages.

pacman -S base-devel

Install linux-headers

In my installation i needed to install linux-headers. Found out thanks to this issue.

yay -S linux-headers

Install the driver

Install dkms driver!!

yay -S rtl88xxau-aircrack-dkms-git .


I'll leave here some neat commands for testing if this worked out.

Will show all interfaces.

ip link

Will help you connect to a WiFi network.