Last active
May 9, 2018 08:58
-
-
Save motomod/f4a6d261aebfd3828d625e57bae30883 to your computer and use it in GitHub Desktop.
Raspberry Pi 3 + Realtek 802.11ac (rtl8812au)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo wget https://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update | |
sudo apt-get install bc git -y | |
rpi-source | |
git clone https://github.com/gnab/rtl8812au.git | |
cd rtl8812au | |
sed -i -e 's/CONFIG_PLATFORM_I386_PC = y/CONFIG_PLATFORM_I386_PC = n/g' Makefile | |
sed -i -e 's/CONFIG_PLATFORM_ARM_RPI = n/CONFIG_PLATFORM_ARM_RPI = y/g' Makefile | |
make | |
sudo insmod 8812au.ko | |
sudo cp 8812au.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless | |
sudo depmod | |
cd .. | |
rm -r linux-* realtek | |
reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
i can't enable monitor mode... any suggestions
ip link set wlan1 down
iwconfig wlan1 mode monitor doesn't work