Skip to content

Instantly share code, notes, and snippets.

@hanskw4267
Created August 11, 2022 02:33
Show Gist options
  • Select an option

  • Save hanskw4267/f2cc20185a8afcb73552a38f37d1abe1 to your computer and use it in GitHub Desktop.

Select an option

Save hanskw4267/f2cc20185a8afcb73552a38f37d1abe1 to your computer and use it in GitHub Desktop.
#! /usr/bin/env bash
echo "-------------------------------------------------"
echo "<-- REALTEK RTL8812AU Driver setup - Hans -->"
echo "-------------------------------------------------"
echo " <-- Update and install pkgs --> "
sudo apt-get update
sudo apt-get install -y dkms git build-essential
echo " <-- Clone driver repo --> "
mkdir -p ~/build && cd ~/build
git clone -b v5.6.4.2 https://github.com/aircrack-ng/rtl8812au.git
cd rtl8812au/
echo " <-- Install driver --> "
sudo make dkms_install
echo " To uninstall driver, run sudo make dkms_remove and reboot system"
echo "-------------------------------------------------"
echo "<-- REALTEK RTL8812AU Driver setup Done -->"
echo "-------------------------------------------------"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment