Re: again, nic driver order

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



On Sun, Nov 22, 2009 at 9:33 PM, Tom H <tomh0665@xxxxxxxxx> wrote:
> On Mon, Nov 23, 2009 at 2:38 AM, Gordon McLellan <gordonthree@xxxxxxxxx> wrote:
>> KERNEL=="eth?", SYSFS{address}=="00:21:e9:17:64:b5", NAME="eth1"  #
>> Now, all three network cards get assigned as eth0! eth1 and eth2 are
>> no longer found. The pci-express nics (onboard) get detected first,
>> and the pci nic is last, so it ends up "owning" the eth0 alias.
>
> Changing SYSFS to ATTR should do it.
> _______________________________________________

Tom,

Now I get in the syslog: Unknown key: ATTR{address}

I also tried ATTRS{address} seen in some examples, same error.

Digging around google a bit more I came up with different rules, and
fingers crossed, they seem to work!

SUBSYSTEM=="net", SYSFS{address}=="00:1b:21:4d:c3:e8", NAME="eth0"  # pro/1000gt
SUBSYSTEM=="net", SYSFS{address}=="00:e0:81:b5:7a:30", NAME="eth1"  # internal 1
SUBSYSTEM=="net", SYSFS{address}=="00:e0:81:b5:7a:31", NAME="eth2"  # internal 2

I also performed chmod +x on the 60-net.rules file, I noticed some
other files in rules.d were marked as executable, so I figured it
couldn't hurt!

Gordon
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux