This thing.. this little devil right here has caused me nothing but trouble this past week. I have FINALLY gotten it to work, and maybe someone will stumble upon this article somewhere in the dark back pages of google and it’ll help them too.
Nothing worked out of the box. The only reason I got the card was because I had just read a Kali article saying they had the drivers (with packet injection working) in their repos. So I thought, as I was running Arch at the time, it’ll be in the AUR right?
Right I was…
So I downloaded these fancy AUR drivers (RTL8812AU) and installed them, bingo, card was now recognized.. except it would not go into monitor mode(or allow packet injection.. or txpower changes). And when I tried, It brought down my entire network stack. Everything just stopped working. I blamed it on the recent kernel updates and jumped ship on Arch to try out a new, more stable and less bleeding edge OS. More on that at another time.
Building the driver myself. (From provided sources of course)
I searched through at LEAST 5 different github repos for a working driver. Now for the most part, they worked fine but still no packet injection. So I thought to myself, if the Kali driver works, and they claimed it supported packet injection, why not just use that driver??
I went through the latest Kali repos until I found the driver, downloaded it, built it and installed it… and it fucking worked.
I uploaded the Kali RTL88XXAU driver here:
Clone that repo, cd into it, and make it, and then install the driver.
Or use DKMS, which I did.
NOTE: I have not gotten airmon-ng to work with this driver, to get this device into monitor mode you must do the following:
ifconfig <wlaninterface> down
iwconfig <wlaninterface> mode monitor
ifconfig <wlaninterface> up