1 |
felix@×××××××.com wrote: |
2 |
> # Onboard Gigabit |
3 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C6", NAME="eth0" |
4 |
> |
5 |
> # Onboard Gigabit |
6 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:C7", NAME="eth1" |
7 |
> |
8 |
> # Onboard 100Mbps |
9 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:81:2A:58:3B", NAME="eth2" |
10 |
> |
11 |
> # PCI card gigabit |
12 |
> KERNEL=="eth*", SYSFS{address}=="00:E0:4C:69:0C:2C", NAME="eth3" |
13 |
> |
14 |
> # PCI card firewire |
15 |
> KERNEL=="eth*", SYSFS{address}=="00-11-06-66-45-55-56-5A-00-00-00-00-00-00-00-00", NAME="eth4" |
16 |
> |
17 |
> Should this assign things properly? It doesn't, so I suppose the |
18 |
> answer is no, but how should I do it then? |
19 |
|
20 |
Try replacing SYSFS with ATTR. I have zero knowledge about the topic, |
21 |
but I remember this convo in #gentoo-dev: |
22 |
|
23 |
Sep 12 16:45:26 GurliGebis dsd_, you have the one behine |
24 |
http://www.reactivated.net/writing_udev_rules.html , right? |
25 |
Sep 12 16:45:42 dsd_ i wrote that yes |
26 |
Sep 12 16:46:06 GurliGebis okay, it needs to be updated about the |
27 |
network interface stuff |
28 |
Sep 12 16:46:24 dsd_ how so? |
29 |
Sep 12 16:46:26 GurliGebis udevinfo gives me this about eth0 : |
30 |
ATTR{address}=="00:60:08:53:74:db" |
31 |
Sep 12 16:46:31 GurliGebis not SYSFS{ADDRESS} |
32 |
Sep 12 16:46:59 dsd_ indeed |
33 |
Sep 12 16:47:16 dsd_ but the same applies to all devices |
34 |
Sep 12 16:47:20 GurliGebis :) |
35 |
Sep 12 16:47:26 dsd_ i would imagine SYSFS will still work? |
36 |
Sep 12 16:47:32 GurliGebis not sure |
37 |
|
38 |
Hope that helps... |
39 |
|
40 |
-- |
41 |
Kind Regards, |
42 |
|
43 |
Simon Stelling |
44 |
Gentoo/AMD64 developer |
45 |
-- |
46 |
gentoo-amd64@g.o mailing list |