因为需要用到ubuntu18.04版本,在安装好时发现wifi6驱动问题。
安装ubuntu18.04 解决wifi6驱动问题【红米 G 2022】
Ubuntu 没有wifi图标,没有Realtek rtl8852be 驱动
问题原因:
由于该系列无线网卡属于“螃蟹网卡”,inter12代 内核版本 > 5.18,Ubuntu22.04 没有相应的网卡驱动导致
解决:
在window系统,查看wifi驱动,发现是Realtek RTL8852BE wifi 6 802.11ax PCIe Adapter
安装需要的工具
sudo apt-get update
sudo apt-get install make gcc linux-headers-$(uname -r) build-essential git
cmake安装
注意:根据内核版本进行选择安装
1.build(for kernel < 5.18) 内核< 5.18
git clone https://github.com/HRex39/rtl8852be.git
2.build(for kernel > 5.18) 内核>= 5.18
git clone https://github.com/HRex39/rtl8852be.git -b dev
cd rtl8852be
make -j8
sudo make install
使用/卸载驱动
sudo modprobe -r 8852be # 卸载驱动 This unloads the module
sudo modprobe 8852be # 加载驱动 This loads the module
成功修复