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