Skip to content

Instantly share code, notes, and snippets.

@derozic
Created August 7, 2018 21:44
Show Gist options
  • Save derozic/66fdb2270e8828e0da64d79bc3ad6a09 to your computer and use it in GitHub Desktop.
Save derozic/66fdb2270e8828e0da64d79bc3ad6a09 to your computer and use it in GitHub Desktop.
70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
# # You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.
# PCI device lan Device
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:yy:XX:yy:XX:yy", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="ethX"
# PCI device Wlan Device
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="XX:yy:XX:yy:XX:yy", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="wlanX"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment