Beaglebone use DHCP IP, but set static IP

87 views
Skip to first unread message

Fohnbit

unread,
Sep 4, 2018, 10:34:09 AM9/4/18
to BeagleBoard
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!

evilwulfie

unread,
Sep 4, 2018, 10:46:35 AM9/4/18
to beagl...@googlegroups.com
beaglebone uses conman
--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/cc064252-6227-4877-86d3-2078afd9e8f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Robert Nelson

unread,
Sep 4, 2018, 11:10:30 AM9/4/18
to Beagle Board
User examples for setting a static eth ip via connman are saved in /etc/network/interfaces 

--

Fohnbit

unread,
Sep 5, 2018, 2:03:36 AM9/5/18
to BeagleBoard
Hey,

great, I removed connman ... then not reachable over LAN and reboot: Now he has the given static IP.
Seems this was the solution!

Thank you!
Reply all
Reply to author
Forward
0 new messages