doc:appunti:hardware:rtl8852be_on_debian_12
This is an old revision of the document!
Table of Contents
RTL8852BE WiFi adapter on Debian 12 Bookworm
The Realtek WiFi Network Controller RTL8852BE is not supported by the 6.1.0 Linux kernel shipped with Debian 12 Bookworm. In this page you can find the steps required to compile and install the required kernel module and firmware.
- Disable the Secure Boot in BIOS.
- Compile the rtw89-dkms Debian package into a chroot environment.
- Install the rtw89-dkms package into the target host, it will compile and install the kernel modules,
- Download and install the rtw8852b_fw-1.bin firmware.
A self compiled kernel module is strictly tied to the running kernel, so it must be re-compiled whenever the kernel package is upgraded. The official Debian kernel is properly signed, so it runs even if the Secure Boot option is enabled into the BIOS. But the self compiled kernel module is a non-trusted software running at kernel level, so it requires that the Secure Boot into the BIOS to be disabled.
Creating the chroot environment
mkdir -p /usr/local/src/chroot/dkms debootstrap bookworm /usr/local/src/chroot/dkms http://deb.debian.org/debian/
Creating the dkms source package into the chroot
chroot /usr/local/src/chroot/dkms
apt install locales dpkg-reconfigure locales apt install dh-dkms debhelper build-essential devscripts git-build-recipe
cd /usr/local/src git clone https://github.com/lwfinger/rtw89.git cd /usr/local/src/rtw89 git clean -xfd git deborig HEAD dpkg-buildpackage -us -uc
Web References
doc/appunti/hardware/rtl8852be_on_debian_12.1728033999.txt.gz · Last modified: 2024/10/04 11:26 by niccolo