WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [Solved] Can't get wifi to Work on pi5  (Read 377 times)

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
[Solved] Can't get wifi to Work on pi5
« on: October 02, 2025, 05:34:37 AM »
Installed extensions:
Code: [Select]
wireless-KERNEL.tcz (wireless-6.12.25-piCore-v8)
wifi.tcz
firmware-rpi-wifi.tcz
wpa_supplicant.tcz


Code: [Select]
ifconfig:
wlan0     Link encap:Ethernet  HWaddr 88:A2:9E:30:AD:A2
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


Code: [Select]
sudo wifi.sh
Found wifi device wlan0
Standby for scan of available networks...
wlan0     Interface doesn't support scanning : Connection timed out


When I create the file /etc/wpa_supplicant/wpa_supplicant.conf with the following content:

Code: [Select]
ctrl_interface=DIR=/var/run/wpa_supplicant
update_config=1
country=DE

network={
        ssid="my ssid"
        scan_ssid=1
        proto=RSN WPA
        key_mgmt=WPA-PSK
        pairwise=CCMP TKIP
        group=CCMP TKIP
        psk="my password"
}

and then run the following command:

Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

I get this output:

Code: [Select]
Successfully initialized wpa_supplicant
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=DE
wlan0: Failed to initiate sched scan
wlan0: Failed to initiate sched scan

Any Help?
Thank you
« Last Edit: October 02, 2025, 08:37:46 AM by Rich »

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 15268
Re: Can't get wifi to Work on pi5
« Reply #1 on: October 02, 2025, 05:40:07 AM »
I'm using this:
Code: [Select]
ctrl_interface=/var/run/wpa_supplicant
country=FR

network={
        ssid="Livebox-62BC"
proto=WPA2
psk="password"
}

..and things work fine on an RPi5.

Do the last twenty or so lines in dmesg give any hints as to the problem?

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: Can't get wifi to Work on pi5
« Reply #2 on: October 02, 2025, 05:56:13 AM »
if i try with your configs i get:

Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
nl80211: kernel reports: Registration to specific type not supported
wlan0: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=DE
wlan0: CTRL-EVENT-SCAN-FAILED ret=-110 retry=1

i suppose it has something to do with the power save mode for wlan0 ?
Code: [Select]
[   18.667098] rc rc1: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1
[   18.667137] input: vc4-hdmi-1 as /devices/platform/soc@107c000000/107c706400.hdmi/rc/rc1/input8
[   18.670482] input: vc4-hdmi-1 HDMI Jack as /devices/platform/soc@107c000000/107c706400.hdmi/sound/card1/input9
[   18.671446] vc4-drm axi:gpu: bound 107c706400.hdmi (ops vc4_hdmi_ops [vc4])
[   18.671599] vc4-drm axi:gpu: bound 107c500000.mop (ops vc4_txp_ops [vc4])
[   18.671656] vc4-drm axi:gpu: bound 107c501000.moplet (ops vc4_txp_ops [vc4])
[   18.671711] vc4-drm axi:gpu: bound 107c410000.pixelvalve (ops vc4_crtc_ops [vc4])
[   18.671758] vc4-drm axi:gpu: bound 107c411000.pixelvalve (ops vc4_crtc_ops [vc4])
[   18.723569] [drm] Initialized vc4 0.0.0 for axi:gpu on minor 1
[   18.853584] Console: switching to colour frame buffer device 240x67
[   18.871217] vc4-drm axi:gpu: [drm] fb0: vc4drmfb frame buffer device
[  143.878999] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[  160.482175] ieee80211 phy0: brcmf_escan_timeout: timer expired
[  166.857976] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[  167.906190] ieee80211 phy0: brcmf_run_escan: error (-110)
[  167.906199] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110

if i try to shut it off i get this with
Code: [Select]
sudo iwconfig wlan0 power off :
Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Failed to create interface p2p-dev-wlan0: -5 (Input/output error)
nl80211: Failed to create a P2P Device interface p2p-dev-wlan0
P2P: Failed to enable P2P Device interface
wlan0: CTRL-EVENT-SCAN-FAILED ret=-5 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-5 retry=1

or with wifi.sh:
Code: [Select]
sudo wifi.sh
Found wifi device wlan0
Standby for scan of available networks...
wlan0     Interface doesn't support scanning : Input/output error
« Last Edit: October 02, 2025, 06:03:50 AM by Rabie »

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 782
Re: Can't get wifi to Work on pi5
« Reply #3 on: October 02, 2025, 06:24:25 AM »
If you using a router with the correct country code, the country code will be sent to the client.
You don't need to set the country_code anymore in the client.
Here some examples of commands i use, to set and get the country code if the router not send the correct one. The standard being used is https://en.wikipedia.org/wiki/IEEE_802.11d-2001
You can check this if you want, just set the country code to 00(not set), and then connect to the router
and then show what country code being used by iw reg get command, and then disconnect and see that it comeback to unset.

I have to "deal" with this long time now, with my Asus router.
That not send the correct one and not set the correct one itself.

Code: [Select]
iw reg set SE
iw reg get

Happy hacking, please don't break the law, by using wrong country code.
« Last Edit: October 02, 2025, 06:45:56 AM by patrikg »

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: Can't get wifi to Work on pi5
« Reply #4 on: October 02, 2025, 07:14:05 AM »
no matter if with country or not, its not working

Code: [Select]
cat /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="my ssid"
        proto=WPA2
        psk="my password"


Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlan0: CTRL-EVENT-SCAN-FAILED ret=-110 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-110 retry=1


Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 782
Re: Can't get wifi to Work on pi5
« Reply #5 on: October 02, 2025, 07:31:26 AM »
And are you pasting not the hole file, you are missing the last "}"
And do it more simpler and just this between the lines.
----------------------------------------------------------
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="my ssid"
        psk="my password"
}
----------------------------------------------------------

Are you using a hidden ssid ?
You also have to add
Code: [Select]
scan_ssid=1
« Last Edit: October 02, 2025, 07:34:43 AM by patrikg »

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: Can't get wifi to Work on pi5
« Reply #6 on: October 02, 2025, 07:40:02 AM »
no i am not using a hidden ssid.

ist was the hole file but maybe didnt copy the last "}"

Code: [Select]
ctrl_interface=/var/run/wpa_supplicant

network={
        ssid="my ssid"
        psk="my password"
}

also with the simple conf i still get:

Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
wlan0: CTRL-EVENT-SCAN-FAILED ret=-84 retry=1
wlan0: CTRL-EVENT-SCAN-FAILED ret=-84 retry=1



does this logs help?

Code: [Select]
dmesg | grep -i firmware
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.044030] raspberrypi-firmware soc@107c000000:firmware: Attached to firmware from 2025-05-08T14:13:17, variant start_cd
[    0.048036] raspberrypi-firmware soc@107c000000:firmware: Firmware hash is 6947117700000000000000000000000000000000
[    8.212562] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID 01-b677b91b
[  772.324676] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  774.884692] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  866.532672] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  869.092695] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  871.652668] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle


Code: [Select]
dmesg | grep brcm
[    0.260273] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/interrupt-controller@7d510600, parent irq: 27)
[    0.260303] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/interrupt-controller@7c502000, parent irq: 28)
[    0.260333] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d508380, parent irq: 29)
[    0.260364] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d508400, parent irq: 30)
[    0.260389] irq_brcmstb_l2: registered L2 intc (/soc@107c000000/intc@7d503000, parent irq: 31)
[    0.313346] brcm-pcie 1000120000.pcie: host bridge /axi/pcie@1000120000 ranges:
[    0.313350] brcm-pcie 1000120000.pcie:   No bus range found for /axi/pcie@1000120000, using [bus 00-ff]
[    0.313357] brcm-pcie 1000120000.pcie:      MEM 0x1f00000000..0x1ffffffffb -> 0x0000000000
[    0.313361] brcm-pcie 1000120000.pcie:      MEM 0x1c00000000..0x1effffffff -> 0x0400000000
[    0.313366] brcm-pcie 1000120000.pcie:   IB MEM 0x1f00000000..0x1f003fffff -> 0x0000000000
[    0.313370] brcm-pcie 1000120000.pcie:   IB MEM 0x0000000000..0x0fffffffff -> 0x1000000000
[    0.313373] brcm-pcie 1000120000.pcie:   IB MEM 0x1000130000..0x1000130fff -> 0xfffffff000
[    0.314683] brcm-pcie 1000120000.pcie: PCI host bridge to bus 0002:00
[    0.417554] brcm-pcie 1000120000.pcie: clkreq-mode set to default
[    0.417555] brcm-pcie 1000120000.pcie: link up, 5.0 GT/s PCIe x4 (!SSC)
[    0.451158] sdhci-brcmstb 1000fff000.mmc: Got CD GPIO
[    0.783029] brcmstb-i2c 107d508200.i2c:  @97500hz registered in interrupt mode
[    0.797697] brcmstb-i2c 107d508280.i2c:  @97500hz registered in interrupt mode
[    8.022427] brcmfmac: F1 signature read @0x18000000=0x15264345
[    8.027949] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43455-sdio for chip BCM4345/6
[    8.028435] usbcore: registered new interface driver brcmfmac
[    8.212003] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2)
[    8.212562] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4345/6 wl0: Aug 29 2023 01:47:08 version 7.45.265 (28bca26 CY) FWID 01-b677b91b
[  113.937237] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save enabled
[  319.009331] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[  319.969559] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  319.969567] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
[  321.563623] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=-110
[  321.563632] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  321.563705] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  321.563790] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  321.563850] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  321.563879] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-110
[  321.563882] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  321.563892] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  321.563898] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)
[  323.156953] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0xff err=-110
[  323.156963] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  324.069574] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  324.069588] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
[  325.663330] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0xff err=0
[  326.625565] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  326.625574] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)
[  328.220045] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0xff err=-110
[  328.220053] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  329.185567] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  329.185574] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
[  330.778723] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=-110
[  330.778731] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  330.778803] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  330.778885] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  330.778944] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  330.778972] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-110
[  330.778977] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  330.778984] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
[  330.778989] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)
[  333.341794] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[  334.305565] ieee80211 phy0: brcmf_run_escan: error (-110)
[  334.305573] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  336.901896] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[  337.889568] ieee80211 phy0: brcmf_run_escan: error (-110)
[  337.889575] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  521.953553] ieee80211 phy0: brcmf_escan_timeout: timer expired
[  528.516973] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0
[  529.633565] ieee80211 phy0: brcmf_run_escan: error (-110)
[  529.633573] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  532.229119] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0xff err=-110
[  532.229128] brcmfmac: brcmf_sdio_bus_sleep: error while changing bus sleep state -110
[  533.217564] ieee80211 phy0: brcmf_run_escan: error (-110)
[  533.217572] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  535.812887] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0xff err=0
[  535.812915] ieee80211 phy0: brcmf_run_escan: error (-110)
[  535.812920] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-110)
[  772.321556] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  772.324676] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  772.324723] brcmfmac: dongle trap info: type 0x4 @ epc 0x000089ba
[  772.324733] ieee80211 phy0: brcmf_cfg80211_disconnect: error (-110)
[  774.881554] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  774.884692] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  774.884734] brcmfmac: dongle trap info: type 0x4 @ epc 0x000089ba
[  774.884744] ieee80211 phy0: brcmf_cfg80211_reg_notifier: Country code iovar returned err = -110
[  866.529557] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  866.532672] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  866.532716] brcmfmac: dongle trap info: type 0x4 @ epc 0x000089ba
[  866.532727] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
[  869.089563] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  869.092695] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  869.092737] brcmfmac: dongle trap info: type 0x4 @ epc 0x000089ba
[  869.092748] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-110)
[  871.649557] brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout
[  871.652668] brcmfmac: brcmf_sdio_checkdied: firmware trap in dongle
[  871.652712] brcmfmac: dongle trap info: type 0x4 @ epc 0x000089ba
[  871.652722] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-110)
[  871.652803] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.652865] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.652926] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.652956] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.652960] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.652964] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.652966] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[  871.653250] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653312] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653373] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653402] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.653405] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.653409] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.653411] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-84)
[  871.653453] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653513] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653579] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653606] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.653609] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.653612] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.653614] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[  871.653675] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653734] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653792] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653819] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.653822] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.653825] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.653827] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-84)
[  871.653868] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653926] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.653984] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654011] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.654014] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.654016] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.654018] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[  871.654456] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654515] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654573] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654600] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.654603] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.654607] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.654609] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-84)
[  871.654650] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654708] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654766] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.654793] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.654796] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.654799] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[  871.654801] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[  871.677802] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.677865] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.677927] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.677950] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.677953] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.781199] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.781269] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.781336] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  871.781367] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  871.781371] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  871.781375] ieee80211 phy0: brcmf_run_escan: error (-84)
[  871.781378] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-84)
[  872.784714] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  872.784787] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  872.784852] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  872.784882] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  872.784888] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  872.784892] ieee80211 phy0: brcmf_run_escan: error (-84)
[  872.784895] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-84)
[  873.789165] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  873.789237] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  873.789304] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  873.789334] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  873.789339] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  873.789343] ieee80211 phy0: brcmf_run_escan: error (-84)
[  873.789346] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-84)
[  874.793403] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  874.793475] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  874.793540] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[  874.793572] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[  874.793577] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[  874.793582] ieee80211 phy0: brcmf_run_escan: error (-84)
[  874.793584] ieee80211 phy0: brcmf_cfg80211_scan: scan error (-84)
[ 1006.464706] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.464775] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.464835] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.464865] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[ 1006.464869] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 1006.464877] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[ 1006.464882] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-84)
[ 1006.464928] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.464989] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465048] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465077] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[ 1006.465079] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 1006.465083] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[ 1006.465085] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[ 1006.465153] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465214] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465273] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465302] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[ 1006.465304] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 1006.465308] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[ 1006.465310] ieee80211 phy0: brcmf_cfg80211_get_channel: chanspec failed (-84)
[ 1006.465355] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465415] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465475] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465504] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84
[ 1006.465506] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation
[ 1006.465509] ieee80211 phy0: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -84
[ 1006.465511] ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-84)
[ 1006.465761] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465822] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465881] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame
[ 1006.465910] brcmfmac: brcmf_sdio_dpc: sdio ctrlframe tx failed err=-84

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 782
Re: Can't get wifi to Work on pi5
« Reply #7 on: October 02, 2025, 07:52:40 AM »
Do you get it working with another distro ?
Like Raspberry Pi OS Lite or the light weight Alpine Linux.
https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2025-10-02/2025-10-01-raspios-trixie-arm64-lite.img.xz

https://wiki.alpinelinux.org/wiki/Raspberry_Pi

And what router are you using ? 2.4GHZ 5GHZ
You can try to connect to your mobile phone internet sharing ?
« Last Edit: October 02, 2025, 08:00:11 AM by patrikg »

Offline gadget42

  • Hero Member
  • *****
  • Posts: 962
Re: Can't get wifi to Work on pi5
« Reply #8 on: October 02, 2025, 08:00:25 AM »
iirc, i seem to remember inadequate power supply being an issue with some types of deficiencies?
** WARNING: connection is not using a post-quantum kex exchange algorithm.
** This session may be vulnerable to "store now, decrypt later" attacks.
** The server may need to be upgraded. See https://openssh.com/pq.html

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: Can't get wifi to Work on pi5
« Reply #9 on: October 02, 2025, 08:04:53 AM »
i took a guess and added the command for wpa_supplicant to /opt/bootlocal.sh so it maybe associate while booting

Code: [Select]
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf&
and guess what it worked!

After booting is over i ran:
Code: [Select]
sudo udhcpc -i wlan0
and i got the ip configs i was expecting.

I dont really unterstand why, but it worked like this

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: Can't get wifi to Work on pi5
« Reply #10 on: October 02, 2025, 08:22:17 AM »
this topic can be marked as solved i think.

Thank you for helping

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12262
Re: Can't get wifi to Work on pi5
« Reply #11 on: October 02, 2025, 08:36:50 AM »
Hi Rabie
i took a guess and added the command for wpa_supplicant to /opt/bootlocal.sh so it maybe associate while booting ...

 ... I dont really unterstand why, but it worked like this
If you want to try to pinpoint where the problem is occurring, you can try a couple of simple tests.

bootlocal.sh runs as root. Instead of:
Code: [Select]
sudo wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conftry running it as root like this:
Code: [Select]
sudo su
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf
and see if the command now succeeds.

To see if it's something later in the boot process causing this, change bootlocal.sh to this:
Code: [Select]
sleep 30
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf&
and see if the problem returned.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 12262
Re: Can't get wifi to Work on pi5
« Reply #12 on: October 02, 2025, 08:38:42 AM »
Hi Rabie
this topic can be marked as solved i think. ...
Done.

Offline Rabie

  • Sr. Member
  • ****
  • Posts: 299
Re: [Solved] Can't get wifi to Work on pi5
« Reply #13 on: October 02, 2025, 02:29:01 PM »
Hi Rich, i will look into that.

i am still haven some problems with the wifi.

After rebooting its sometime work and sometime i get errors that the driver isn’t right.

If you can provide me a little guide how to set up the wifi from start, that would be great.
Maybe i am doing something wrong

Offline patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 782
Re: [Solved] Can't get wifi to Work on pi5
« Reply #14 on: October 02, 2025, 03:16:41 PM »
There also some notes in the wiki:
https://wiki.tinycorelinux.net/doku.php?id=picore:wifi

Maybe @Rich can add some more text to it.