Last active
May 10, 2025 12:00
-
-
Save dapize/b5383832cd4d30523cd340dc6f915eef to your computer and use it in GitHub Desktop.
TP-Link AC1300 driver installer Linux Debian
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 | |
sudo apt install -y git | |
git clone https://github.com/cilynx/rtl88x2bu.git | |
cd rtl88x2bu | |
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) | |
sudo apt install -y rsync | |
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER} | |
sudo apt install -y dkms | |
sudo dkms add -m rtl88x2bu -v ${VER} | |
sudo dkms build -m rtl88x2bu -v ${VER} | |
sudo dkms install -m rtl88x2bu -v ${VER} | |
sudo modprobe 88x2bu | |
echo "ready! , is done, go to reboot the PC" |
I had to instal bc first: sudo apt install -y bc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It worked for me, thanks!