Hi!
I just wanted to report an error that occurred to me and how I solved it.
I installed a new version of Debian on Beaglebone Black, which was made available at https://rcn-ee.net/rootfs/bb.org/testing/2017-07-01/iot/ by Robert Nelson.
I use static IP on Ethernet and configure it via connman as follows:
-
Discover the identification of the ethernet interface:
ls -la /var/lib/connman
drwx------ 2 root root 4096 Jul 19 15:37 ethernet_b0d5ccfbbc59_cable <=== this is my MAC Address -
Configure static IP:
connmanctl config ethernet_b0d5ccfbbc59_cable --ipv4 manual 192.168.137.2 255.255.255.0 192.168.137.1 -
Configure DNS (this can be done together with the previous command):
connmanctl config ethernet_b0d5ccfbbc59_cable --nameservers 192.168.1.1 8.8.8.8
ERROR:
When executing item 1, the following error was displayed:
Method “SetProperty” with signature “sv” on interface “net.connman.Service” doesn’t exist
Running “connmanctl services” no interface was displayed:
root@beaglebone:~# connmanctl
services
<====== Here should appear “ethernet_b0d5ccfbbc59_cable” or “ethernet”, I do not know …
SOLUTION:
The connman is already configured for dynamic ip, so I did the following:
1- connect the Beaglebone to the router;
2- check which IP the Beaglebone registered;
3) access the Beaglebone for this dynamic IP;
4) run the command: connmanctl config ethernet_b0d5ccfbbc59_cable --ipv4 manual 192.168.137.2 255.255.255.0 192.168.137.1
5) You will lose the connection after executing item 4, then just access the BBB again using the new IP, which in my case is 192.168.137.2.