I don't know what you are doing with *root@sp3:~# grep forward /etc/sysctl.conf # Uncomment the next line to enable packet forwarding for IPv4 net.ipv4.ip_forward=1 # Uncomment the next line to enable packet forwarding for IPv6 *
*net.ipv6.conf.all.forwarding=1* *followed by this command "**sysctl -a |fgrep .forwarding |grep ^net |grep ipv4**"* Can you upload a copy of the script? All I can say about the route add default is your route printout shows a default route on the BBB but it's 0.0.0.0 in the left column. Try sudo route delete default gw 192.168.7.1 then re-enter it as sudo route add default gw 192.168.7.1 then do the route list again and see if the 0.0.0.0 in the first column is replaced by the word default. And if it is try ping 8.8.8.8 again. Let me know. On Fri, May 15, 2020 at 12:27 AM Rajesh Kulkarni <[email protected]> wrote: > @Ken Yep, I already did add the default gateway and the response I get is > "already exists" . > > @Robert, yep I un-commented that part. > > *root@sp3:~# grep forward /etc/sysctl.conf > # Uncomment the next line to enable packet forwarding for IPv4 > net.ipv4.ip_forward=1 > # Uncomment the next line to enable packet forwarding for IPv6 * > > *net.ipv6.conf.all.forwarding=1* > > *followed by this command "**sysctl -a |fgrep .forwarding |grep ^net > |grep ipv4**"* > > But nothing seems to be helping, > Also should I try using usb1 i.e. 192.68.6.2 ?? As of now the way I am > trying is to get my 192.168.7.2 requests to forward to my PC wifi > connection. > > sudo iptables --table nat --append POSTROUTING --out-interface wlp8s0 -j > MASQUERADE (wlp8s0 is my PC Wifi ) > sudo iptables --append FORWARD --in-interface eth0 -j ACCEPT (eth0 is > 192.168.7.2) > > > > > On Thu, May 14, 2020 at 7:33 PM KenUnix <[email protected]> wrote: > >> Looks to me that all you need is; >> >> sudo route add default gw 192.168.7.1 >> >> >>> >> -- >> 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/0d0b9b06-7a32-42af-8c11-27735b28c869%40googlegroups.com >> <https://groups.google.com/d/msgid/beagleboard/0d0b9b06-7a32-42af-8c11-27735b28c869%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/QBTe4BoyF1c/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/CAFZwMK%2BiR%2BET9Hoj2_HXiSetURWXm6XU%3D0s1RdU_QUV%3Dwpig_g%40mail.gmail.com > <https://groups.google.com/d/msgid/beagleboard/CAFZwMK%2BiR%2BET9Hoj2_HXiSetURWXm6XU%3D0s1RdU_QUV%3Dwpig_g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAJXSPs8heKGHsttvkHJm0CXezyRFEE%3DYaAaSrsQJn_U4Q2ABMQ%40mail.gmail.com.
