I have not had a lot of time to dig into this more but wanted to post a
quick comment about what I initially found after trying this solution.
After running the command I lost my dynamic IP and was left with the static
one. I rebooted the Beaglebone and had my dynamic IP back but lost my name
resolution. I was unable to ping the static IP I have set on my laptop
(might be a firewall issue) but was able to ping google (using ip not
name). My laptop is connected to wifi and a wired network switch that has
internet access which my Beaglebone is connected to and I was able to ping
the WIFI address but not the static IP on my laptop but I was successful in
pinging the Beaglebone from my laptop.
# connmanctl config ethernet_38d2697463bf_cable --ipv4 manual 192.168.1.100
255.255.255.0 192.168.1.1 --nameservers 8.8.8.8
# ip addr show eth0
4: eth0: <BROADCAST,MULTICAST,DYNAMIC,UP,LOWER_UP> mtu 1500 qdisc
pfifo_fast state UP group default qlen 1000
link/ether 38:d2:69:74:63:bf brd ff:ff:ff:ff:ff:ff
inet 192.168.1.100/24 brd 192.168.1.255 scope global eth0:1
valid_lft forever preferred_lft forever
inet6 fe80::3ad2:69ff:fe74:63bf/64 scope link
valid_lft forever preferred_lft forever
$ ping www.google.com
ping: www.google.com: Temporary failure in name resolution
$ ping 172.217.0.4
PING 172.217.0.4 (172.217.0.4) 56(84) bytes of data.
64 bytes from 172.217.0.4: icmp_seq=1 ttl=54 time=10.4 ms
64 bytes from 172.217.0.4: icmp_seq=2 ttl=54 time=10.4 ms
64 bytes from 172.217.0.4: icmp_seq=3 ttl=54 time=10.6 ms
64 bytes from 172.217.0.4: icmp_seq=4 ttl=54 time=11.0 ms
64 bytes from 172.217.0.4: icmp_seq=5 ttl=54 time=10.8 ms
64 bytes from 172.217.0.4: icmp_seq=6 ttl=54 time=10.8 ms
64 bytes from 172.217.0.4: icmp_seq=7 ttl=54 time=10.3 ms
^C
--- 172.217.0.4 ping statistics ---
$ ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=57 time=15.3 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=57 time=17.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=57 time=15.2 ms
64 bytes from 8.8.8.8: icmp_seq=4 ttl=57 time=15.2 ms
64 bytes from 8.8.8.8: icmp_seq=5 ttl=57 time=15.8 ms
64 bytes from 8.8.8.8: icmp_seq=6 ttl=57 time=15.1 ms
^C
--- 8.8.8.8 ping statistics ---
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/4c68eaf9-0a51-4ab9-a0bf-946c2e35746c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.