Setting a static ip address in Libre/CoreELEC

 

connmanctl services 

Look for the device you want to configure and run:

connmanctl config <your device> --ipv4 manual <your ip> <your netmask> <your gateway> --nameserver <your dns> --ipv6 auto
EXAMPLE: connmanctl config ethernet_06418051742b_cable --ipv4 manual 192.168.2.13 255.255.255.0 192.168.2.1 --nameservers 192.168.2.1 --ipv6 auto

This will assign the ip address immediately and disconnect any ssh session!