Can't connet to BBB over Ethernet

I’m not sure what you did on the host but you need to set the iptables so the traffic will go from the BB to the Internet from the host. You could do something like shown in the following link but for your Ethernet port vs the USB network connect.
http://jpdelacroix.com/tutorials/sharing-internet-beaglebone-black.html

Connecting directly to a router would be much easier.

Jon

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.

Screenshot from 2020-10-12 15-38-59.png

try setting your gateway, in your case it should be 192.168.0.1, this is the routers ip, at lease in my case.

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

I’m sick of this crazy Ubuntu.
There is a connection that appears every time I restart the system. I delete it, but it reappears each time (the one whose IP is 169.254 …) How to permanently delete it.

Screenshot from 2020-10-12 19-24-08.png

Yes I did it what you suggested. At that moment it didn’t work. Probably due to the wrong settings on the Ubuntu side.

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

https://en.wikipedia.org/wiki/Link-local_address
"""
In IPv4, link-local addresses are normally only used when no external,
stateful mechanism of address configuration exists, such as the Dynamic
Host Configuration Protocol (DHCP), or when another primary configuration
method has failed
"""