I don't typically use the Network Manager since it can be a bit wonky and
have a mind of its own.

The routing of traffic from the Beaglebone to the internet through a Ubuntu
host seems to pop up quite often so perhaps it needs a special place or
WiKi.

This is an instance of something fairly recent in the forums:

https://mail.google.com/mail/u/0/?tab=rm&ogbl#search/iptables/FMfcgxwGDNPVtXcfbtFvLBMVVszdQhQW

In there is a link to a script by Robert Nelson that shows what to set on
the Ubuntu host.  This may or may not work though.
One note, in your case the Out Port would be wlp7s0, and your In port would
be eth0 on the Ubuntu host.
https://github.com/RobertCNelson/boot-scripts/blob/master/network/doc-debian-setup.md

I've done something like:
  * sudo iptables -A FORWARD -i wlan0 -o eth1 -j ACCEPT*

Another reference:
https://gist.github.com/pdp7/d2711b5ff1fbb000240bd8337b859412

On the BB, under /opt/scripts/network there are some scripts for setting
the network in various connection instances. You could try to use say the
linux usb0 one and make the edits for your BB eth0 port.
  Ex:
      */opt/scripts/network/usb_linux_usb0_ics.sh*

Cheers,

Jon

On Mon, Oct 12, 2020 at 10:29 AM Pavel Yermolenko <[email protected]>
wrote:

> Yes I did it what you suggested. At that moment it didn't work. Probably
> due to the wrong settings on the Ubuntu side.
>
> On Monday, October 12, 2020 at 5:47:45 PM UTC+2, jonnymo wrote:
>>
>> Did you follow what was shown in the link I provided for setting the
>> iptables?  You are not going to do this via the Network Manager on the
>> Ubuntu system.  You need to set the routing so the BB will connect to the
>> Internet through your Ethernet connection on your Ubuntu system. That is
>> unless there is a share option for the Wireless connection.  This is
>> similar to using the USB Network connection except in your case you are
>> trying to use the Ethernet connection.
>>
>> Jon
>>
>> On Mon, Oct 12, 2020 at 7:33 AM amf <[email protected]> wrote:
>>
>>> try setting your gateway, in your case it should be 192.168.0.1, this is
>>> the routers ip, at lease in my case.
>>>
>>> On Monday, October 12, 2020 at 8:46:40 AM UTC-5 [email protected]
>>> wrote:
>>>
>>>> Could someone share their wired connection settings on a Linux machine
>>>> (preferably on Ubuntu).
>>>> In my case I can't share wifi Internet connection on Ubuntu with BBB.
>>>> BBB is connected to Ubuntu over ssh(ethernet cable) also over terminal.
>>>> With these setting (please, see screenshot below) I can connect to BBB
>>>> over *ssh*, but can't get Internet. When I specify *DHCP* nothing
>>>> works: I even can't get connection over *ssh*.
>>>> Thanks.
>>>>
>>>> [image: Screenshot from 2020-10-12 15-38-59.png]
>>>>
>>>> --
>>> 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/a212c2ff-6d77-47c8-b3e2-c7cc16f4b863n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/beagleboard/a212c2ff-6d77-47c8-b3e2-c7cc16f4b863n%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 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/922522a4-3118-4704-ba50-cba5b85a60e3o%40googlegroups.com
> <https://groups.google.com/d/msgid/beagleboard/922522a4-3118-4704-ba50-cba5b85a60e3o%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 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/CAG99bkreSt9z-P22SOCFT7tkb17gLjP0a9nAWOiSzDAivC2fqA%40mail.gmail.com.

Reply via email to