LibreELEC / Kodi doesn't reconnect automatically to wifi after a blackout

  • Had a look at the journal now. Nothing obvious. iwd just fails telling me the key was invalid (which of course it is not as it works after the next boot). Unfortunately, only connmand is verbose, iwd not so much:

    Edited once, last by treysis (August 11, 2025 at 10:51 AM).

  • The "invalid-key" error is something internal to the wireless stack and has nothing to do with "passphrase" for the network. It's root cause is still unknown but poor signal strength is a regular factor in it being seen.

    Post the entire log somewhere else there's no point asking upstream devs to comment; it's the first thing they'll ask for.

  • Thanks. I can rule out poor signal strength as router and RPi4 are in direct vicinity of each other and also because the error is 100% reproducible and the workaround also works 100% of the time. Also both 2.4 and 5 GHz networks are affected. Once connection is established, there is no issue with it and I never had any dropouts/disconnects.

    I'll post the full log but it'll take some time to redact as there's lots of sensitive information (neighboring WiFi stations in particular) contained within.

    Can I somehow get the wireless stack to be more verbose in its output?