From 97c1e3ce45ef293896200d1de821ac8c8561b253 Mon Sep 17 00:00:00 2001 From: Bryan Kadzban Date: Mon, 6 Nov 2006 03:45:49 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 10 ++++++++++ chapter07/network.xml | 13 +++++++++++++ general.ent | 4 ++-- 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 40c09b1f1..3e9597410 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -36,6 +36,16 @@ --> + + 2006-11-05 + + + [bryan] - Delete the persistent-net-generator rules file if + bus-position-based persistence is going to be used. Fixes #1912. + + + + 2006-11-03 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=="pci", KERNELS= NAME="intel" EOF + 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: + +rm /etc/udev/rules.d/75-persistent-net-generator.rules + + + 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. + + Regardless of which method you use, these rules will always rename the network cards to realtek and intel, independently of the original numbering provided by the kernel (i.e.: the diff --git a/general.ent b/general.ent index 988249a64..e3eaedc70 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +