Last active
September 3, 2018 13:29
-
-
Save haebler/7f16bd274a3a7f095cda9f6248a33935 to your computer and use it in GitHub Desktop.
udev rule for setting MAC address of one of those dm9601 USB 2.0 ethernet adapters. Thanks to btidey on the Raspberry Pi forums for figuring it out - see https://www.raspberrypi.org/forums/viewtopic.php?t=217941
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
# replace XX:XX:XX with a suitable set of octets - left vendor OUI part of MAC untouched for tracability in your network | |
ACTION=="add", SUBSYSTEM=="net", ATTR{address}=="00:e0:4c:53:44:58", RUN+="/sbin/ip link set dev %k address 00:e0:4c:XX:XX:XX" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment