I have them in this file on my Ubuntu laptop:
/etc/sysctl.d/99-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

-drew

On Wed, Jun 12, 2019 at 4:07 AM aston <[email protected]> wrote:
>
> Hi Drew,
>
> Thanks for making documentation for this stuff.
> I've tried step by step of your tutorial but my BBB still cannot connect to 
> the internet.
> One step i cannot accomplish is this part :
>
> root@sp3:~# sysctl -a |fgrep .forwarding |grep ^net |grep ipv4
> net.ipv4.conf.all.forwarding = 1
> net.ipv4.conf.default.forwarding = 1
> net.ipv4.conf.enx1cba8c9bbeb5.forwarding = 1
> net.ipv4.conf.enx1cba8c9bbeb8.forwarding = 1
> net.ipv4.conf.lo.forwarding = 1
> net.ipv4.conf.wlxe0b94db737c9.forwarding = 1
>
>
> Where can i find the file to set all those parameters value to "1" ?
> I am using Ubuntu 16.04, Mobile WiFi, and beaglebone black Rev C.
>
> On Tue, Oct 9, 2018 at 2:34 AM Drew Fustini <[email protected]> wrote:
>>
>> Yesterday, I got Internet connection sharing over USB working on my system.
>>
>> My BeagleBone Black is connected via USB to my Linux laptop (Ubuntu
>> 17.10).  The BBB is able to connect to the Internet by my Laptop
>> laptop forwarding traffic through the WiFi interface.
>>
>> BBB <-- USB --> Laptop <-- WiFi --> Internet
>>
>> I got this working 6 months ago but had a really hard time recreating
>> those steps yesterday.  I've noted what I did in this GitHub Gist in
>> case it helps anyone else (and myself in the future :)
>>
>> https://gist.github.com/pdp7/d2711b5ff1fbb000240bd8337b859412
>>
>> Also, if you are having issues yourself, then please reply here and I
>> can try to make suggestions.
>>
>> Thanks,
>> Drew
>>
>> --
>> 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/CAEf4M_A0Wjx2E8Lf%2BUQS4f%3DP6a0yjZ104e5v6XeYv_J0OOOJ5A%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> Rgds,
>
> Aston
> Blog | Twitter | LinkedIn
>
> "If you are working on something exciting that you really care about, you 
> don't have to be pushed. The vision pulls you."
> (Steve Jobs)
>
>
>
> --
> 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/CA%2B9kmzy6b%3DJeevALeA%3Dt1Sw%3D5uzB2L%2B-L7yDvxtiz_yHZY5_6w%40mail.gmail.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/CAEf4M_DbpYLnrxRUqOX7wiC74FdVX-ZZE%2BxL28_6_Pg4A48tZg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to