Driver for 802.11ac USB adapter with RTL8812BU chipset, only STA/Monitor mode is supported, no AP mode.
To see the right chipset of your Wifi USB adapter you can explore using an information hardware device tool the property "lnf section". You have to check that generally this can be recognized only as USB device or as Network adapter.
A few known wireless cards that use this driver include:
Currently tested with Linux kernel 4.12.14/4.15.0/5.3.0/5.6.0 on X86_64 platform only.
sudo apt update
sudo apt -y install git dkms
git clone https://github.com/fastoe/RTL8812BU.git
sudo dkms add ./RTL8812BU/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960
sudo dkms install -m rtl88x2bu -v 5.3.1
sudo modprobe 88x2bu
sudo reboot
To build, you have to retrieve source and run make
.
If via Git, do following:
git clone https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU\rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960
make
sudo make install
sudo reboot
Or via tarball, do:
wget https://github.com/fastoe/RTL8812BU/releases/download/20200414/rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960.tar.gz
tar -zxvf rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960.tar.gz
cd RTL8812BU\rtl88x2BU_WiFi_linux_v5.3.1_27678.20180430_COEX20200205-5960
make
sudo make install
sudo reboot
For setting monitor mode:
vi ./Makefile
72 "CONFIG_80211W = n" -> "CONFIG_80211W = y"
76 "CONFIG_WIFI_MONITOR = n" -> "CONFIG_WIFI_MONITOR = y"
make
sudo make install
sudo ifconfig wlx1cbfcea97791 down
sudo iwconfig wlx1cbfcea97791 mode monitor
sudo ifconfig wlx1cbfcea97791 up
Enjoy!