仅与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