Created
December 8, 2025 07:32
-
-
Save cuongitl/4d98fda27d0581d2e39dd89c45de026a to your computer and use it in GitHub Desktop.
This file contains hidden or 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 | |
| # Author: Cuongitl | |
| # Filename: install_driver_rtl8812au.sh | |
| # # Works on Raspberry Pi OS (Debian-based) as of 2025 | |
| echo "Updating package list..." | |
| sudo apt update | |
| # Install required packages | |
| echo "Installing required packages..." | |
| # For Raspberry (RPI) | |
| sudo apt-get install raspberrypi-kernel-headers | |
| sudo apt install -y build-essential bc dkms git | |
| # Clone the driver repository | |
| echo "Cloning the driver repository..." | |
| git clone https://github.com/aircrack-ng/rtl8812au.git | |
| # Change directory to the cloned repository | |
| cd rtl8812au | |
| echo "Installation of Driver" | |
| sudo make dkms_install | |
| # # Cleanup | |
| cd .. | |
| rm -rf rtl8812au | |
| echo "Wi-Fi card installation completed." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment