Gentoo Archives: gentoo-user

From: Richard Fish <bigfish@××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] modules.conf - alias for eth devices - can't set the correct interface number
Date: Thu, 26 Oct 2006 20:57:59
Message-Id: 7573e9640610261349i15f31969n8ff6bcede0d749c7@mail.gmail.com
In Reply to: Re: [gentoo-user] modules.conf - alias for eth devices - can't set the correct interface number by Claudinei Matos
1 On 10/26/06, Claudinei Matos <claudineimatos@×××××.com> wrote:
2 > Well, now I know that in some way udev add these links automatically I
3 > do thing that I can just change the mac address putting the right one,
4 > letting the file appear like below:
5 >
6 >
7 > # PCI Device: (via-rhine)
8 > SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:8D:84:A8:4F",
9 > NAME="eth0"
10
11 BTW, you should use the addresses as they appear in
12 /sys/class/net/ethX/address, i.e., with lower case letters, or the
13 matching may not work.
14
15 -Richard
16 --
17 gentoo-user@g.o mailing list