试过这个
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
收到错误
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area...
make -j8 KERNELRELEASE=5.8.0-25-generic KVER=5.8.0-25-generic src=/usr/src/rtl88x2bu-5.6.1...(bad exit status: 2)
ERROR (dkms apport): binary package for rtl88x2bu: 5.6.1 not found
Error! Bad return status for module build on kernel: 5.8.0-25-generic (x86_64)
Consult /var/lib/dkms/rtl88x2bu/5.6.1/build/make.log for more information.
答案1
尝试这个
cd rtl88x2bu
sudo dkms add .
sudo dkms install -m rtl88x2bu -v 5.6.1
重启
答案2
https://github.com/Vertabreak/rtl88x2bu
这对我来说很有效。感谢 vertabreak,他帮助我使用 rtl88x2bu 的通用 WiFi 适配器正常工作。安装前,请确保删除所有旧的 rtl88x2bu 文件夹并重新启动。