Created
March 15, 2023 09:24
-
-
Save hanskw4267/18dc685f350fc259cbe8e384318d57e4 to your computer and use it in GitHub Desktop.
Wifi adapter - Realtek RTL8811CU/RTL8821CU Setup
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
| #! /usr/bin/env bash | |
| echo "-------------------------------------------------" | |
| echo "<-- REALTEK RTL88X1CU Driver setup - Hans -->" | |
| echo "-------------------------------------------------" | |
| echo " <-- Update and install pkgs --> " | |
| sudo apt-get update | |
| sudo apt-get install -y dkms git build-essential make bc | |
| echo " <-- Clone driver repo --> " | |
| mkdir -p ~/build && cd ~/build | |
| git clone https://github.com/brektrou/rtl8821CU.git | |
| cd rtl8821CU/ | |
| echo " <-- Install driver --> " | |
| sudo ./dkms-install.sh | |
| echo " To uninstall driver, run sudo make dkms-remove.sh and reboot system" | |
| echo "-------------------------------------------------" | |
| echo "<-- REALTEK RTL88X1CU Driver setup Done -->" | |
| echo "-------------------------------------------------" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment