Rockpro64 with 7i76e

More
07 Oct 2019 14:43 #147341 by tommylight
Replied by tommylight on topic Rockpro64 with 7i76e
The save button does not function if there is something wrong in the addresses.

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 15:34 #147347 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
OK, yes I have edited /etc/network/interfaces previously. Here is what it says now:

sudo nano /etc/network/interfaces
source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0
broadcast 10.10.10.255
gateway 10.10.10.1
dns-nameservers 10.10.10.1
# gateway 192.168.1.1
# dns-nameservers 8.8.8.8 8.8.4.4


There are two different places to "add an address".
The first place appears after you click on the ipv4 drop down menu
the second place appears after you click on the routes button
I was adding the address on the first place which has ip address (10.10.10.11), netmask (8), and gateway(10.10.10.1).
If I leave the gateway blank, I can save it.

Here is the output of the "ip a" command

acondit@rockpro64:~$ ip a
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: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 7e:84:f6:98:86:93 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::e9f2:c5c0:2a28:fe93/64 scope link tentative noprefixroute
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 7e:84:f6:98:86:93 brd ff:ff:ff:ff:ff:ff
inet 10.0.1.12/24 brd 10.0.1.255 scope global dynamic noprefixroute eth1
valid_lft 84697sec preferred_lft 84697sec
inet6 fe80::4ceb:f3ac:5b17:5b8d/64 scope link noprefixroute
valid_lft forever preferred_lft forever

And ping fails as shown below:

acondit@rockpro64:~$ ping 10.10.10.10
ping: socket: Operation not permitted

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 15:41 #147349 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
eth0 shows up as "wired connection 1" (not selectable) but the "disconnect" entry below it is selectable.

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 15:50 #147350 by PCW
Replied by PCW on topic Rockpro64 with 7i76e
Looks like you have 2 IP addresses assigned to the same Ethernet chip
(MAC 7e:84:f6:98:86:93)

Typically would have the 10.10.10.x range assigned to the on board Ethernet for realtime
and the local internet assigned to the USB adapter (typically 192.168.something)

As a first step I would determine which MAC goes with which Ethernet chip

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 17:38 #147354 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
The 10.0.1.12 address is furnished by the dhcp on the local router. The (MAC 7e:84:f6:98:86:93) actually belongs to the onboard ethernet. The MAC address for the USB3 to Ethernet adapter was on the adapter.

When I login via ssh here is what I see.
Warning: No xauth data; using fake authentication data for X11 forwarding.
____ _ ____ __ _ _
| _ \ ___ ___| | _| _ \ _ __ ___ / /_ | || |
| |_) / _ \ / __| |/ / |_) | '__/ _ \ | '_ \| || |_
| _ < (_) | (__| <| __/| | | (_) | | (_) |__ _|
|_| \_\___/ \___|_|\_\_| |_| \___/ \___/ |_|

Welcome to Debian Buster with Armbian Linux 5.2.17-rt9-rockchip64
System load: 0.32 0.22 0.21 Up time: 27 min
Memory usage: 9 % of 3854MB IP: 10.0.1.12 10.10.10.11
CPU temp: 42°C
Usage of /: 10% of 58G

[ General system configuration (beta): armbian-config ]

when I run ip a this is what I get now.
acondit@rockpro64:~$ ip a
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: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 7e:84:f6:98:86:93 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::e9f2:c5c0:2a28:fe93/64 scope link tentative noprefixroute
valid_lft forever preferred_lft forever
3: enx8cae4ce13faf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 8c:ae:4c:e1:3f:af brd ff:ff:ff:ff:ff:ff
inet 10.0.1.12/24 brd 10.0.1.255 scope global dynamic noprefixroute enx8cae4ce13faf
valid_lft 84893sec preferred_lft 84893sec
inet6 fe80::7a34:68ae:fdbf:8ae5/64 scope link noprefixroute
valid_lft forever preferred_lft forever

and ping still gives me this.
acondit@rockpro64:~$ ping 10.10.10.10
ping: socket: Operation not permitted

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 17:45 #147355 by tommylight
Replied by tommylight on topic Rockpro64 with 7i76e
Wait, you are connecting to Mesa through a USB adapter, right?
That is a big NO! Never.
Wire the Mesa board to the onboard ethernet. Directly, not through a router or switch or hub.

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 17:49 - 07 Oct 2019 17:51 #147356 by PCW
Replied by PCW on topic Rockpro64 with 7i76e
At the minimum, the netmask of the onboard Ethernet is wrong. ( net 10.10.10.11/8 )
(this is significant because your local network is a 10.xx.xx.xx network)
both network and realtime netmasks should be /24 masks or 255.255.255.0
to prevent overlaps
Last edit: 07 Oct 2019 17:51 by PCW.
The following user(s) said Thank You: acondit

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 17:58 #147359 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
Tommy,
No, the usb is connecting the ssh.
Alan

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 20:10 #147364 by acondit
Replied by acondit on topic Rockpro64 with 7i76e
Pete,

I have the netmask set to 24. Here is the "ip a" results:
acondit@rockpro64:~$ ip a
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: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default qlen 1000
link/ether 7e:84:f6:98:86:93 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/24 brd 10.10.10.255 scope global eth0
valid_lft forever preferred_lft forever
3: enx8cae4ce13faf: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 8c:ae:4c:e1:3f:af brd ff:ff:ff:ff:ff:ff
inet 10.0.1.12/24 brd 10.0.1.255 scope global dynamic noprefixroute enx8cae4ce13faf
valid_lft 86082sec preferred_lft 86082sec
inet6 fe80::7a34:68ae:fdbf:8ae5/64 scope link noprefixroute
valid_lft forever preferred_lft forever

Ping still doesn't work.
acondit@rockpro64:~$ ping 10.10.10.10
ping: socket: Operation not permitted

Here is the /etc/network/interfaces file:
source /etc/network/interfaces.d/*
# Network is managed by Network manager
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 10.10.10.11
netmask 255.255.255.0
broadcast 10.10.10.255
gateway 10.10.10.1
# dns-nameservers 10.10.10.1
# gateway 192.168.1.1
# dns-nameservers 8.8.8.8 8.8.4.4

Please Log in or Create an account to join the conversation.

More
07 Oct 2019 20:15 #147365 by tommylight
Replied by tommylight on topic Rockpro64 with 7i76e
Just for kicks, try
sudo ping 10.10.10.10

Please Log in or Create an account to join the conversation.

Time to create page: 0.120 seconds
Powered by Kunena Forum