Last active
August 16, 2017 15:08
-
-
Save alanbriolat/e02280e9ae9ff3fffbdca1aa8f63629a to your computer and use it in GitHub Desktop.
/etc/network/if-up.d/usb-offload
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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