[RPi5] Network Disappeared

  • I had been running the latest 13.0 nightlies on my Pi5, with 0 issues until LibreELEC-RPi5.aarch64-13.0-nightly-20241021-56c531c

    Booted, and all of the sudden my network was gone. I can see my internet on, and no issues with any other devices in the house. I decided to look at the system info section and go to my network and noticed everything was blank. There is a primary and secondary DNS, I just didn't show it.

    I tried a fresh install of LibreELEC-RPi5.aarch64-13.0-nightly-20241025-9f8eeb6 this morning, and same issue. Nothing is there under system info and network. However WiFi is connected though.

    I also rebooted my whole network just to test that, and that didn't work either.

    Thoughts?

    Thanks!

  • Same thing happened on one of my Pi4 with latest LE13 nightly, turned off /on both wi-fi and ethernet a couple of times and it suddenly started to work again.

  • Same thing happened on one of my Pi4 with latest LE13 nightly, turned off /on both wi-fi and ethernet a couple of times and it suddenly started to work again.

    I just reverted back to LibreELEC-RPi5.aarch64-13.0-nightly-20241020-ce869d0 and it works fine again. I had to load this from a USB to the update folder, but it appears there is something happening from this build to the current ones. I don't see anything in the log, so not sure.

  • Here is the log between those 2 versions

    https://github.com/LibreELEC/Libr…869d0...56c531c

    This is the only patch (that may be of issue) - https://github.com/LibreELEC/Libr…59e13377e8b3dc5

    This could be it. I just tested the newest nightly LibreELEC-RPi5.aarch64-13.0-nightly-20241029-81a82b6.img.gz

    and I still have the same issue. 0 network settings. Reverted back to the 20th with no network issues, and all values are there.

  • If this network issue is still happening, even with Nov 1 nightly, is it going to take the below reverted or is there another option to get my network settings visible again, other than staying on the Oct 20th nightly.

    linux: enable CONFIG_IPV6_MULTIPLE_TABLES · LibreELEC/LibreELEC.tv@d3fe5bf
    Allows setting up multiple IPv6 routing tables when using VPN.
    github.com

    linux: enable CONFIG_IPV6_MULTIPLE_TABLES

    Browse files

    Code
    Allows setting up multiple IPv6 routing tables when using VPN.
  • If there's an issue it seems to be localised to your environment. I'm running a (self-built) nightly image on an RPi5 without any network issues and lots of other people run nightlies too; enough to flag-up any general networking issues. NB: The kernel changes in question will be irrelevant unless your home network is IPv6 based?

    I'd start with a clean LE13 nightly image on a spare SD card. Any different?

  • If there's an issue it seems to be localised to your environment. I'm running a (self-built) nightly image on an RPi5 without any network issues and lots of other people run nightlies too; enough to flag-up any general networking issues. NB: The kernel changes in question will be irrelevant unless your home network is IPv6 based?

    I'd start with a clean LE13 nightly image on a spare SD card. Any different?

    Yes, the network does have IPv6 on.

    Tested a clean build of the latest nightly and there were no network settings there just like the pictures in my first post.

    Edited once, last by quickstang (November 3, 2024 at 12:04 AM).

  • I have issues too with the Wireless connection since that build on pi5.

    What I noticed.

    A) it takes unusually long that the connection (Wlan 5ghz) gets ready and

    B) even when it is connected (in the libreelec settings) the system tells me that no connection exists.

  • Wolfpig Sometimes WiFi quality changes, but it has nothing to do with LE. It could be a weak PSU. To know for sure...

    Please provide a full debug log.

    How to post a log (wiki)

    1. Enable debugging in Settings>System Settings>Logging
    2. Restart Kodi
    3. Replicate the problem
    4. Generate a log URL (do not post/upload logs to the forum)

    use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link
  • Wolfpig Sometimes WiFi quality changes,


    If it changes from one Libreelc build to the other, making it completely unusable that still would be a not intended behavior.


    Log created with the gbm shell on the latest nightly build (2024-11-03) (as no network is available)

    External Content pastebin.com
    Content embedded from external sources will not be displayed without your consent.
    Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.


    Comparison log from the fully working nightly build 2024-10-20

    https://paste.libreelec.tv/allowed-gorilla.log


    BTW: What i noticed right now while testing, other that it takes the not working build 2-3 times so long to get a connection (even if it still wont believe that a network connection exists), the connection type stays on auto on the non working builds, while it is set (correctly?) to dhcp on the older working build.


    Forgot to check if the fixed IP Adress i set in my router for my pi is used on the failure, or of it is using some other random one

  • Do you have Firewall turned on in LE Settings? Please try to turn it off and report if network is back. Thanks.


    Edit: Even with previous nightlies, I am unable to see the IPv6 address if network is set to IPv6-only... I'll try to investigate with my limited knowledge.

  • My network also shows State: ready, and Type: auto under connection settings along with IP address.


    I do have IPv6 set to on for my eero router as seen in the picture. It has always been on and again, no issues with any nightly up until that IPv6 change it appears.


    kszaq I myself personally do not have firewall set to on for the Pi under the network settings.

  • This is from the "working" log:

    Code
    Oct 08 17:44:20.146869 LibreELEC connmand[631]: Interface wlan0 [ wifi ] error "invalid-key"
    Oct 08 17:44:20.146905 LibreELEC connmand[631]: Interface wlan0 [ wifi ] state is failure

    Seems like you always had a wrong WiFi configuration. Check your keys.

  • In the non-working log, the authentication fails:

    Code
    Oct 08 17:42:56.714116 LibreELEC kernel: ieee80211 phy0: brcmf_cfg80211_external_auth: auth_status iovar failed: ret=-52

    I am scratching my head how this could be related to IPV6_MULTIPLE_TABLES option as it is enabled in many other distros and there are no issues.

    One more thing: 56c531c is the first non-working build? If it stopped working in 4b9746e, it would be much easier to blame the iwd update. :D

  • kszaq Don't play a number game ;-), iwd is telling us:

    Working:

    Code
    Oct 08 17:44:08.427889 LibreELEC iwd[428]: Wireless daemon version 2.22

    Not working:

    Code
    Oct 08 17:42:31.860171 LibreELEC iwd[429]: Wireless daemon version 3.0

    And is then using SAE while rejecting before.

  • To me it looks like iwd is trying to offload SAE but the firmware only supports doing this with wpa_supplicant, iwd fails to authenticate and does not fallback to WPA2.

    Edit: These 2 threads seem to confirm that WPA3 does not work with iwd (yet):

    Wi-Fi Protected Access 3 (WPA3) support · Issue #4718 · raspberrypi/linux
    I bought a Raspberry Pi Zero 2 W and apparently it does not support my home wifi which uses WPA3. I excepted that to be the case, since on Debian usually works…
    github.com
    WPA3 broken on Pi 3 with 6.6 (and works with 6.1) · Issue #6130 · raspberrypi/linux
    Describe the bug When I run a 6.1 kernel on a Pi 3, using IWD, WPA3 works as expected. However, simply switching to the 6.6 kernel breaks this: the interface…
    github.com