#!/bin/bash # Dell Ethernet interface fix script # Fixes common issues with Dell NICs on Proxmox/Debian systems echo "Determining management interface..." export MAIN_INT=$(brctl show|grep vmbr0|awk '{print $NF}'|awk -F '.' '{print $1}') echo "Management interface is: $MAIN_INT" echo "Fixing management interface..." ethtool -K $MAIN_INT tso off ethtool -K $MAIN_INT gro off ethtool -K $MAIN_INT gso off ethtool -K $MAIN_INT tx off ethtool -K $MAIN_INT rx off # References: # https://forum.proxmox.com/threads/e1000-driver-hang.58284/ # https://serverfault.com/questions/616485/e1000e-reset-adapter-unexpectedly-detected-hardware-unit-hang