僅與Linux和Android一起使用
* Use "ip" and "iw" instead of "ifconfig" and "iwconfig" It's described further down, READ THE README!
[設備] Alfa網絡AWUS036ACH
[芯片組] 88xxau(rtl8812au)
[分支] v5.6.4.1
[距離] 10m自由視線
[ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 11.6 MBytes 97.4 Mbits/sec 0 96.2 KBytes [ 5] 1.00-2.00 sec 11.2 MBytes 93.8 Mbits/sec 0 100 KBytes [ 5] 2.00-3.00 sec 11.2 MBytes 93.8 Mbits/sec 0 100 KBytes [ 5] 3.00-4.00 sec 11.2 MBytes 93.8 Mbits/sec 0 100 KBytes [ 5] 4.00-5.00 sec 11.2 MBytes 93.8 Mbits/sec 0 100 KBytes [ 5] 5.00-6.00 sec 11.4 MBytes 95.9 Mbits/sec 0 105 KBytes [ 5] 6.00-7.00 sec 11.2 MBytes 93.8 Mbits/sec 0 105 KBytes [ 5] 7.00-8.00 sec 11.3 MBytes 94.9 Mbits/sec 0 157 KBytes [ 5] 8.00-9.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 9.00-10.00 sec 11.2 MBytes 94.3 Mbits/sec 0 157 KBytes [ 5] 10.00-11.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 11.00-12.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 12.00-13.00 sec 11.2 MBytes 94.4 Mbits/sec 0 157 KBytes [ 5] 13.00-14.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 14.00-15.00 sec 11.2 MBytes 94.4 Mbits/sec 0 157 KBytes [ 5] 15.00-16.00 sec 10.9 MBytes 91.7 Mbits/sec 0 157 KBytes [ 5] 16.00-17.00 sec 11.2 MBytes 94.4 Mbits/sec 0 157 KBytes [ 5] 17.00-18.00 sec 11.2 MBytes 94.4 Mbits/sec 0 157 KBytes [ 5] 18.00-19.00 sec 11.2 MBytes 94.4 Mbits/sec 0 157 KBytes [ 5] 19.00-20.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 20.00-21.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 21.00-22.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes [ 5] 22.00-23.00 sec 11.2 MBytes 93.8 Mbits/sec 0 157 KBytes - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-23.15 sec 260 MBytes 94.2 Mbits/sec 0 sender [ 5] 0.00-23.15 sec 0.00 Bytes 0.00 bits/sec receiver
可以使用[DKMS]安裝此驅動程序。這是一個系統,將在安裝或更新新內核時自動重新編譯並安裝內核模塊。要使用DKM,請安裝dkms
軟件包,在Debian(基於Debian)的系統上,該軟件包是這樣完成的:
$ sudo apt-get install dkms
$ git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git cd rtl*
為了安裝驅動程序,使用源代碼在目錄中打開終端並執行以下命令:
$ sudo make dkms_install
為了從系統中刪除驅動程序,使用源代碼打開目錄中的終端,並執行以下命令:
$ sudo make dkms_remove
用於用“ i'使用”構建和安裝駕駛員
$ make && make install
包裝 /構建依賴項(KALI)
$ sudo apt-get update $ sudo apt-get install bc mokutil build-essential libelf-dev linux-headers-`uname -r`
$ sudo apt-get install raspberrypi-kernel-headers
然後將Makefile的平台更改為32位ARM
架構(RPI 1/2/3/&0/Zero):
$ sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile $ sed -i 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile
或者,對於ARM64
(RPI 3B+,4B和Zero2),您需要運行:
$ sed -i 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile $ sed -i 's/CONFIG_PLATFORM_ARM64_RPI = n/CONFIG_PLATFORM_ARM64_RPI = y/g' Makefile
此外,如果您收到unrecognized command line option '-mgeneral-regs-only'
(即,Raspbian Buster),則需要運行以下用於ARM
架構的命令,然後重試構建和安裝:
$ export ARCH=arm $ sed -i 's/^MAKE="/MAKE="ARCH=arm /' dkms.conf
或者,對於ARM64
在重建之前運行以下內容:
$ export ARCH=arm64 $ sed -i 's/^MAKE="/MAKE="ARCH=arm64 /' dkms.conf
構建駕駛員可能會超過某些RPI的RAM,從而導致gcc: fatal error: Killed signal terminated program cc1
錯誤。 可以在/etc/dphys-swapfile
中增加交換空間,例如2000
兆字節,然後是/etc/init.d/dphys-swapfile restart
。但是,在交換上建立非常慢。
用於設置監視器模式
在監視模式下修復有問題的干擾。
$ airmon-ng check kill
您也可以在NM-Connection編輯器中取消選中“在可避免使用時自動連接到該網絡”的框。這僅在您具有保存的WiFi連接時才有效。
向下設置接口
$ sudo ip link set wlan0 down
設置監視器模式
$ sudo iw dev wlan0 set type monitor
設置接口
$ sudo ip link set wlan0 up
用於設置TX功率
$ sudo iw wlan0 set txpower fixed 3000
選項88xxau rtw_led_ctrl = 0
價值可以是0或1
$ echo“ 0”>/proc/net/rtl88812au/$(您的接口名稱)/led_ctrl
價值可以是0或1
$ cat/proc/net/rtl88812au/$(您的接口名稱)/led_ctrl
0:不切換,1:從USB2.0切換到USB 3.0 2:從USB3.0切換到USB 2.0
$ rmmod 88xxau $ modprobe 88xxau rtw_switch_usb_mode = int(0:no switch 1:從USB2到USB3 2:從USB3切換到USB2)
NetworkManager的較新版本切換到隨機MAC地址。一些用戶希望使用固定地址。只需在下面添加這些行
[device] wifi.scan-rand-mac-address=no
在file /etc/networkmanager/networkmanager.conf和命令中restart networkmanager的末尾:
$ sudo service NetworkManager restart
Alfa Networks - https://www.alfa.com.tw/ Realtek. - https://www.realtek.com aircrack-ng - https://www.aircrack-ng.org astsam - https://github.com/astsam evilphish - https://github.com/evilphish fariouche - https://github.com/fariouche CGarces - https://github.com/CGarces ZerBea - https://github.com/ZerBea lwfinger - https://github.com/lwfinger Ulli-Kroll. - https://github.com/Ulli-Kroll