Skip to content

Instantly share code, notes, and snippets.

@crypt0rr
Last active June 3, 2025 12:36
Show Gist options
  • Save crypt0rr/60aaabd4a5c29a256b4f276122765237 to your computer and use it in GitHub Desktop.
Save crypt0rr/60aaabd4a5c29a256b4f276122765237 to your computer and use it in GitHub Desktop.
Intel e1000e fix - Proxmox

Fix Intel e1000e error

Please note - you may want to validate whether the options used affect your setup.

Create a new service file.

nano /etc/systemd/system/disable-offloading.service

Paste the required information/command in the newly created service file - please change eth0 to your desired adapter.

[Unit]
Description=Disable NIC offloading
After=network.target

[Service]
Type=oneshot
ExecStart=/sbin/ethtool -K eth0 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off
RemainAfterExit=true

[Install]
WantedBy=multi-user.target

Load the new service file and enable on reboot.

systemctl daemon-reexec && systemctl daemon-reload && systemctl enable disable-offloading.service
@townsmcp
Copy link

townsmcp commented May 9, 2025

Well, Proxmox worked all through last night - no failures since adding and activtaing this script. So thats a win :)
I will report back in a few days time just to update but so far, it is looking promising so thank you @crypt0rr

@techiebloke333
Copy link

Applied this "fix" 8 days ago after a couple of weeks of random freezing and it's worked a treat ever since. Thanks!

@townsmcp
Copy link

Well sadly Proxmox died again today. That’s 3 days without keeling over. I have looked at the system log from Proxmox UI but can’t see an error so not sure if that was related to nic issue or not. When I stopped responding I tried removing the network cable as I have seen others say that worked for them but unfortunately it didn’t help me

@rcastley
Copy link

Thank you for this fix ... my NUC seems to have stabilised :-) I have created a PR for a Helper Script - community-scripts/ProxmoxVED#310

Hopefully this is accepted and will help others.

Thank you again, for the fix!

@profucius
Copy link

@rcastley Very interested in this helper script. I see in your link that the PR was accepted, where can I find the script link to try it in my environment?

@profucius
Copy link

@crypt0rr I tried your script, and the verification command, but I got a failure response. I wonder what I did wrong?

× disable-offloading.service - Disable NIC offloading
     Loaded: loaded (/etc/systemd/system/disable-offloading.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Wed 2025-05-21 10:39:11 EDT; 3min 0s ago
    Process: 781 ExecStart=/sbin/ethtool -K eth0 gso off gro off tso off tx off rx off rxvlan off txvlan off sg off (code=exited, status=92)
   Main PID: 781 (code=exited, status=92)
        CPU: 1ms

Starting disable-offloading.service - Disable NIC offloading...
netlink error: no device matches name (offset 24)
netlink error: No such device
disable-offloading.service: Main process exited, code=exited, status=92/n/a
disable-offloading.service: Failed with result 'exit-code'.
Failed to start disable-offloading.service - Disable NIC offloading.

@techiebloke333
Copy link

You probably need to edit the eth0 for the identity of your specific network card - in my case it was eno2

@profucius
Copy link

Indeed that was it. I haven't done something like this before so I had to search how to do this. For anyone who might be in a similar position, I used ip -a and found eno1 in the list.

@rcastley
Copy link

rcastley commented May 21, 2025

@profucius

@rcastley Very interested in this helper script. I see in your link that the PR was accepted, where can I find the script link to try it in my environment?

The source for my PR is available here - https://raw.githubusercontent.com/rcastley/ProxmoxVED/refs/heads/main/tools/pve/nic-offloading-fix.sh

So you could run the following from your PVE shell:

bash -c "$(curl https://raw.githubusercontent.com/rcastley/ProxmoxVED/refs/heads/main/tools/pve/nic-offloading-fix.sh)"

@chrismaddahl
Copy link

@profucius

@rcastley Very interested in this helper script. I see in your link that the PR was accepted, where can I find the script link to try it in my environment?

The source for my PR is available here - https://raw.githubusercontent.com/rcastley/ProxmoxVED/refs/heads/main/tools/pve/nic-offloading-fix.sh

So you could run the following from your PVE shell:

bash -c "$(curl https://raw.githubusercontent.com/rcastley/ProxmoxVED/refs/heads/main/tools/pve/nic-offloading-fix.sh)"

Thank you so much for creating this, I ran your command and it worked perfectly.

@profucius
Copy link

Just confirming that this script worked perfectly for me too!

@rcastley
Copy link

Thank you @profucius and @chrismaddahl ... just waiting for community-scripts to approve and merge 👍

@Dietmarjas
Copy link

Hallo Zusammen bei mir funktioniert der Skript leider nicht was läuft hier falsch bitte um hilfe bin neuling DANKE
prox

@rcastley
Copy link

@Dietmarjas The script has been accepted and merged into dev, so is now available here:

https://community-scripts.github.io/ProxmoxVED/scripts?id=nic-offloading-fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment