encharitimone
Posts: 1
Joined: Fri Jul 03, 2020 7:36 am

Unstable Built-in Wifi on Raspberry Pi 3B+

Fri Jul 03, 2020 7:54 am

Hello everyone! I have 4 3B+ devices, fully updated (via apt update/upgrade) running Raspbian. I have been unable to keep any of them reliably connected to my wifi network. Sometimes a device drops off after a few minutes, occasionally they remain as long as a couple of days. Once they disconnect, however, nothing short of a power cycle enables reconnecting. After it has dropped off the network (per ping), the UI will indicate it is connected to the network, but will not be able to access any network resources, including pinging the router. If I turn WiFi off and back on, it will be unable to scan for networks, much less connect to one. This persists until I power cycle the device, at which point it operates normally again until it disconnects.

I'll provide all the relevant information I can think of regarding my setup and log snippetsbelow. Thank you to everyone in advance for your help resolving this problem.

Setup:
4 Raspberry Pi 3B+ units, fully updated Raspbian
Power via Adafruit 2.5 Amp 5.1 V supplies
WiFi region set to US
Wifi powersave disabled
No peripherals whatsoever connected
Netgear Orbi mesh router with 2 satellites
Pis are assigned static IPs on the router based on their MAC addresses
Disconnects seem to happen regardless of location relative to the router and satellites

If there is any other setup/configuration information that would be useful, I'll be happy to provide it.

Logs:
Based on googling and these forums, the logs I'm aware of with useful information are /var/log/messages and /var/log/syslog. If there are additional relevant logs I'm unaware of, that would be fantastic to know.

Obviously, these logs are quite verbose, but I have attempted to extract the relevant (repeating) snippets below. If there is something specific I should look for, or if I should just post the whole log file, I can do that as well. Specifically, I will note that there are no errors indicating undercurrent or power-related problems that I can see.

Jun 23 00:00:43 caterpillar kernel: [1719825.532827] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 00:00:43 caterpillar kernel: [1719825.532842] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 00:00:48 caterpillar dhcpcd[438]: wlan0: bpf_send: No buffer space available
Jun 23 00:01:43 caterpillar kernel: [1719885.532828] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 00:01:43 caterpillar kernel: [1719885.532845] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 00:01:52 caterpillar dhcpcd[438]: wlan0: bpf_send: No buffer space available
Jun 23 00:02:43 caterpillar kernel: [1719945.532825] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 00:02:43 caterpillar kernel: [1719945.532840] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 00:02:56 caterpillar dhcpcd[438]: wlan0: bpf_send: No buffer space available


Jun 23 13:33:34 caterpillar kernel: [1768596.893133] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Jun 23 13:33:34 caterpillar kernel: [1768596.893345] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Jun 23 13:33:34 caterpillar kernel: [1768596.893360] brcmfmac: power management disabled
Jun 23 13:33:37 caterpillar kernel: [1768599.453037] brcmfmac: brcmf_cfg80211_set_power_mgmt: error (-110)
Jun 23 13:33:39 caterpillar kernel: [1768602.012999] brcmfmac: _brcmf_set_multicast_list: Setting mcast_list failed, -110
Jun 23 13:33:42 caterpillar kernel: [1768604.573069] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 13:33:42 caterpillar kernel: [1768604.573088] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 13:33:44 caterpillar kernel: [1768607.133057] brcmfmac: _brcmf_set_multicast_list: Setting allmulti failed, -110
Jun 23 13:33:47 caterpillar kernel: [1768609.692988] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 13:33:47 caterpillar kernel: [1768609.693003] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 13:33:49 caterpillar kernel: [1768612.252941] brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -110
Jun 23 13:34:43 caterpillar kernel: [1768666.172986] brcmfmac: brcmf_run_escan: error (-110)
Jun 23 13:34:43 caterpillar kernel: [1768666.173003] brcmfmac: brcmf_cfg80211_scan: scan error (-110)
Jun 23 13:35:22 caterpillar systemd[1]: wpa_supplicant.service: Succeeded.
Jun 23 13:35:24 caterpillar kernel: [1768707.212977] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w/status -110
Jun 23 13:35:24 caterpillar kernel: [1768707.212995] brcmfmac: brcmf_cfg80211_get_tx_power: error (-110)


Can anyone suggest how I might proceed? Obviously I could write a script to detect when the Pi drops off the network and reboot every time, but that would make them useless for several of the projects I have in mind, so I'd like to avoid that if at all possible.

Thanks again in advance!

renice123
Posts: 198
Joined: Tue Oct 15, 2019 3:56 pm

Re: Unstable Built-in Wifi on Raspberry Pi 3B+

Fri Jul 03, 2020 11:39 am

if such a desperate situation had arisen, then I would roll back. I tormented myself with Buster at the time, and came to the conclusion that there are too many bad solutions in this new Debian OS. Therefore, I rolled back to
Jessie (but installed a new kernel) and since then I have no problems. Try going back to another version of Linux. Perhaps this will help.

Return to “Troubleshooting”