QtMoko v22

Torfinn Ingolfsen tingox at gmail.com
Sun May 23 19:09:48 CEST 2010


Hi,

On Sun, May 23, 2010 at 6:53 PM, arne anka <openmoko at ginguppin.de> wrote:

> i forgot:
> what does
> /etc/udev/rules.d/70-persistent-net.rules
> look like?
>

Now, this is an interesting file. Here are a few lines:
# This file maintains persistent names for network interfaces.
# See udev(7) for syntax.
#
# Entries are automatically added by the 75-persistent-net-generator.rules
# file; however you are also free to add your own entries.
# PCI device 0x14e4:0x169d (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:16:36:54:a9:ae", ATTR{type}=="1", KERN
EL=="eth*", NAME="eth0"

# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:13:02:3e:d4:ce", ATTR{type}=="1", KERN
EL=="wlan*", NAME="wlan0"

# USB device 0x1457:0x5122 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth9"

# USB device 0x1457:0x5122 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth10"

# USB device 0x1457:0x5122 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth11"

# USB device 0x1457:0x5122 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth12"

# USB device 0x1457:0x5122 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth13"

# USB device 0x0525:0xa4a1 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth14"

# USB device 0x0525:0xa4a2 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth15"

# USB device 0x0525:0xa4a2 (usb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1f:11:01:0d:39", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth16"

I had a look at /lib/udev/rules.d/75-persistent-net-generator.rules but
didn't find anything "funky".
-- 
Regards,
Torfinn Ingolfsen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20100523/19f1860c/attachment.htm 


More information about the community mailing list