Skip to content

Instantly share code, notes, and snippets.

@inigoflores
Created January 12, 2022 22:01
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 inigoflores/04b110e09b4f101e2ebbb4037c118402 to your computer and use it in GitHub Desktop.
Save inigoflores/04b110e09b4f101e2ebbb4037c118402 to your computer and use it in GitHub Desktop.
Pisces Fix Lan
#!/bin/bash
sudo sed -i "/# By default this script does nothing./a\\\n# Fix Pisces 1Gb Ethernet problem\n/sbin/ethtool -s eth0 advertise 0x0f &\n\n" /etc/rc.local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment