How can I used
connmanctl to set a static IP address for an Ethernet interface on a Beaglebone Black running Debian 9 - prior to connecting the device to an Ethernet cable?
I'm trying to set a static IP address for an Ethernet interface (eth0) on a Beaglebone Black running Debian 9. I've found instructions online that seem to be working, e.g.:
They suggest the following steps:
Connect a working Ethernet cable to a LAN port
Get the ConnMan service name, e.g.:
user@host:~$ connmanctl services *AO Wired ethernet_6ceceb5cc3e2_cable
Set the static IP through ConnMan, e.g.:
user@host:~$ sudo connmanctl config ethernet_6ceceb5cc3e2_cable --ipv4 manual 10.0.10.0 255.255.0.0
The problem for me is that I would like to configure the device before it's connected to a network via Ethernet. But the
connmanctl services command doesn't produce any output until I do.