Skip to content

Instantly share code, notes, and snippets.

@tuldok89
Created January 21, 2025 18:12
Show Gist options
  • Save tuldok89/908a9bb170e4df0d458f07294076a2a9 to your computer and use it in GitHub Desktop.
Save tuldok89/908a9bb170e4df0d458f07294076a2a9 to your computer and use it in GitHub Desktop.
Systemd Unit to Disable Ethernet Flow Control in Linux
[Unit]
Description=Set ethtool settings for the specified NIC
After=network-online.target
Wants=network-online.target
[Service]
ExecStart=/usr/sbin/ethtool -A %i rx off tx off autoneg off
Type=oneshot
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment