I created a virgin sd card for my rbp4 with the OSMC installer specifying a manual wired IP configuration and got the exact same situation not even being able to change anything of the network config within MyOSMC.
The reason is the file /var/lib/connman/osmc.config which contains the network information when the installer was instructed to create the sd card with a manual network configruation. This information will reapplied on every boot and creates these strange settings lines as well.
So, to correct this I suggest (using the WLAN)
sudo rm /var/lib/connman/osmc.config… if the ssh session hangs afterwards, reboot the rbp using the OSMC GUI on TV.sudo rm -R /var/lib/connman/ethernet_b827eb3e53f7_cable/ && sync && reboot- After this reboot redo your steps in post #33 or try the MyOSMC method.
- deactivate the wifi interface of the rbp if not need anymore