From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Date: Fri, 24 Jul 2009 10:40:27 +0000 Subject: Re: How to disable persistent network device names? Message-Id: <4A698F9B.2020402@ban-solms.de> List-Id: References: <4A684053.5070403@bio.ifi.lmu.de> In-Reply-To: <4A684053.5070403@bio.ifi.lmu.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hi Frank, > Olaf wrote > >> OK, in that case you could create your own rule to bypass the net-generator. >> >> Put something like this in 69-bypass-persistent-net.rules: >> SUBSYSTEM="net", ACTION="add", NAME="%k" > > I tried this, with and without removing the 70-persistent-net.rules, > but still my test host comes up with eth_s2_0 and eth_s2_1, so the > kernel must tell udev those names. > > But in /var/log/boot.msg I find this (quoting only about eth0 here): > > <6>e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection > ... > <6>eth0 renamed to eth_s2_0 by udevd [274] > <6>udev: renamed network interface eth0 to eth_s2_0 > > So udev must have some other rule telling it to rename those devices. > After I have removed 70-persistent-net.rules (and it is not re-created > when rebooting) I don't know where this could come from :-( > Do you have any idea? Could be something from the SLES initramfs? I don't have/use SLES so I really don't know where the rename to eth_s2_* comes from, sorry. Olaf