1

Short Version

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?

Longer Version

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:

  1. Connect a working Ethernet cable to a LAN port

  2. Get the ConnMan service name, e.g.:

    user@host:~$ connmanctl services
    *AO Wired                ethernet_6ceceb5cc3e2_cable
    
  3. 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.