ConnMan, need to add secondary and third IPv4 addresses

That overcame the need for the sleep.

not necessary if Requires=connman-wait-for-network.service is used.

So what’s the connmanctl syntax? :wink:

@JimKnopf Just for the record, here’s my revised ip-alias.service file:

osmc@osmc:~$ cat /etc/systemd/system/ip-alias.service 
[Unit]
Description=Create alias IP addresses
After=connman-wait-for-network.service
Requires=connman-wait-for-network.service

[Service]
Type=oneshot
ExecStart=/sbin/ifconfig eth0 add 192.168.178.18
ExecStart=/sbin/ifconfig eth0 add 192.168.178.19

[Install]
WantedBy=multi-user.target
1 Like