diff --git a/README.md b/README.md index bad5c1b..8e3d3c5 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ * october: airmon-ng now got support for this driver (even without virtual interface support) ``` - - ### DKMS This driver can be installed using [DKMS]. This is a system which will automatically recompile and install a kernel module when a new kernel gets installed or updated. To make use of DKMS, install the `dkms` package, which on Debian (based) systems is done like this: ``` @@ -57,20 +55,28 @@ $ sudo apt-get install bc $ sudo apt-get install libelf-dev $ sudo apt-get install linux-headers-`uname -r` ``` -For Raspberry (RPI) +For Raspberry (RPI 2/3) ``` $ sudo wget "https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source" -O /usr/bin/rpi-source $ sudo chmod 755 /usr/bin/rpi-source $ rpi-source ``` - +Then you need to +``` +$ git clone https://github.com/aircrack-ng/rtl8812au -b v5.2.20 +$ cd rtl* +$ make +$ sudo cp 8812au.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless +$ sudo depmod -a +$ sudo modprobe 88XXau +``` then run this to change platform in Makefile ``` $ 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' Makefil ``` But for RPI 3 B+ you will need to run those below -the ARM64 arch +the ARM64 arch build ``` $ 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 @@ -139,5 +145,5 @@ wifi.scan-rand-mac-address=no ``` at the end of file /etc/NetworkManager/NetworkManager.conf and restart NetworkManager with the command: ``` -sudo service NetworkManager restart +$ sudo service NetworkManager restart ```