Can't connet to BBB over Ethernet

174 views
Skip to first unread message

Pavel Yermolenko

unread,
Oct 7, 2020, 6:12:04 AM10/7/20
to BeagleBoard
Hello,

I don't know what happened, but for a while now I can't connect with BBB via Ethernet:

Screenshot from 2020-10-07 12-09-17.png

What should I check in my host machine (Ubuntu) to resolve the problem.
Thanks.

Pavel Yermolenko

unread,
Oct 7, 2020, 11:03:50 AM10/7/20
to BeagleBoard
I changed wired connection settings on my host.
Now it looks like this:

Screenshot from 2020-10-07 16-59-42.png


But when I run ifconfig on BBB (connected via terminal), I see that IP address of BBB isn't in the same subnet:

Screenshot from 2020-10-07 17-02-41.png

Any comments ?

Thanks.


jonnymo

unread,
Oct 7, 2020, 11:25:58 AM10/7/20
to Beagle Board
  How is the Ethernet connection connected to the BB? Are you using a Switch or direct?
You can check the output of 'dmesg' to see if there are any messages that indicated the port went down.
Have tried to unplug the ethernet cable from the BB and plug it back in?

Commands to check:
   ip address
   ip link
   ip -s link show
   ip route 
   route 

There is some good info on this page:

Cheers,

Jon

--
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 beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/29274256-e01e-41f2-a45f-b52e6ca42b43o%40googlegroups.com.

Pavel Yermolenko

unread,
Oct 7, 2020, 2:06:55 PM10/7/20
to BeagleBoard


On Wednesday, October 7, 2020 at 5:25:58 PM UTC+2, jonnymo wrote:
  How is the Ethernet connection connected to the BB? Are you using a Switch or direct?
Direct
You can check the output of 'dmesg' to see if there are any messages that indicated the port went down.
Have tried to unplug the ethernet cable from the BB and plug it back in?
Yes, didn't help. The IP assigned to BBB isn't on the same subnet as host:
Host: 192.XXX.XXX.XXX
BBB: 169.XXX.XXX.XXX

Commands to check:
   ip address
   ip link
   ip -s link show
   ip route 
   route 

pavel@ALABAMA:~$ ip address
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
    inet 192.168.206.180/24 brd 192.168.206.255 scope global noprefixroute enp8s0
       valid_lft forever preferred_lft forever
    inet6 fe80::8e16:45ff:fea9:fe44/64 scope link
       valid_lft forever preferred_lft forever
3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 14:4f:8a:ac:fb:66 brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.252/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp7s0
       valid_lft 258424sec preferred_lft 258424sec
    inet6 2001:171b:227c:8320:bdfd:2047:6cd3:8090/128 scope global dynamic noprefixroute
       valid_lft 2828sec preferred_lft 2828sec
    inet6 2001:171b:227c:8320:9167:d6af:99a3:3245/64 scope global temporary dynamic
       valid_lft 7181sec preferred_lft 3581sec
    inet6 2001:171b:227c:8320:e3e5:53c7:9824:b200/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 7181sec preferred_lft 3581sec
    inet6 fdaa:bbcc:ddee:0:9167:d6af:99a3:3245/64 scope global temporary dynamic
       valid_lft 604027sec preferred_lft 85130sec
    inet6 fdaa:bbcc:ddee:0:1ffd:69b9:6949:cc83/64 scope global dynamic mngtmpaddr noprefixroute
       valid_lft 2006054636sec preferred_lft 2006054636sec
    inet6 fe80::66f8:f168:baa9:3769/64 scope link noprefixroute
       valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:38:88:1f:48 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
       valid_lft forever preferred_lft forever
pavel@ALABAMA:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 14:4f:8a:ac:fb:66 brd ff:ff:ff:ff:ff:ff
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:38:88:1f:48 brd ff:ff:ff:ff:ff:ff
pavel@ALABAMA:~$ ip -s link show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    RX: bytes  packets  errors  dropped overrun mcast   
    157429     1572     0       0       0       0       
    TX: bytes  packets  errors  dropped carrier collsns
    157429     1572     0       0       0       0       
2: enp8s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 8c:16:45:a9:fe:44 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    28005      60       0       0       0       18      
    TX: bytes  packets  errors  dropped carrier collsns
    21027      218      0       0       0       0       
3: wlp7s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DORMANT group default qlen 1000
    link/ether 14:4f:8a:ac:fb:66 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    3686655    9399     0       0       0       0       
    TX: bytes  packets  errors  dropped carrier collsns
    2200807    6783     0       0       0       0       
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default
    link/ether 02:42:38:88:1f:48 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    0          0        0       0       0       0       
    TX: bytes  packets  errors  dropped carrier collsns
    0          0        0       0       0       0       
pavel@ALABAMA:~$ ip route
default via 192.168.1.1 dev wlp7s0 proto dhcp metric 600
default via 192.168.206.2 dev enp8s0 proto static metric 20100
169.254.0.0/16 dev wlp7s0 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev wlp7s0 proto kernel scope link src 192.168.1.252 metric 600
192.168.206.0/24 dev enp8s0 proto kernel scope link src 192.168.206.180 metric 100
pavel@ALABAMA:~$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         sunrise         0.0.0.0         UG    600    0        0 wlp7s0

^C
pavel@ALABAMA:~$


 
There is some good info on this page:

Cheers,

Jon

On Wed, Oct 7, 2020 at 8:04 AM Pavel Yermolenko <py....@sunrise.ch> wrote:
I changed wired connection settings on my host.
Now it looks like this:

Screenshot from 2020-10-07 16-59-42.png


But when I run ifconfig on BBB (connected via terminal), I see that IP address of BBB isn't in the same subnet:

Screenshot from 2020-10-07 17-02-41.png

Any comments ?

Thanks.


--
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 beagl...@googlegroups.com.

jonnymo

unread,
Oct 7, 2020, 2:33:12 PM10/7/20
to Beagle Board
Looks like your 169.x.x.x routing is going through the wireless device:
pavel@ALABAMA:~$ ip route
default via 192.168.1.1 dev wlp7s0 proto dhcp metric 600
default via 192.168.206.2 dev enp8s0 proto static metric 20100
169.254.0.0/16 dev wlp7s0 scope link metric 1000
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.1.0/24 dev wlp7s0 proto kernel scope link src 192.168.1.252 metric 600
192.168.206.0/24 dev enp8s0 proto kernel scope link src 192.168.206.180 metric 100 

  Did you setup the NAT to route through the wireless device?
 Have you tried rebooting the BB?

See if you can ping the 169.x.x.x address of the BB using the wlp7s0 interface
Ex:
   ping -I  wlp7s0 <BB 169.x.x.x address>

Jon
 

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/76a97a60-a237-491e-8ac1-106549020015o%40googlegroups.com.

Pavel Yermolenko

unread,
Oct 7, 2020, 2:51:07 PM10/7/20
to BeagleBoard
One more issue with Ethernet on the host.
I edited/etc/NetworkManager/NetworkManager.conf
changing
[ifupdown]
managed=true
to
[ifupdown]
managed=true

After that I restarted network manager.
And after restarting Ethernet is out. I don's see it when executing ifconfig

Dennis Lee Bieber

unread,
Oct 7, 2020, 2:53:21 PM10/7/20
to Beagleboard
On Wed, 7 Oct 2020 08:03:49 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pavel Yermolenko
<py.ohayo-FOWRGO...@public.gmane.org> wrote:

>I changed wired connection settings on my host.
>Now it looks like this:
>

https://packetlife.net/blog/2008/sep/24/169-254-0-0-addresses-explained/

Based upon your screen grabs (please, don't use screen grabs for TEXT
TERMINALS!, Just copy/paste the TEXT -- it makes for much smaller posts
which are more easily read... For screen grabs I have to first SAVE the
images to my computer, then open them with external utility just to see
text) your BBB is not finding a DHCP server and is self-assigning the IP
address being used.

Solution -- I think connecting the BBB and the host computer to a
common router that provides DHCP would be desired. Most of these routers
also handle local DNS services, so you could connect via

ssh deb...@beaglebone.local.

If you do have both connected to a common router, then the router is
the device that needs to be checked -- as it is not issuing an IP to the
BBB. If you connected the BBB to a port on the host, then the host needs to
be running a DHCP server for that port.


--
Dennis L Bieber

Pavel Yermolenko

unread,
Oct 7, 2020, 3:03:09 PM10/7/20
to BeagleBoard
Hi Dennis,

Based upon your screen grabs (please, don't use screen grabs for TEXT TERMINALS!,
Ok.

Most of these routers
also handle local DNS services, so you could connect via
  ssh deb...@beaglebone.local
Doesn't work. Something happened with ethernet service.
It's out. I'm trying to figure out what happened.

Sincerely,
Pavel.

jonnymo

unread,
Oct 7, 2020, 5:06:51 PM10/7/20
to Beagle Board
Something you can do to check the connection is to manually set the IP on the host and the BB as such:
This assumes you have another way to get to the BB like via the USB network or FTDI serial connection.

Host (may not be needed. I do not see an eth0 from the host listing):
     sudo ip addr add 192.168.206.180/24 dev enp8s0

 BB:
   sudo ip addr add 192.168.206.181/24 dev eth0 

Then see if you can ping the BB from the host as:
    ping -I  enp8s0  192.168.206.181

 You may have to take the BB eth0 down and then up if it does not take:
  Ex:
    sudo ip link set eth0 down
    sudo ip link set eth0 up 

If you have Network Manager running on the host it could interfere and reset eth0.

Cheers,

Jon


    



--
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 beagleboard...@googlegroups.com.

Pavel Yermolenko

unread,
Oct 8, 2020, 11:47:55 AM10/8/20
to BeagleBoard
I deleted existing wired connection using nm-connection-editor.
I couldn't do it in property editor (i.e. Settings/Network) in because it was invisible there.
Then I created new one using nm-connection-editor.
During creation I leaved default settings, I specified only name.
Although new connection is now visible in Settings/Network, the issue persists.
ifconfig doesn't show IP address of Ethernet connection and ssh connection to BBB fails.

Pavel Yermolenko

unread,
Oct 8, 2020, 11:52:13 AM10/8/20
to BeagleBoard

Screenshot from 2020-10-08 17-49-50.png

Also this annoying message periodically appears at the top of Ubuntu desktop:

Pavel Yermolenko

unread,
Oct 8, 2020, 12:11:02 PM10/8/20
to BeagleBoard
Here is what happens when I try activate it:

pavel@ALABAMA:~$ sudo ifup enp8s0
Internet Systems Consortium DHCP Client 4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/enp8s0/8c:16:45:a9:fe:44
Sending on   LPF/enp8s0/8c:16:45:a9:fe:44
Sending on   Socket/fallback
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 3 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 3 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 20 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 7 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 14 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 14 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 7 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 9 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 20 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 17 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 9 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 10 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 15 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 11 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 8 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 13 (xid=0xdd23072a)
DHCPDISCOVER on enp8s0 to 255.255.255.255 port 67 interval 2 (xid=0xdd23072a)
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
pavel@ALABAMA:~$

It remains to be seen where the problem comes from - Ubuntu host or BBB ?

jonnymo

unread,
Oct 8, 2020, 12:28:02 PM10/8/20
to Beagle Board
The interface  enp8s0 is the physical Ethernet port from the Ubuntu host that is directly connected to the BB, correct?
If this is correct, then enabling DHCP makes no sense unless you have set up the BB as a DHCP server.  Since you are connecting these two devices directly, then you need to either hardcode the IP address on the host without DHCP and then set the IP on the BB.
If you do what I had shown previously, then that will give a clue if the connection is working.

However, using Network Manager may interfere with any manual changes you make. 

Please look at the link I provided for more detail on how to troubleshoot a network connection.


Jon 

--
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 beagleboard...@googlegroups.com.

Pavel Yermolenko

unread,
Oct 8, 2020, 2:08:19 PM10/8/20
to BeagleBoard
Finally it works.
Thanks.
I specified IP staff manually in nm-connection-editor taking into account BBB IP:

Screenshot from 2020-10-08 19-58-34.png

Here is BBB ifconfig:
debian@beaglebone:~$ ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC>  mtu 1500
        inet 169.254.44.158  netmask 255.255.0.0  broadcast 169.254.255.255
        inet6 fe80::96e3:6dff:fed4:ae86  prefixlen 64  scopeid 0x20<link>
        ether 94:e3:6d:d4:ae:86  txqueuelen 1000  (Ethernet)
        RX packets 30  bytes 3658 (3.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 57  bytes 15434 (15.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 55  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 480  bytes 33280 (32.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 480  bytes 33280 (32.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.7.2  netmask 255.255.255.0  broadcast 192.168.7.255
        ether 94:e3:6d:d4:ae:88  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

usb1: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        inet 192.168.6.2  netmask 255.255.255.0  broadcast 192.168.6.255
        ether 94:e3:6d:d4:ae:8c  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

debian@beaglebone:


Then I pinged Ubuntu from BBB and it was Ok.
Then I tried ssh connection and it also worked.
What is strange: the wired connection doesn't appears in main Ubuntu settings:

Screenshot from 2020-10-08 20-04-56.png


Before I encountered these connection issues, I could see a wired connection in the networks settings (screenshot above).

Pavel Yermolenko

unread,
Oct 8, 2020, 2:14:43 PM10/8/20
to BeagleBoard
Another issue appeared !!!
I cannot get an internet connection - neither using terminal nor via ssh.

jonnymo

unread,
Oct 8, 2020, 2:22:55 PM10/8/20
to Beagle Board
The 169.x.x.x address on the BB I believe is just the default address when it can not connect to anything.  You could set it to something else manually. 

For internet access, you need to configure the routing so the BB will connect to the internet through the host ethernet port.

I'm not sure what is causing the issue on the Ubuntu system since I do not use that tool. 

Jon  


On Thu, Oct 8, 2020 at 11:14 AM Pavel Yermolenko <py.o...@sunrise.ch> wrote:
Another issue appeared !!!
I cannot get an internet connection - neither using terminal nor via ssh.

--
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 beagleboard...@googlegroups.com.

Dennis Lee Bieber

unread,
Oct 8, 2020, 2:54:59 PM10/8/20
to Beagleboard
On Thu, 8 Oct 2020 09:11:02 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pavel Yermolenko
<py.ohayo-FOWRGO...@public.gmane.org> wrote:


>No DHCPOFFERS received.
>No working leases in persistent database - sleeping.
>pavel@ALABAMA:~$
>
>It remains to be seen where the problem comes from - Ubuntu host or BBB ?

Neither... and Both...

Based upon those messages, you appear to have no functional DHCP server
running on either machine. Since you wired the two machines directly, each
is asking the other machine to provide it with an IP #. When they don't get
one, they may do anything...

Your quickest solution would be to wire both machines to a single
COMMON router that has a DHCP server running.


--
Dennis L Bieber

Pavel Yermolenko

unread,
Oct 8, 2020, 2:56:06 PM10/8/20
to BeagleBoard
As I remember, when everything was Ok, I specified "Make available to other users" in wired connection in network settings.
Now I don't see wired connection in network settings.


On Thursday, October 8, 2020 at 8:22:55 PM UTC+2, jonnymo wrote:
The 169.x.x.x address on the BB I believe is just the default address when it can not connect to anything.  You could set it to something else manually. 

For internet access, you need to configure the routing so the BB will connect to the internet through the host ethernet port.

I'm not sure what is causing the issue on the Ubuntu system since I do not use that tool. 

Jon  


On Thu, Oct 8, 2020 at 11:14 AM Pavel Yermolenko <py....@sunrise.ch> wrote:
Another issue appeared !!!
I cannot get an internet connection - neither using terminal nor via ssh.

--
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 beagl...@googlegroups.com.

Pavel Yermolenko

unread,
Oct 8, 2020, 3:02:20 PM10/8/20
to BeagleBoard
Before this "plague" happened I was able to connect to the Internet either by ssh or by terminal. Unfortunately I forgot what the connection parameters were on Ubuntu. The parameters of BBB I have not touched since.


On Thursday, October 8, 2020 at 8:54:59 PM UTC+2, Dennis Bieber wrote:
On Thu, 8 Oct 2020 09:11:02 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pavel Yermolenko

jonnymo

unread,
Oct 8, 2020, 3:07:22 PM10/8/20
to Beagle Board
For the Ubuntu issue not showing the ethernet port, perhaps this will help:


Jon

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/407f028b-8580-40d4-b084-94d6ba8638b1o%40googlegroups.com.

jonnymo

unread,
Oct 8, 2020, 3:15:47 PM10/8/20
to Beagle Board
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.  

Connecting directly to a router would be much easier.

Jon 

Pavel Yermolenko

unread,
Oct 12, 2020, 9:46:40 AM10/12/20
to BeagleBoard
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


amf

unread,
Oct 12, 2020, 10:33:40 AM10/12/20
to BeagleBoard
try setting your gateway, in your case it should be 192.168.0.1, this is the routers ip, at lease in my case.

jonnymo

unread,
Oct 12, 2020, 11:47:45 AM10/12/20
to Beagle Board
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

--
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 beagleboard...@googlegroups.com.

Pavel Yermolenko

unread,
Oct 12, 2020, 1:26:09 PM10/12/20
to BeagleBoard
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

Pavel Yermolenko

unread,
Oct 12, 2020, 1:29:42 PM10/12/20
to BeagleBoard
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 <fitte...@gmail.com> 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 py.o...@sunrise.ch 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.

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 beagl...@googlegroups.com.

jonnymo

unread,
Oct 12, 2020, 7:19:53 PM10/12/20
to Beagle Board
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:
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.

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

Another reference:

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

To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/922522a4-3118-4704-ba50-cba5b85a60e3o%40googlegroups.com.

Dennis Lee Bieber

unread,
Oct 13, 2020, 12:33:56 PM10/13/20
to Beagleboard
On Mon, 12 Oct 2020 10:26:09 -0700 (PDT), in
gmane.comp.hardware.beagleboard.user Pavel Yermolenko
<py.ohayo-FOWRGO...@public.gmane.org> wrote:

>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.
>
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
"""


--
Dennis L Bieber

Reply all
Reply to author
Forward
0 new messages