Skip to content

Instantly share code, notes, and snippets.

@hanskw4267
Created March 15, 2023 09:24
Show Gist options
  • Select an option

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

Select an option

Save hanskw4267/18dc685f350fc259cbe8e384318d57e4 to your computer and use it in GitHub Desktop.
Wifi adapter - Realtek RTL8811CU/RTL8821CU Setup
#! /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