qtplasmac (Operation Error: hm2/hm2_7i76e.0:) in middle of cut

More
2 years 2 months ago #308234 by RMJ fabrication

Please Log in to join the conversation.

More
2 years 2 months ago #308236 by PCW
OK so it either did not work or you rebooted between
running:

sudo ethtool -C enp0s25 rx-usecs 0

and

sudo ethtool -c enp0s25

Please Log in to join the conversation.

More
2 years 2 months ago #308244 by RMJ fabrication
I am a bit confused am I not supposed to turn off my computer ever or do I need to wait longer for sudo ethtool -C enp0s25 rx-usecs 0 to work?

Please Log in to join the conversation.

More
2 years 2 months ago #308246 by PCW
sudo ethtool -C enp0s25 rx-usecs 0

Will only work until you power cycle/reboot
but it should allow you to see if it fixes the problem

So I would try that, followed by a ping test
and then running the machine.

There are two ways to make the change permanent

1. Setup the Ethernet connection in the interfaces file
(and remove the setup created by the network manager GUI)
Typical interface content would be something like:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
       auto enp0s25
       iface enp0s25 inet static
           address 10.10.10.100
           hardware-irq-coalesce-rx-usecs 0


The other option is to include the

ethtool -C enp0s25 rx-usecs 0

line in the rc.local script that is run at power-up



 

Please Log in to join the conversation.

More
2 years 2 months ago #308495 by RMJ fabrication
I cut a bunch of parts out using "sudo ethtool -C enp0s25 rx-usecs 0" and I did not get a single error when cutting this time. Everything worked how it was supposed to now I just need it to be permanent.

Please Log in to join the conversation.

More
2 years 2 months ago #308505 by rodw
man hm2_eth will tell you how

Please Log in to join the conversation.

More
2 years 2 months ago #308506 by tommylight


There are two ways to make the change permanent

1. Setup the Ethernet connection in the interfaces file
(and remove the setup created by the network manager GUI)
Typical interface content would be something like:

# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
       auto enp0s25
       iface enp0s25 inet static
           address 10.10.10.100
           hardware-irq-coalesce-rx-usecs 0


The other option is to include the

ethtool -C enp0s25 rx-usecs 0

line in the rc.local script that is run at power-up




 
-

Please Log in to join the conversation.

More
2 years 2 months ago #308507 by PCW
I am showing my age here by suggesting rc.local as it no longer is executed by default,
a better way is probably to setup systemd to launch a script at startup  (if you don't want to use
the interfaces file method)

I will take a look at how this is best done.

I wonder if the LinuxCNC startup script (or a "linuxcnc-extra-setup" script launched by
the LinuxCNC startup script) would be another reasonable place for this.

Please Log in to join the conversation.

More
2 years 2 months ago #308508 by tommylight

I am showing my age here by suggesting rc.local as it no longer is executed by default,
I used it till last year,so i am fully aware of it, but it is easy enough to make it work on Linux Mint.
-
I would stick to editing the networks file since most go that route, so all in one place.

Please Log in to join the conversation.

More
2 years 2 months ago #308513 by rodw

I would stick to editing the networks file since most go that route, so all in one place.

And its documented :)

Please Log in to join the conversation.

Time to create page: 0.073 seconds
Powered by Kunena Forum