[RPi5] LibreELEC randomly loses WiFi password at startup

  • Hi everyone,

    I'm on Librelec 12.0.2 (kodi 21.2.0), and Sometimes Librelec loses the Wi-Fi password at startup. This does not happen every time, but about 50% of the time.
    I have to re-enter the password manually, or reboot Librelec. But sometimes I need 3 or 4 reboot before Librelec starts correctly without "loosing" the Wi-Fi password.
    Does anyone knows the reason why ?

    Thank you for your help !

  • ConnMan keys stores network profiles against the MAC address of the WiFi card so check the MAC is persistent. Some cheap USB dongles have none programmed so the kernel assigns a random address on each boot; resulting in the new MAC not matching against existing stored profiles and requiring you to enter details again.

    In the case of an RPi5 board it's more likely that the connection is bad as the onboard WiFi isn't great.

    Use LE13 ..

  • I'm 6' away from my router and 4 of 5 times when i power up the RPi5 it fails to connect and needs a password. Annoying for sure. Soon as we get the Wireguard pkg sorted out I'll upgrade to LE13 and see if that helps.

  • ConnMan keys stores network profiles against the MAC address of the WiFi card so check the MAC is persistent. Some cheap USB dongles have none programmed so the kernel assigns a random address on each boot; resulting in the new MAC not matching against existing stored profiles and requiring you to enter details again.

    In the case of an RPi5 board it's more likely that the connection is bad as the onboard WiFi isn't great.

    Use LE13 ..

    This MAC issue is pretty 2001; newer DHCP packages solve that these days pretty well.