swift 14/08/17 16:53:27 Modified: hb-net-advanced.xml Log: Fix bug #518682, improve network naming, thanks to Samuli Suominen
Revision Changes Path 1.24 xml/htdocs/doc/en/handbook/hb-net-advanced.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml?rev=1.24&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml?rev=1.24&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml?r1=1.23&r2=1.24 Index: hb-net-advanced.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml,v retrieving revision 1.23 retrieving revision 1.24 diff -u -r1.23 -r1.24 --- hb-net-advanced.xml 12 Apr 2014 12:08:58 -0000 1.23 +++ hb-net-advanced.xml 17 Aug 2014 16:53:27 -0000 1.24 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml,v 1.23 2014/04/12 12:08:58 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-net-advanced.xml,v 1.24 2014/08/17 16:53:27 swift Exp $ --> <sections> @@ -13,8 +13,8 @@ before we learn about modular networking. </abstract> -<version>16</version> -<date>2014-04-12</date> +<version>17</version> +<date>2014-08-17</date> <section> <title>Advanced Configuration</title> @@ -331,10 +331,13 @@ ID_NET_NAME_MAC=enxc80aa9429d76 ID_OUI_FROM_DATABASE=Quanta Computer Inc. +# <i>vim /etc/udev/rules.d/70-net-name-use-custom.rules</i> +<comment># First one uses MAC information, and 70- number to be before other net rules</comment> +SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="c8:0a:a9:42:9d:76", NAME="lan0" + # <i>vim /etc/udev/rules.d/76-net-name-use-custom.rules</i> -<comment># First one uses MAC information</comment> -SUBSYSTEM=="net", ACTION=="add", ENV{ID_NET_NAME_MAC}=="enxc80aa9429d76", NAME="lan0" -<comment># Second one uses ID_NET_NAME_PATH information</comment> +<comment># Second one uses ID_NET_NAME_PATH information, and 76- number to be between</comment> +<comment># 75-net-*.rules and 80-net-*.rules</comment> SUBSYSTEM=="net", ACTION=="add", ENV{ID_NET_NAME_PATH}=="enp3s0", NAME="wifi0" </pre>