Hi

I have a BeagleBone Black with a huge Problem

I i flashed the image Debian 9.5 2018-10-07 4GB SD IoT 
<https://debian.beagleboard.org/images/bone-debian-9.5-iot-armhf-2018-10-07-4gb.img.xz>
 

I have one PC in Network 192.168.144.xxx Gateway 192.168.144.254
The Beaglebone is in network 192.168.143.xxx  Gateway 192.168.143.254

My interfaces file:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo eth0
iface lo inet loopback

# The primary network interface
# auto eth0
iface eth0 inet static
    address 192.168.143.207
    netmask 255.255.255.0
    gateway 192.168.143.254

# Example to keep MAC address between reboots
#hwaddress ether DE:AD:BE:EF:CA:FE

##connman: ethX static config
#connmanctl services
#Using the appropriate ethernet service, tell connman to setup a static IP 
address for that service:
#sudo connmanctl config <service> --ipv4 manual <ip_addr> <netmask> 
<gateway> --nameservers <dns_server>

##connman: WiFi
#
#connmanctl
#connmanctl> tether wifi off
#connmanctl> enable wifi
#connmanctl> scan wifi
#connmanctl> services
#connmanctl> agent on
#connmanctl> connect wifi_*_managed_psk
#connmanctl> quit




# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.252
    network 192.168.7.0
    gateway 192.168.7.1
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

I can't ping the BeagleBone from the PC. It is possible to ping the Gateway 
in 192.168.143.xxx from PC and Beaglebone.

After booting the BeagleBone,  the "route" command shows:
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use 
Iface
default         0.0.0.0         0.0.0.0         U     0      0        0 eth0
default         192.168.143.254 0.0.0.0         UG    0      0        0 eth0
link-local      0.0.0.0         255.255.0.0     U     0      0        0 eth0
192.168.6.0     0.0.0.0         255.255.255.252 U     0      0        0 usb1
192.168.7.0     0.0.0.0         255.255.255.252 U     0      0        0 usb0
192.168.143.0   0.0.0.0         255.255.255.0   U     0      0        0 eth0
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
There are two default routes!?!?!?!?!  WHY?

If i restart the network service, the first default route disappears and i 
can successfully ping the Beaglebone from the PC in the 192.168.144 network.
What did i wrong?

-- 
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/a6096ac8-1396-4433-9239-80e0a1e95135%40googlegroups.com.

Reply via email to