1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-29 08:27:41 +00:00

Update README.md

This commit is contained in:
Christian B 2018-12-23 15:38:06 +01:00 committed by GitHub
parent dea2c9825d
commit 2f773fb779
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,8 +17,6 @@
* october: airmon-ng now got support for this driver (even without virtual interface support) * october: airmon-ng now got support for this driver (even without virtual interface support)
``` ```
### DKMS ### 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: 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 libelf-dev
$ sudo apt-get install linux-headers-`uname -r` $ 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 wget "https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source" -O /usr/bin/rpi-source
$ sudo chmod 755 /usr/bin/rpi-source $ sudo chmod 755 /usr/bin/rpi-source
$ 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 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_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 $ 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 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_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 $ 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: at the end of file /etc/NetworkManager/NetworkManager.conf and restart NetworkManager with the command:
``` ```
sudo service NetworkManager restart $ sudo service NetworkManager restart
``` ```