Fixing wlan0 Interface doesn't support scanning.

lucianod2

New Member
Mar 3, 2024
1
1
3
After Proxmox Virtual Environment 8.1.3+pve1 installation on Raspberry Pi5 you may face the wlan0 wifi interface missing. It's really frustrating!:eek:
Here I will describe the way to quickly fix this issue.

Validated on "Debian GNU/Linux 12 (bookworm)" with Raspberry Pi5.

After Proxmox installation and raspberry pi5 reboot, the wlan0 interface missed.
iwlist wlan0 scan
wlan0 Interface doesn't support scanning.

dmesg | grep brcmfmac
[ 5.126350] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 5.134616] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[ 5.134895] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin failed with error -2
[ 5.134948] usbcore: registered new interface driver brcmfmac
[ 5.135002] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43455-sdio.bin failed with error -2
[ 6.144231] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50

1. Cloning wifi firmware repository

2. The wifi mode for raspberry pi 5 is brcmfmc43455, you only need to copy the files for brcmfmc43455.
cp firmware-nonfree/debian/config/brcm80211/cypress/cyfmac43455-sdio-standard.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
cp firmware-nonfree/debian/config/brcm80211/cypress/cyfmac43455-sdio.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.clm_blob
cp firmware-nonfree/debian/config/brcm80211/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/

3. Create symlinks for the firmware files, make sure you have following symlinks.
ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin /lib/firmware/brcm/brcmfmac43455-sdio.bin
ln -s /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.clm_blob /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.bin
ln -s /lib/firmware/brcm/brcmfmac43455-sdio.txt /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,5-model-b.txt

4. Reboot your system
reboot

5. Now, you can validate the wlan0 back to work.
rfkill
ID TYPE DEVICE SOFT HARD
0 bluetooth hci0 unblocked unblocked
1 wlan phy0 unblocked unblocked


iwlist wlan0 scan


Have Fun! ;)
 
  • Like
Reactions: Stefan1507