sudo apt install linux-headers-generic build-essential make git dkms
git clone https://github.com/cilynx/rtl88x2bu
cd rtl88x2bu
VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf)
sudo rsync -rvhP ./ /usr/src/rtl88x2bu-${VER}
- get the version at PACKAGE_VERSION= by executing
cat dkms.conf
- create an alias for the version obtained
VER=XPTO
- check the version
${VER}
sudo dkms add -m rtl88x2bu -v ${VER}
sudo dkms build -m rtl88x2bu -v ${VER}
sudo dkms install -m rtl88x2bu -v ${VER}
sudo modprobe rtl88x2bu
orsudo modprobe 88x2bu
References:
Driver - https://github.com/cilynx/rtl88x2bu
Youtube video tutorial - https://www.youtube.com/watch?v=4MhEvLHh6kA
Aliexpres product link - https://www.aliexpress.com/item/1005003144719191.html