Am 15.02.2013 18:41, schrieb (Nuno Silva):
> If you depend in the network device order in any way, and you used
> names like the ones the kernel uses, you *have* to do something
> about the network device naming.
>
> For example, if you have eth0 and eth1 and you rely on eth0 being A
> and eth1 B, you can't do that anymore with plain udev, even if the
> rules are still in place. eth0 may become B and eth1 A.
No order needed as there is only one adapter in there:
# lspci | grep net
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 01)
# cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x10ec:0x8168 (r8169)
SUBSYSTEM=="net", DRIVERS=="?*", ATTR{address}=="00:21:85:62:4f:0b",
KERNEL=="eth*", NAME="eth0"
thanks, Stefan