At Thu, 14 May 2020 19:19:47 -0700 (PDT) [email protected] wrote:
> > > > I reinstalled the latest debian on BBB. > I was able to install *arptables ebtables on my host side.*Everything went > well . > But still I am not able to ping 8.8.8.8 or any DNS name for that matter. > > *And still get the same output :* > *PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. > * > *From 192.168.7.1 icmp_seq=1 Destination Host Unreachable * > > 1. Is it because of connmanctl(on the host or BBB) by any chance ? > > 2. My "*netstat -rn*" of BBB looks fine > Destination Gateway Genmask Flags MSS Window irtt > Iface > 0.0.0.0 192.168.7.1 0.0.0.0 UG 0 0 > 0 usb0 > 192.168.6.0 0.0.0.0 255.255.255.0 U 0 0 0 > usb1 > 192.168.7.0 0.0.0.0 255.255.255.0 U 0 0 0 > usb0 > > 3. The BBB website https://beagleboard.org/upgrade has these instructions > which did work, but after restart didn't last > In your host operating system, you'll need to share your Internet > connection back to the board. With an Ubuntu host, use the utility > "nm-connection-editor". > > sudo ip addr flush dev usb0 > sudo dhclient usb0 > > > I am really confused . One thing that is needed is that the upstream host (your PC?) needs to be doing IP forwarding. I don't know what that is for either Mess-Windows or MacOSX, but for Linux, you need something like: sysctl -w net.ipv4.ip_forward=1 somewhere in the host's startup. Where and how depends on the distro, kernel version, distro vintage, type of init (sysV, upstart, systemd, etc.). > > On Wednesday, May 13, 2020 at 8:29:45 AM UTC-7, RobertCNelson wrote: > > > > On Wed, May 13, 2020 at 1:20 AM jonnymo <[email protected] <javascript:>> > > wrote: > > > > > > You may need to install the missing arptables and ebtables if they are > > not already installed: > > > > > > sudo apt-get install -y iptables arptables ebtables > > > > Side note, now that Debian 10.x Buster and Ubuntu 20.04 are shipping > > nftables by default > > > > anyone want to dive and try getting nftables to do the same thing as: > > > > sudo iptables --table nat --append POSTROUTING --out-interface eth0 -j > > MASQUERADE > > sudo iptables --append FORWARD --in-interface eth1 -j ACCEPT > > > > Regards, > > > > -- > > Robert Nelson > > https://rcn-ee.com/ > > > -- Robert Heller -- 978-544-6933 Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services http://www.deepsoft.com/ -- Linux Administration Services [email protected] -- Webhosting Services -- 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/20200515024131.BCF422223FB%40sharky4.deepsoft.com.
