[MIRROR] RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection https://axenov.dev/как-установить-драйвер-wi-fi-адаптера-dexp-wfa-601-н/
Go to file
2018-06-22 21:56:12 +02:00
core Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
hal Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
include Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
os_dep Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
platform Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
regdb Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
.gitignore Added .gitignore 2018-06-22 21:56:12 +02:00
clean Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
dkms-install.sh Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
dkms-remove.sh Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
dkms.conf Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
ifcfg-wlan0 Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
Kconfig Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
kimocoder_Changelog.txt Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
Makefile Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
README.md Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
Realtek_Changelog.txt Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00
runwpa Optimized Makefile and added DKMS ++ 2018-06-22 21:43:50 +02:00
wlan0dhcp Cloned gordboy's 8812au repo 2018-06-22 18:48:32 +02:00

rtl8812au

Realtek 8812AU driver version 5.2.20

Only supports 8812AU chipset.

Works fine with 4.15 kernel. Source now builds with no warnings or errors.

Added (cosmeticly edited) original Realtek_Changelog.txt, this README.md and dkms.conf.

Added device USB IDs, sorted by ID number. Added LED control by Makefile, module parameter and dynamic /proc writing. Added VHT extras. Added regdb files.

Building

To build and install module manually:

$ make
$ sudo make install

To use dkms install:

  (as root, or sudo) copy source folder contents to /usr/src/rtl8812au-5.2.20
$ sudo dkms add -m rtl8812au -v 5.2.20
$ sudo dkms build -m rtl8812au -v 5.2.20
$ sudo dkms install -m rtl8812au -v 5.2.20 

To use dkms uninstall and remove:

$ sudo dkms remove -m rtl8812au -v 5.2.20 --all

LED control

Thanks to @dkadioglu and others for a start on this.

You can now control LED behaviour statically by Makefile, for example:

CONFIG_LED_ENABLE = n

value can be y or n

statically by module parameter in /etc/modprobe.d/8812au.conf or wherever, for example:

options 8812au rtw_led_enable=0

value can be 0 or 1

or dynamically by writing to /proc/net/rtl8812au/$(your interface name)/led_enable, for example:

$ echo "0" > /proc/net/rtl8812au/$(your interface name)/led_enable

value can be 0 or 1

check current value:

$ cat /proc/net/rtl8812au/$(your interface name)/led_enable

NetworkManager

As others have noted, people using NetworkManager need to add this stanza to /etc/NetworkManager/NetworkManager.conf

  [device]
  wifi.scan-rand-mac-address=no

Regdb files

If needed, copy the regulatory database files in regdb/ to /lib/firmware/

$ sudo cp ./regdb/* /lib/firmware/