Hello Robert and Everyone.
I'm a newbie with beaglebones black running debian...
I'm having a problem with connman and the interfaces file.
The problem arises with a beaglebone black rev c and the
image BBB-eMMC-flasher-debian-8.3-iot-armhf-2016-03-13-4gb.img, but also
happened with BBB-eMMC-flasher-debian-8.3-lxqt-4gb-armhf-2016-03-13-4gb.img.
The same beaglebone worked with a debian wheezy image installed...
Here is the problem: I cannot access the network through eth0.
I've found the instructions in this thread and removed connman, but the
problem remains.
I have the following configuration on the beaglebone:
***** /etc/network/interfaces file:*
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet static
address 192.168.20.79
netmask 255.255.255.0
network 192.168.20.0
broadcast 192.168.20.255
gateway 192.168.20.1
dns-name-servers 192.168.20.200
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
***** /etc/resolv.conf:*
nameserver 192.168.20.200
nameserver 8.8.8.8
nameserver 4.4.4.4
***** ifconfig command returns:*
eth0 Link encap:Ethernet HWaddr 54:4a:16:f0:f1:f0
inet addr:192.168.20.79 Bcast:192.168.20.255 Mask:255.255.255.0
inet6 addr: fe80::564a:16ff:fef0:f1f0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2652 errors:0 dropped:1 overruns:0 frame:0
TX packets:2218 errors:16 dropped:63 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:272369 (265.9 KiB) TX bytes:15461 (15.0 KiB)
Interrupt:175
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:388 errors:0 dropped:0 overruns:0 frame:0
TX packets:388 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:36764 (35.9 KiB) TX bytes:36764 (35.9 KiB)
usb0 Link encap:Ethernet HWaddr 54:4a:16:f0:f1:f1
inet addr:192.168.7.2 Bcast:192.168.7.3 Mask:255.255.255.252
inet6 addr: fe80::564a:16ff:fef0:f1f1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:886 errors:0 dropped:5 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:129397 (126.3 KiB) TX bytes:9712 (9.4 KiB)
****** iptables -L command returns:*
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
***** route -n command returns:*
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
0.0.0.0 192.168.20.1 0.0.0.0 UG 0 0 0 eth0
192.168.7.0 0.0.0.0 255.255.255.252 U 0 0 0 usb0
192.168.20.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
REMARK: The first route I added manually - when the beaglebone boots, it
was not configured, just the last two.
I cannot ping the beaglebone from another computer.
I cannot ping another computer from the beaglebone.
What am I missing?
Thanks in advance...
Regards,
Daniel.
--
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].
For more options, visit https://groups.google.com/d/optout.