How to Install Linux Drivers for Realtek Wireless Adapter

datallboy

datallboy
Server Admin
Fennec
Ruppell
Red
Member
RTL8812AU/21AU or RTL8814AU drivers don't work in Kali. No wifi with Alpa wireless adapter.

Can't use your Alfa adapter on Kali Linux? Tried installing the dmks module from package repos? Can't see your adapter with ip or iw commands?

Make sure to read the full README on the aircrack-ng/rtl8812au git repo.
https://github.com/aircrack-ng/rtl8812au

Pay special attention to the Notes section under Package / Build Dependencies (Kali). Run these commands before building or running the dkms-install.sh

Code:
$ sudo apt-get update
$ sudo apt-get install build-essential libelf-dev linux-headers-`uname -r
Then run the dkms-install.sh script, and reboot. Wifi should be working fully.


* This is assuming you enabled passthrough on your wireless adapter in case of using a VM.