An endless mistake that haunts me

Required Information

  • DietPi Version | G_DIETPI_VERSION_CORE=9
    G_DIETPI_VERSION_SUB=10
    G_DIETPI_VERSION_RC=0
  • Distro version | bookworm 0
  • Kernel version | Linux DietPi 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1.6.6.74-1+rpt1
  • Architecture | arm64
  • SBC model | RPi 4 Model B
  • SD card used | Samsung EVO Plus

Steps to reproduce

At first I tried to connect to my WiFI network, however, even after entering the correct password, the dietpi-config said that the network was not connected. However, then EVERYWHERE on the screen an error began to appear:

brcmfmac : brcmf_set_channel: set chanspec 0xd0xx fail, reason -52’
How can this be solved?

Have you tried setting your WiFi country in dietpi-config?

Yes, i’m set RU country.

Maybe this could be a solution? brcmfmac: brcmf_set_channel: set chanspec fail, reason -52 · Issue #6049 · raspberrypi/linux · GitHub or Error :" brcmfmac: brcmf_set_channel: set chanspec 0xd0...fail, reason -52 " · Issue #3367 · home-assistant/operating-system · GitHub

Run this command and reboot

echo "options brcmfmac feature_disable=0x82000" | sudo tee /etc/modprobe.d/brcmfmac.conf

It should disable some problematic feature of brcmfmac module.

What is combination for | ?

You can copy whole line and paste it. On my czech keyboard it is combination of ALTGR + w

Copy how? Using SSH?

Yeah, it is much simpler through ssh.

It need this