I’ve updated my raspberry pi 2 (OSMC RC1 --> OSMC RC2) and everything looked ok for a little while.
Anyway I had bind9 configured and had dns to point to itself on the RPi2 which worked fine until I updated and a little after that.
Anyway DNS at some point stopped working, dns queries would fail to the loopback IP which is when I then started to reconfigure OSMC Setting / Network Settings. I switched to static and back to DHCP, which was my original settings and noticed that /etc/resolv.conf was not being updated by connman, but I still had connectivity to the pi at this point.
I think I then disabled and re-enabled the interface and then I lost connectivity and I could not see any more the IP settings for the interface. As far as the OSMC Settings / Network plugin the wired interface was disconnected even when I know the cable was in and leds on the interface were on. Rebooted and the pi did not start with dhcp or a static IP.
I then logged in via the cli from keyboard and configured the interface with ifconfig eht0 commands, and I brought the interface back up as well as restored conectivity and dns, however when I reboot the pi it reboots without connectivity and I need to enable it via ifconfig. OSMC settings kodi plugin still shows interface disconnected and enabling it doesn’t really do anything except for flipping the status from disabled to wired interface not connected (or something along those lines).
I uninstalled the amr7 connman package and manually reinstalled it along with the OSMC-Network and Rpi2 Device deb package dependency but that didn’t really change anything.
Can somebody point me in the right direction? I also noticed that the connman setting file under the interface has the correct ip details, the last that worked but it’s really not used at boot it seems.
I also noticed that there are no connman scripts in /usr/lib/connman/ as for example documented here Set IP address to be static on the Beaglebone Black | derekmolloy.ie not sure if there were any before though.