User Tools

Site Tools


doc:appunti:hardware:rtl8852be_on_debian_12

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:appunti:hardware:rtl8852be_on_debian_12 [2024/10/04 12:38] – [Providing the firmware] niccolodoc:appunti:hardware:rtl8852be_on_debian_12 [2025/05/26 09:34] (current) – [DKMS self compiled module does not work!] niccolo
Line 1: Line 1:
 ====== RTL8852BE WiFi adapter on Debian 12 Bookworm ====== ====== RTL8852BE WiFi adapter on Debian 12 Bookworm ======
 +
 +===== DKMS self compiled module does not work! =====
 +
 +:!: **WARNING**! The recipe explained in this page actually does not work! At the end you will have a kernel module and a firmware blob that enable the WiFi adapter, they even support the WiFi scanning function, showing the available ESSIDs, but if you try to associate with an access point, the action fails with the following messages in loop:
 +
 +<code>
 +wlan0: authenticate with b2:32:6e:53:27:2a
 +wlan0: 80 MHz not supported, disabling VHT
 +</code>
 +
 +What actually does work is installing **kernel 6.12** from Bookworm backports, along with the **firmware-realtek** package:
 +
 +  * **[[https://packages.debian.org/bookworm-backports/linux-image-6.12.22+bpo-amd64|linux-image-6.12.22+bpo-amd64_6.12.22-1~bpo12+1_amd64.deb]]**
 +  * **[[https://packages.debian.org/bookworm-backports/firmware-realtek|firmware-realtek_20241210-1~bpo12+1_all.deb]]**
 +
 +===== Compiling the module with DKMS =====
 +
 +:!: **WARNING**! The kernel module obtained with this procedure actually does not work!
  
 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. 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.
Line 8: Line 26:
   * Download and install the **rtw8852b_fw-1.bin** firmware.   * Download and install the **rtw8852b_fw-1.bin** firmware.
  
 +{{ .:mini_pc_t9plus:ami-bios-secure-boot.jpg?200|Secure Boot in BIOS}}
 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. 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.
  
Line 20: Line 39:
  
 <code> <code>
 +apt install debootstrap
 mkdir -p /usr/local/src/chroot/dkms mkdir -p /usr/local/src/chroot/dkms
 debootstrap bookworm /usr/local/src/chroot/dkms http://deb.debian.org/debian/ debootstrap bookworm /usr/local/src/chroot/dkms http://deb.debian.org/debian/
Line 118: Line 138:
  
 <code> <code>
 +rfkill unblock wlan
 ifconfig wlan0 up ifconfig wlan0 up
 iwlist wlan0 scan iwlist wlan0 scan
doc/appunti/hardware/rtl8852be_on_debian_12.1728038298.txt.gz · Last modified: by niccolo