Hallo,
ich habe eine Beaglebone black mit Debian:
Code:
Linux version 4.4.36-ti-r72 (root@a2-imx6q-wandboard-2gb) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP Wed Dec 7 22:29:53 UTC 2016
Die Interface Datei habe ich auf static:
Code:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.0.148
netmask 255.255.255.0
gateway 192.168.0.254
auto eth0:0
iface eth0:0 inet static
address 192.168.254.3
netmask 255.255.255.0
Boote ich neu, erhalte ich aber:
Code:
eth0 Link encap:Ethernet HWaddr 84:eb:18:e2:0a:aa
inet addr:192.168.0.124 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::86eb:18ff:fee2:aaa/64 Scope:Link
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
RX packets:284 errors:0 dropped:0 overruns:0 frame:0
TX packets:152 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:30051 (29.3 KiB) TX bytes:22003 (21.4 KiB)
Interrupt:173
eth0:0 Link encap:Ethernet HWaddr 84:eb:18:e2:0a:aa
inet addr:192.168.254.3 Bcast:192.168.254.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST DYNAMIC MTU:1500 Metric:1
Interrupt:173
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:173 errors:0 dropped:0 overruns:0 frame:0
TX packets:173 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:14856 (14.5 KiB) TX bytes:14856 (14.5 KiB)
Der Controller ist sowohl über 192.168.0.124 als auch über 192.168.0.148 erreichbar.
Die 192.168.0.124 liegt im DHCP Bereich und das Beaglebone black Board holt sich wohl via DHCP auch eine IP Adresse.
Ich hatte das Problem schon irgendwann mal und musst den DCHP Client Dienst abschalten.
Weiß jemand wie ich das erreichen kann? DHCP wird nie benötigt.
Danke!
Lesezeichen