7i76E Ethernet setup

More
06 Dec 2020 01:17 - 06 Dec 2020 01:34 #191193 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
Alright, all the equipment is out of the box new. I have a
Intel Nuc
Intel Core i3-8109U processor (3.0 GHz - 3.6 GHz, Dual-Core, 4MB Cache, 28W TDP)

16GB (2 x 8GB) 260-Pin DDR4 SO-DIMM

The nuc has an intel ethernet connection i219-v chip, I'll have to figure that out.
Last edit: 06 Dec 2020 01:34 by Mmarmino.

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

More
06 Dec 2020 02:41 #191204 by PCW
Replied by PCW on topic 7i76E Ethernet setup
Yes, Intel MAC so you need to disable IRQ coalescing
This is described in the hm2_eth manual page
though that uses the interfaces file to configure the host port.
The advantage of using the interfaces file is that the setting
will be permanent

You can test this temporarily (until you reboot) by:

sudo ethtool -C eno1 rx-usecs 0

This should get you better ping times
The following user(s) said Thank You: Mmarmino

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

More
06 Dec 2020 14:34 #191220 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
I'm currently working through the hm2_eth page right now....

I installed the ethtool and ran "sudo ethtool -C eno1 rx-usecs 0"

Ping on 10.10.10.10 is now:
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.184 ms
64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.145 ms
64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.228 ms
64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.234 ms
64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.245 ms
64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.240 ms
64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.212 ms
64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.239 ms
64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.240 ms
64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.237 ms
64 bytes from 10.10.10.10: icmp_seq=11 ttl=64 time=0.248 ms
64 bytes from 10.10.10.10: icmp_seq=12 ttl=64 time=0.253 ms


Better?

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

More
06 Dec 2020 16:18 #191229 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
1. In working through HM@_ETH it states "These instructions assume your dedicated network interface is "eth1"
Mine is eno1 correct?

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
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 1c:69:7a:61:78:12 brd ff:ff:ff:ff:ff:ff
inet 10.10.10.11/8 brd 10.255.255.255 scope global noprefixroute eno1
valid_lft forever preferred_lft forever
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 84:c5:a6:cc:78:1f brd ff:ff:ff:ff:ff:ff
inet 192.168.43.173/24 brd 192.168.43.255 scope global dynamic noprefixroute wlp0s20f3
valid_lft 3119sec preferred_lft 3119sec
inet6 2600:1015:b06b:194d:cd6f:9eb8:65a:cda6/64 scope global dynamic noprefixroute
valid_lft 3121sec preferred_lft 3121sec
inet6 fe80::3280:98af:2546:f6f7/64 scope link noprefixroute
valid_lft forever preferred_lft forever

2. It says Add these lines to the file /etc/network/interfaces to configure eth1 with a static address:

auto eth1
iface eth1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0
Should it instead read?:
auto eno1
iface eno1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0
file /etc/network/interfaces currently has:

auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0

Thanks again for your time and help

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

More
06 Dec 2020 16:29 #191231 by PCW
Replied by PCW on topic 7i76E Ethernet setup
Yes the interfaces file needs to have the actual Ethernet
interface name used on you particular hardware/OS

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

More
06 Dec 2020 16:39 #191234 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
So should my Ethernet interface file look like this?:
auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0

auto eno1
iface eno1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0

or just

auto eno1
iface eno1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0

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

More
06 Dec 2020 17:00 #191236 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
I just noticed this was the first time i was actually connected to the card with blinking green lights on the board. And i tried editing the ethernet interface file with both of the above...Now i have nothing and in network connections in the upper right hand corner it says i WAS connected to my ethernet 10 mins ago. I went back in and removed:
auto eno1
iface eno1 inet static
address 192.168.1.1
hardware−irq−coalesce−rx−usecs 0 and restarted...both the cpu and the modem....Nothing now

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

More
06 Dec 2020 18:42 - 06 Dec 2020 19:34 #191242 by PCW
Replied by PCW on topic 7i76E Ethernet setup
Why would you have 192.168.1.1 anywhere?

You should have

auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0
hardware-irq-coalesce-rx-usecs 0\


BTW your post above has corrupted characters so

hardware-irq-coalesce-rx-usecs 0

shows up as

hardwareirqcoalescerxusecs 0
In my email

If you have these corrupted characters in your interfaces file
it will silently fail to load when you boot
Last edit: 06 Dec 2020 19:34 by PCW.

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

More
06 Dec 2020 19:32 #191243 by Mmarmino
Replied by Mmarmino on topic 7i76E Ethernet setup
My bad i was just referring back to the HM2_ETH walkthrough....I see now.

this what i have in the interface file:

# The loopback network interface
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet static
address 10.10.10.1
netmask 255.255.255.0
hardware-irq-coalesce-rx-usecs 0

Ive restarted and Im not getting anything now.

IPa:

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
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 1c:69:7a:61:78:12 brd ff:ff:ff:ff:ff:ff
3: wlp0s20f3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether f6:9c:46:0b:05:c9 brd ff:ff:ff:ff:ff:ff
inet 192.168.43.104/24 brd 192.168.43.255 scope global dynamic wlp0s20f3
valid_lft 3222sec preferred_lft 3222sec

W3 jumper is up and i still have lights on the RJ connector.

you think it could be the CPU Ethernet drivers need updated?

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

More
06 Dec 2020 19:37 #191244 by PCW
Replied by PCW on topic 7i76E Ethernet setup
See my previous response

I suspect you have corrupted the interfaces file
(it will fail to load if you do this)

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

Moderators: PCWjmelson
Time to create page: 0.167 seconds
Powered by Kunena Forum