Skip to content

Instantly share code, notes, and snippets.

@derozic
Created September 14, 2018 12:20
Show Gist options
  • Save derozic/752c3c7282e400c502844daccaf7114d to your computer and use it in GitHub Desktop.
Save derozic/752c3c7282e400c502844daccaf7114d 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