Skip to content

Instantly share code, notes, and snippets.

@adujardin
Created December 13, 2021 14:55
Show Gist options
  • Save adujardin/a1a5cad80973313fd44a2d5efabace88 to your computer and use it in GitHub Desktop.
Save adujardin/a1a5cad80973313fd44a2d5efabace88 to your computer and use it in GitHub Desktop.
wifi_linux_driver.sh
# from https://community.tp-link.com/en/home/forum/topic/208022
# tested on Ubuntu 20.04 with a TP-Link AC1300
git clone https://github.com/cilynx/rtl88x2bu.git
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe 88x2bu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment