Re: getting eth cards to get eth0 and eth1 names correctly



marrgol <marspamrgol@xxxxxxxxxxxxx> wrote in news:4be8c492$0$19177$65785112
@news.neostrada.pl:

IIRC in CentOS it should be:

KERNEL="eth*" SYSFS{address}=="00:07:*" NAME="eth2"


I tried this. There seems to be one other confounding factor. I find files
of this sort:

cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Broadcom Corporation NetXtreme II BCM5716 Gigabit Ethernet
DEVICE=eth0
HWADDR=00:26:B9:58:EB:0A
ONBOOT=yes

This seems to be overriding what I put in udev. Any idea what produces this
file with an hardcoded HWADDR?

--
Rahul
.