Hi,
I just got myself a Raspberry Pi 3 B+ . It's running LibreELEC 9.1.001 (which has Kodi 18.3 Git: newclock5_18.3-Leia). The device is typically only connected via Wifi.
I now noticed that I cannot seem to SSH into the device. In fact, I cannot even ping it. In the settings, I can see that it was assigned a plausible IP via DHCP, and any outgoing connections work (e.g. I can update Addons or stream movies). I noticed that I cannot SSH nor ping the device -- but it successfully connects to the Internet (i.e. incoming connections seem to fail, but outgoing works).
To debug this further, I then hooked it up using Ethernet (in addition to Wifi) and rebooted. Both connections get sensible IPs but still - no ping, no SSH. Trying to e.g. SSH in just gives (.22 is the IP assigned to the Ethernet connection):
MacBook-Pro:Downloads frerich$ ssh -vvv [email protected]
OpenSSH_7.9p1, LibreSSL 2.7.3
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.0.22 is address
debug2: ssh_connect_direct
debug1: Connecting to 192.168.0.22 [192.168.0.22] port 22.
^C
By accident, I noticed that I *can* ping the device and connect to it via SSH as soon as I go to the LibreELEC settings in Kodi and disable the Wifi connection. Without any reboot, the Ethernet connection starts working just fine.
In fact, if I then re-enable the Wifi connection again and connect to the same Wifi network as before, I can *still* SSH in -- using both the Ethernet IP as well as the Wifi IP!
If I now reboot again, I'm back to square one: the device does not seem to react to incoming connections unless I deactivate Wifi again.
I.e. the bottom line is that the device does not seem to react to incoming connections if Wifi is enabled during bootup. Disabling it fixes this for the Ethernet connection, and after re-enabling Wifi it works fine via both Ethernet and Wifi (i.e. the state which I would like to have right after booting).
Does this ring a bell with anyone? Any ideas what I could try to trace this down? Maybe some educated guesses as to what's causing this?