Skip to content

Instantly share code, notes, and snippets.

@egdoc
Created February 12, 2019 11:33
Show Gist options
  • Select an option

  • Save egdoc/f01f928d507d77c39bcae87aa36e240c to your computer and use it in GitHub Desktop.

Select an option

Save egdoc/f01f928d507d77c39bcae87aa36e240c to your computer and use it in GitHub Desktop.
Udev rule to set ethernet speed to 100Mbs for the matched device: it doesn't work at full speed due to a bug
'ACTION=="add", ATTRS{device}=="0x0250", ATTRS{vendor}=="0x197b", RUN+="/usr/sbin/ethtool -s ens5f5 speed 100 duplex full autoneg on"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment