Skip to content

Instantly share code, notes, and snippets.

@rsyuzyov
Created January 6, 2025 13:01
Show Gist options
  • Save rsyuzyov/2d01951d5de2fb5b918ed715a00c70e0 to your computer and use it in GitHub Desktop.
Save rsyuzyov/2d01951d5de2fb5b918ed715a00c70e0 to your computer and use it in GitHub Desktop.
udev network card name
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:11:22:33:44:55", NAME="ethint0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="66:77:88:99:aa:bb", NAME="ethusb0"
/etc/udev/rules.d/70-persistent-net.rules
systemctl restart udev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment