User examples for setting a static eth ip via connman are saved in /etc/network/interfaces
On Tue, Sep 4, 2018, 7:34 AM Fohnbit <[email protected]> wrote: > Hello, > > my Beaglebone should run only with a static IP. > > I set this to my /etc/network/interfaces: > auto lo > iface lo inet loopback > > auto eth0 > > iface eth0 inet static > address 192.168.0.189 > netmask 255.255.255.0 > gateway 192.168.0.254 > > auto eth0:0 > > iface eth0:0 inet static > address 192.168.254.189 > netmask 255.255.255.0 > > > But he take from DHCP the IP: > root@0a800bd:/home/gd# ifconfig > eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 > inet 192.168.0.75 netmask 255.255.255.0 broadcast 192.168.0.255 > inet6 fe80::3ad2:69ff:fe7a:13e9 prefixlen 64 scopeid 0x20<link> > ether 38:d2:69:7a:13:e9 txqueuelen 1000 (Ethernet) > RX packets 4747 bytes 967989 (945.3 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 3318 bytes 2686970 (2.5 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > device interrupt 175 > > eth0:0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 > inet 192.168.254.189 netmask 255.255.255.0 broadcast > 192.168.254.255 > ether 38:d2:69:7a:13:e9 txqueuelen 1000 (Ethernet) > device interrupt 175 > > lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 > inet 127.0.0.1 netmask 255.0.0.0 > inet6 ::1 prefixlen 128 scopeid 0x10<host> > loop txqueuelen 1 (Local Loopback) > RX packets 187 bytes 14570 (14.2 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 187 bytes 14570 (14.2 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > > I try to remove all DHCP clients ... but guess some is still active. > > How can I solve this issue? > > Thank you! > > -- > 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/cc064252-6227-4877-86d3-2078afd9e8f1%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/cc064252-6227-4877-86d3-2078afd9e8f1%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAOCHtYj1Wy6de_vE%3DoQMnTpRV%3D2N5yoTybv-%2BMC4myAKhnwg3A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
