How to install driver for Wi-Fi for adapters with RTL8814AU chipset (Alfa AWUS1900)

What is the chipset in Alfa AWUS1900

The RTL8814AU chipset has the following W-Fi adapters:

  • Alfa AWUS1900
  • TRENDnet TEW-809UB
  • ASUS USB-AC68
  • TP-LINK Archer T9UH
  • D-Link DWA-192

They are especially loved by those who perform wireless security testing of Wi-Fi networks, since they are modern wireless adapters that support monitor mode and can perform wireless injections.

The best on this list is the Alfa AWUS1900.

Previously, the realtek-rtl88xxau-dkms driver had support for the RTL8814AU chipset and for these wireless cards to work, it was enough to install the specified driver – on Kali Linux this could be done directly from the default repository, on other distributions it had to be compiled. But now RTL8814AU chipset support is disabled in the realtek-rtl88xxau-dkms driver! A separate driver has been made for this chipset, which may conflict with RTL8814AU! These changes are recent, so the old instructions for installing the driver for the Alfa AWUS1900 do not work.

If you do not need the realtek-rtl88xxau-dkms driver (now supports RTL8812AU/21AU chipsets), then uninstall it:

sudo apt remove realtek-rtl88xxau-dkms

If you need it, then do not delete it and check if they will conflict.

How to install the Alfa AWUS1900 (RTL8814AU) driver in Kali Linux

To install the RTL8814AU driver, run the following commands.

Install dependencies:

sudo apt install dkms build-essential libelf-dev linux-headers-`uname -r`

Download driver source code:

git clone https://github.com/aircrack-ng/rtl8814au
cd rtl8814au

Install the driver as a DKMS module – this means that when updating the kernel, you do not have to manually recompile the driver for the new kernel version. This will be done automatically by the DKMS module. Also note that the make command is unnecessary since the compilation is done by the DKMS module.

sudo make dkms_install

A reboot may be required for the driver to work.

Pay attention to the lines:

DKMS: install completed.
dkms status
8814au, 5.8.5.1, 5.9.0-kali2-amd64, x86_64: installed

DKMS reports that the installation is complete and that the status for 8814au is “installed”.

If you want to remove this driver, then go to the source code folder and execute there:

sudo make dkms_remove

How to install rtl8814au driver in Arch Linux, BlackArch

Start by installing the pikaur program according to the “Automatic installation and update of AUR packages” article. The pikaur program is analogous to pacman, but for working with the AUR, it allows you to automatically install and update programs from the AUR. You will definitely love pikaur!

Then run the command:

pikaur -S rtl8814au-aircrack-dkms-git

How to install rtl8814au driver in Debian, Linux Mint, Ubuntu

Run the following commands to install the rtl8812au driver.

Install dependencies:

sudo apt update
sudo apt install git build-essential libelf-dev linux-headers-`uname -r` debhelper dpkg-dev dkms bc

Download driver source code:

git clone https://github.com/aircrack-ng/rtl8814au
cd rtl8814au

Install the driver as a DKMS module – this means that when updating the kernel, you do not have to manually recompile the driver for the new kernel version. This will be done automatically by the DKMS module. Also note that the make command is unnecessary since the compilation is done by the DKMS module.

sudo make dkms_install

dkms status
8812au, 5.6.4.2_35491.20191025, 4.19.0-10-amd64, x86_64: installed
8814au, 5.8.5.1, 4.19.0-10-amd64, x86_64: installed

DKMS reports that the installation is complete and that the status for 8814au is “installed”.

Removing the driver

To remove a driver from your system, open a terminal in your source directory and run the following command:

sudo make dkms_remove

How to set Alfa AWUS1900 into monitor mode

The main thing to learn by now is to use the “ip” and “iw” commands instead of “ifconfig” and “iwconfig” – this applies to all Wi-Fi adapters.

For details, see the article: Linux Wi-Fi Cheat Sheet: Tips and Troubleshooting.

USB2.0/3.0 mode switch

Initial it will use USB2.0 mode which will limit 5G 11ac throughput (USB2.0 bandwidth only 480Mbps => throughput around 240Mbps). When modprobe add following options will let it switch to USB3.0 mode at initial driver:

options 8814au rtw_switch_usb_mode=1

Switch usb2.0 => usb3.0

sudo sh -c "echo '1' > /sys/module/8814au/parameters/rtw_switch_usb_mode"

Switch usb3.0 => usb2.0

sudo sh -c "echo '2' > /sys/module/8814au/parameters/rtw_switch_usb_mode"

Recommended for you:

One Comment to How to install driver for Wi-Fi for adapters with RTL8814AU chipset (Alfa AWUS1900)

  1. Lucky says:

    Although it supports monitoring mode, it does not support virtual interface mode

    Leading to the failure of well-known tools such as fluxion and Airgeddon

    I wonder if there are other solutions?

Leave a Reply to Lucky Cancel reply

Your email address will not be published.