On Sat, 15 Feb 2020 20:12:31 -0800 (PST), in
gmane.comp.hardware.beagleboard.user KenUnix
<ken.unix.guy-re5jqeeqqe8avxtiumw...@public.gmane.org> wrote:

>Bob,
>
>In my efforts I have gone and screwed up routing on the BBB.
>
>I now can only access via the JTAG serial port.
>
>The BBB can't ping 192.168.7.1 the Win-10 address and the
>P.C. can't ping 192.168.7.2 either
>
>This is what's in /etc/network/interfaces
>iface usb0 inet static
>    address 192.168.7.2
>    netmask 255.255.255.252
>    network 192.168.7.0
>    gateway 192.168.7.1
>    dns-nameservers 8.8.8.8
>    post-up route add default gw 192.168.7.1
>
>Then to add default
>sudo /sbin/route add default gw 192.168.7.2
>
>It did work, but now not. Any help is appreciated. Sorry to bother.
>
        You keep fiddling with the BBB configuration, when it is the WINDOWS
configuration you need to change.

debian@beaglebone:~$ cat /etc/network/interfaces
# 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
iface lo inet loopback

        <SNIP COMMENTED LINES>

# 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
debian@beaglebone:~$


        Pulling the CAT-5 cable from my BBB and rebooting... Then connecting
via PuTTY...

debian@beaglebone:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
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
debian@beaglebone:~$

        I do NOT have Internet Connection Sharing configured on Windows, so am
unable to ping anything outside of  192.168.7.1. If I plug in the CAT-5
cable, I show...

debian@beaglebone:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
default         dsldevice.attlo 0.0.0.0         UG    0      0        0
eth0
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0
eth0
dsldevice.attlo 0.0.0.0         255.255.255.255 UH    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
debian@beaglebone:~$



-- 
Dennis L Bieber

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/de2j4fpb9lv3mj0hk325bgqekkcrmrap8c%404ax.com.

Reply via email to