chewitt did you use the internal WiFi? Set auto-connect to your wifi? Pull the power plug and put it back in? And after that it connected without issue?
[RPi5] A new surprise every turn on with LibreELEC 12.0.2
-
bulk -
July 24, 2025 at 5:39 PM -
Thread is Unresolved
-
-
Clean install using defaults and the internal Broadcom WiFi card. No Ethernet active so WiFi only on boot.
The single time I’ve seen this error was on a WeTek Play2 box; also using a BCM chip but no power pulling was involved, and it hasn’t been seen again since. The box is only used on WiFi due to lack of free Ethernet cables.
-
And it was already LibreELEC with iwd?
-
Thinking a little further: Have you also considered that the counterpart to the Wi-Fi connection: the router/repeater, might not be "enthusiastic" about this type of connection interruption by the Broadcom client and block the reconnection?
-
It's a bug in iwd and/or the underlying broadcom driver.
I understand you have that wifi issue, but you should think a bit out of the box. It's a very large number of the users with RPi, LE and wifi connection. So, in the case of the clear iwd/broadcom bug, this forum would be filled with bug reports and probably solved long time ago. I don't say all it's perfect with iwd, just this probably isn't a simple software "bug" case.
It doesn't have to do with signal strength or WPA mode as others suggested.
I had this wifi "thing" or something very the same, but at least I tried few things. I moved to external antenna (far better singal), changed the router (anyway was one old stuff), and I don't have any wifi issue, even after "dirty" restart. With external antenna, I only disconnected that tiny and weak on-board antenna and connected one with "normal size", the broadcom wifi and the iwd remains the same (nightly build LE, so the iwd it's more or less up to date). I don't know if in my case what triggered that issue, was the signal strenght or something in the router... but now it's working well. And I don't think to be alone who had, but no more have it that issue.
-
And it was already LibreELEC with iwd?
Correct.
-
Thinking a little further: Have you also considered that the counterpart to the Wi-Fi connection: the router/repeater,
Of course! That's why I've tried other routers as well.
might not be "enthusiastic" about this type of connection interruption by the Broadcom client and block the reconnection?
There is no reconnection. It happens on first connection attempt after hours/days.
It's a very large number of the users with RPi, LE and wifi connection. So, in the case of the clear iwd/broadcom bug, this forum would be filled with bug reports
There are plenty of bug reports! Forum and Github. From many reports you can see that people are simply switching to cable or external WiFi adapter because they cannot find a solution.
and probably solved long time ago. I don't say all it's perfect with iwd, just this probably isn't a simple software "bug" case.
Has to be solved by iwd or broadcom folks. I don't think they monitor bug reports as closely.
I had this wifi "thing" or something very the same, but at least I tried few things.
I also tried a few things: simpler password/ssid, different routers, Pi is within 1 m of router, 2.4 vs 5 GHz, WPA vs WPA2.
With external antenna, I only disconnected that tiny and weak on-board antenna and connected one with "normal size", the broadcom wifi and the iwd remains the same (nightly build LE, so the iwd it's more or less up to date). I don't know if in my case what triggered that issue, was the signal strenght or something in the router... but now it's working well.
As I said, the Pi is more or less next to the Pi. And once it is connected, there is no issue whatsoever. For hours. The only problem is autoconnection after ungraceful shutdown.
My current workaround is to have both 2.4 and 5 GHz networks configured for autoconnect. So after ungraceful shutdown, the first one to connect to will fail and LE will then just connect to the other one.
-
My current workaround is to have both 2.4 and 5 GHz networks configured for autoconnect. So after ungraceful shutdown, the first one to connect to will fail and LE will then just connect to the other one.
Few things you should try (if didn't yet):
Router without encryption (just for test), only WPA2 (AES and CCMP) encryption. Avoid WPA3 or mixed mode. Maybe is encrytion modes that isn't fully compatibile with iwd in LE.
If you or somebody near of you have a USB-wifi dongle, disable the onboard wifi (in config.txt) and try it with that.
Increase the wait for network time in the LE settings.
-
Never used WPA3. WPA/WPA2 mixed or WPA-only or WPA2-only didn't make a difference.
I will try without encryption!
If I find my WiFi dongle I will try that as well.
Already increased wait time but that's not it. No matter the waiting (tried different methods, even on boot), the first connection will still fail with "invalid key" and thus connman(?) will disable auto-connect for this network for the time being.
-
Thought I might chime in here. Ongoing exactly the same connection issues on my Pi5 LE12.0.2. 2G or 5 is hit and miss 3M from my router. Just reports failure on the LE Connections. Seems it forgets the passphrase every time too which is a real pain. This likely not an LE issue probably KODi or maybe even RPI. Once connected all is happy till a reboot or shutdown.
-