Reindl Harald wrote:
Am 25.02.2013 19:09, schrieb Frantisek Hanzlik:
> What I have are classic interface names ethNN, only with unwanted
> order, my rules simply not works, thus when later network start,
> I have typical message:
> /etc/sysconfig/network-scripts/ifup-eth: Device eth2 has unexpected MAC address.
Ignored
>
> Some idea?
remove the line with the MACADDR in ifcfg-ethX files
nobody needs them there
You perhaps think HWADDR - yes, I have it there, but without it
I probably will not have above error, but it hasn't nothing with
desired naming order - I will have still bad ethN associeted with
given interface.
And as you wrote in second mail, I have on my F18 box udev rules:
$ cat /etc/udev/rules.d/70-moje-net.rules
# Bus 01:00.0 - PCI device 0x1969:0x1048 Atheros Attansic L1; atl1:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1e:8c:93:b5:8d", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"
# External PCI device 0x8086:0x10d3 Intel CT Desktop Adapter w. 82574L; e1000e:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:21:69:5f:74", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth1"
# External PCI device 0x1186:0x1300 D-Link System Inc DFE-528TX w. RTL8139; 8139too
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:11:63:96:35", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth2"
(as years before, as You wrote, but it seems isn't working now)
And when I set 'udev_log="debug"' in my /etc/udev/udev.conf, then
I will get a lot libudev infos in /var/log/message - but there is no one line
about ethX.