首先,介绍一下电脑配置
购买的是2022款Thinkbook14+ R7-6800H锐龙核显版
Intel的也一样可以用
1.设置bios
点击开机键后疯狂按F1打开BIOS,将security boot设置为disenable,因为设计到修改内核配置,必须得关掉安全启动。
这一步非常重要否则之后在启动网卡时会报错,之后会讲到
2.下载驱动源码并安装
显卡型号Realtek RTL8852BE wifi 6 802.11ax PCIe Adapter
驱动Github地址:https://github.com/HRex39/rtl8852be
安装需要的工具
sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
cmake安装
#Turn off your Security Boot in BIOS
git clone https://github.com/HRex39/rtl8852be.git -b dev
cd rtl8852be
make -j8
sudo make install
sudo modprobe 8852be
使用/卸载驱动
sudo modprobe -r 8852be # 卸载驱动 This unloads the module
sudo modprobe 8852be # 加载驱动 This loads the module
注意要是没有第一步,加载驱动的时候会报错
modprobe: ERROR: could not insert '8852be': Key was rejected by service
重启电脑按照第一步可以解决