Fixing frequent network interface restarts on HP Deskpro 400 G1 Mini.
If you ever encounter a problem with network interface restarting and dropping constantly on HP Deskpro 400 G1 Mini, here is how to fix it.
Simply use and automate this command.
ethtool -K #YourIfaceName tso off gso off
Here is an example of corresponding systemd unit (could also be defined as postup but this is more orderly):
[Unit]
Description="Fix for ethernet hang errors"
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/sbin/ethtool -K eno1 tso off gso off
[Install]
WantedBy=multi-user.target