Ubuntu 23.10下RTL8852BE无线网卡驱动安装及Windows驱动转Linux方案咨询
Hey there! Let's sort out your RTL8852BE Wi-Fi driver issue on Ubuntu 23.10. I'll walk you through two approaches—first the recommended native Linux driver installation, then the wrapper method for Windows drivers (though it's less reliable, so try the first one first!).
一、安装原生RTL8852BE Linux驱动(优先推荐)
RTL8852BE has solid open-source driver support, and Ubuntu 23.10's kernel is new enough to work with it. Here's how to compile and install it manually:
- Step 1: Install build dependencies
Open your terminal and run these commands to get the tools and kernel headers needed for compilation:
sudo apt update && sudo apt install git build-essential linux-headers-$(uname -r)
- Step 2: Clone the open-source driver repo
There's a well-maintained community driver for rtw89 series chips (which includes RTL8852BE). Clone it with:
git clone https://github.com/lwfinger/rtw89.git
- Step 3: Compile and install the driver
Navigate into the cloned directory, then compile and install:
cd rtw89 make sudo make install
- Step 4: Load the driver and set auto-start
Load the driver module right away to activate your Wi-Fi:
sudo modprobe rtw89pci
To make sure the driver loads automatically after reboot, add it to the startup modules:
echo "rtw89pci" | sudo tee /etc/modules-load.d/rtw89.conf
After this, your Wi-Fi should be up and running!
二、用NDISWrapper适配Windows驱动(备选方案)
NDISWrapper is a tool that wraps Windows network drivers to work on Linux. It's a fallback option if the native driver doesn't work for some reason, but keep in mind stability might be hit-or-miss.
- Step 1: Install NDISWrapper
First, install the tool and its dependencies:
sudo apt update && sudo apt install ndiswrapper-common ndiswrapper-dkms ndiswrapper-utils-1.9
Step 2: Prepare the Windows driver files
You'll need the 64-bit Windows driver for RTL8852BE (since Ubuntu 23.10 is 64-bit). Extract the driver package and locate the.inffile inside it.Step 3: Install the Windows driver via NDISWrapper
Go to the directory where your.inffile is, then run:
sudo ndiswrapper -i your_driver_file.inf
Replace your_driver_file.inf with the actual filename (like netrtwlan.inf).
- Step 4: Verify and load the driver
Check if the driver was installed successfully:
ndiswrapper -l
If you see "driver installed", load the NDISWrapper module:
sudo modprobe ndiswrapper
- Step 5: Set auto-start and block conflicting modules
Make NDISWrapper load on boot:
echo "ndiswrapper" | sudo tee /etc/modules-load.d/ndiswrapper.conf
If there are conflicting native modules (like older RTL drivers), add them to the blacklist to prevent conflicts:
echo "blacklist rtl8822be" | sudo tee /etc/modprobe.d/blacklist-rtl.conf
备注:内容来源于stack exchange,提问作者Tiaan Viviers




