Skip to content

Instantly share code, notes, and snippets.

@alanbriolat
Last active August 16, 2017 15:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alanbriolat/e02280e9ae9ff3fffbdca1aa8f63629a to your computer and use it in GitHub Desktop.
Save alanbriolat/e02280e9ae9ff3fffbdca1aa8f63629a to your computer and use it in GitHub Desktop.
/etc/network/if-up.d/usb-offload
#!/bin/sh
ETHTOOL=/sbin/ethtool
[ "$IFACE" = "enx8cae4cf49551" ] || exit 0
# Disable RX checksum offloading, because it doesn't work
$ETHTOOL --offload "$IFACE" rx off
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment