http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=4&chap=2#doc_chap4
Switch this content... # vim /etc/udev/rules.d/76-net-name-use-custom.rules # First one uses MAC information SUBSYSTEM=="net", ACTION=="add", ENV{ID_NET_NAME_MAC}=="enxc80aa9429d76", NAME="lan0" # Second one uses ID_NET_NAME_PATH information SUBSYSTEM=="net", ACTION=="add", ENV{ID_NET_NAME_PATH}=="enp3s0", NAME="wifi0" To this content... # vim /etc/udev/rules.d/70-net-name-use-custom.rules # First one uses MAC information, and 70- number to be before other net rules SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="c8:0a:a9:42:9d:76", NAME="lan0" # vim /etc/udev/rules.d/76-net-name-use-custom.rules # Second one uses ID_NET_NAME_PATH information, and 76- number to be between # 75-net-*.rules and 80-net-*.rules SUBSYSTEM=="net", ACTION=="add", ENV{ID_NET_NAME_PATH}=="enp3s0", NAME="wifi0"
The latter solution is not optimal because it relies too much upon order number as well as the ID_NET* ENV information to be available As in, the classical MAC renaming is still the best solution
Thanks, updated