From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 28 Oct 2004 21:45:55 +0000 Subject: Re: /etc/dev.d/net/hotplug.dev Message-Id: <20041028214555.GA9098@vrfy.org> List-Id: References: <048e01c4bd33$e2657c20$0a00000a@eugenia> In-Reply-To: <048e01c4bd33$e2657c20$0a00000a@eugenia> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Oct 28, 2004 at 02:19:59PM -0700, Eugenia Loli-Queru wrote: > Hi, > I am not happy with the way hotplug does the naming of my ethernet cards. > It gives eth0 to my wireless pcmcia card, and eth1 to my normal onboard > ethernet pci card. However, I want them the other way around, eth0 for my > pci card and eth1 for my wifi one, because I don't like all the confusion > of my main card becoming eth0 when my wifi card is not in the pcmcia slot. > > So, what I did is this, as supported by latest udev.rules, to try and force > the system: > KERNEL="eth*", SYSFS{address}="00:09:5b:c2:ce:01", NAME="eth1" # wifi > KERNEL="eth*", SYSFS{address}="00:a0:cc:de:27:0c", NAME="eth0" # ethernet > > But hotplug and your /etc/dev.d/net/hotplug.dev script completely ignores > this and again names them the other way around... Is there any way around > it? > > I am using udev 0.42, latest hotplug, kernel 2.6.8.1 on Arch Linux 0.7+. Your distributions network scripts may bring the interface up, before udev is able to rename it? Kay ------------------------------------------------------- This Newsletter Sponsored by: Macrovision For reliable Linux application installations, use the industry's leading setup authoring tool, InstallShield X. Learn more and evaluate today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel