mirror of
https://github.com/chinawrj/rtl8812au
synced 2024-11-13 01:22:30 +00:00
[MIRROR] RTL8812AU/21AU and RTL8814AU driver with monitor mode and frame injection
https://axenov.dev/как-установить-драйвер-wi-fi-адаптера-dexp-wfa-601-н/
core | ||
docs | ||
hal | ||
include | ||
os_dep | ||
platform | ||
.gitignore | ||
dkms-install.sh | ||
dkms-remove.sh | ||
dkms.conf | ||
Kconfig | ||
Makefile | ||
README.md |
rtl8812au
Realtek 8812AU driver v5.2.20 with monitor mode and packet injection
Only supports 8812AU chipset, not the 8814AU or the 8821AU.
Building
To build and install module manually:
$ make
$ sudo make install
To use dkms install:
$ sudo ./dkms-install.sh
To use dkms uninstall and remove:
$ sudo ./dkms-remove.sh
LED control
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