aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07
diff options
context:
space:
mode:
authorBryan Kadzban <bryan@linuxfromscratch.org>2006-11-06 03:45:49 +0000
committerBryan Kadzban <bryan@linuxfromscratch.org>2006-11-06 03:45:49 +0000
commit97c1e3ce45ef293896200d1de821ac8c8561b253 (patch)
treef0852968416fc7e6b424fe12413c9c9bffb03c57 /chapter07
parent9f20df31280ec47f4a92a2e32061264d2b0910a3 (diff)
Delete the persistent-net-generator rules file when using bus positions for network device name assignments. Fixes #1912.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7853 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07')
-rw-r--r--chapter07/network.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/chapter07/network.xml b/chapter07/network.xml
index 6adc1bb38..f03a2989a 100644
--- a/chapter07/network.xml
+++ b/chapter07/network.xml
@@ -102,6 +102,19 @@ ACTION=="add", SUBSYSTEM=="net", BUS=="<replaceable>pci</replaceable>", KERNELS=
NAME="<replaceable>intel</replaceable>"</literal>
EOF</userinput></screen>
+ <para>Udev has installed a rule_generator rules file that uses MAC
+ addresses, not bus positions. Rules generated by this file will conflict
+ with the rules you just created, so delete the file:</para>
+
+<screen role="nodump"><userinput>rm /etc/udev/rules.d/75-persistent-net-generator.rules</userinput></screen>
+
+ <note>
+ <para>You will also have to remember to create a new bus-position-based
+ rule each time you plug in an additional network card. In a MAC address
+ based persistence scheme, the rule_generator rules file would do this
+ automatically.</para>
+ </note>
+
<para>Regardless of which method you use, these rules will always rename
the network cards to <quote>realtek</quote> and <quote>intel</quote>,
independently of the original numbering provided by the kernel (i.e.: the