1 |
On 10/26/06, Claudinei Matos <claudineimatos@×××××.com> wrote: |
2 |
> Looking at /etc/udev/rules.d/ I'd found 70-persistent-net.rules with |
3 |
> the lines below: |
4 |
> # PCI Device: 0x10ec:0x8029 (ne2k-pci) |
5 |
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:c0:df:ea:d6:49", |
6 |
> NAME="eth1" |
7 |
> |
8 |
> # PCI Device: 0x10b7:0x9200 (3c59x) |
9 |
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:04:75:c5:5c:ce", |
10 |
> NAME="eth2" |
11 |
> |
12 |
> The interface with name eth1 match the mac address with the installed |
13 |
> one, but interface eth2 does not, probably 'cause it might be the old |
14 |
> card mac adress. |
15 |
> |
16 |
> Well, now I know that in some way udev add these links automatically I |
17 |
> do thing that I can just change the mac address putting the right one, |
18 |
> letting the file appear like below: |
19 |
> |
20 |
> |
21 |
> # PCI Device: (via-rhine) |
22 |
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:8D:84:A8:4F", |
23 |
> NAME="eth0" |
24 |
> |
25 |
> # PCI Device: 0x10ec:0x8029 (ne2k-pci) |
26 |
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:C0:DF:EA:D6:49", |
27 |
> NAME="eth1" |
28 |
> |
29 |
> # PCI Device: 0x10b7:0x9200 (3c59x) |
30 |
> SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:04:6E:9C:AB", |
31 |
> NAME="eth2" |
32 |
> |
33 |
> |
34 |
> Well, that's OK, it do solve my problem but isn't it supposed to be an |
35 |
> automatically process? Isn't it an UDEV or Gentoo task to deal with? |
36 |
> |
37 |
|
38 |
Please do not top post. |
39 |
Regarding your now solved problem, I don't have such file |
40 |
(70-persistent-net.rules) in my rules.d directory, it seems that it |
41 |
has something to do with automatic udev configuration. I don't have |
42 |
any idea on WHY or WHEN this is run. It appears to be run by some rule |
43 |
in UDEV configuration writting persistent net devices. |
44 |
|
45 |
Maybe someone else will have a better idea... They'll probably need |
46 |
your UDEV version... |
47 |
|
48 |
-- |
49 |
Daniel da Veiga |
50 |
Computer Operator - RS - Brazil |
51 |
-----BEGIN GEEK CODE BLOCK----- |
52 |
Version: 3.1 |
53 |
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V- |
54 |
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++ |
55 |
------END GEEK CODE BLOCK------ |
56 |
-- |
57 |
gentoo-user@g.o mailing list |