Răsfoiți Sursa

Create RPi3B_4install.sh

assume-breach 3 ani în urmă
părinte
comite
feb0be36f7
1 a modificat fișierele cu 24 adăugiri și 0 ștergeri
  1. 24 0
      Wireless Scripts/rtl8812au/RPi3B_4install.sh

+ 24 - 0
Wireless Scripts/rtl8812au/RPi3B_4install.sh

@@ -0,0 +1,24 @@
+#!/bin/bash/
+
+apt install raspberrypi-kernel-headers
+apt install dkms -y
+
+git clone https://github.com/aircrack-ng/rtl8812au
+
+cd rtl8812au/
+
+#uncomment for RPI 1/2/3 and 0/ZeroW Installation
+
+#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
+
+#uncomment for RPI 3B+ & 4 Installation
+
+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
+
+sudo make dkms_install
+echo ""
+echo "Rebooting Now"
+echo ""
+reboot now