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