Re: How to disable persistent network device names?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Olaf,

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?

cu,
Frank


-- 
Dipl.-Inform. Frank Steiner   Web:  http://www.bio.ifi.lmu.de/~steiner/
Lehrstuhl f. Bioinformatik    Mail: http://www.bio.ifi.lmu.de/~steiner/m/
LMU, Amalienstr. 17           Phone: +49 89 2180-4049
80333 Muenchen, Germany       Fax:   +49 89 2180-99-4049
* Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. *
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux