All pastes #895179 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-02-07 17:07 UTC
rendered paste body
before card is inserted:
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x14e4:0x1600 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:c5:56:94:b2", ATTR{type}=="1", NAME="eth0"

# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:de:82:8b:cf", ATTR{type}=="1", NAME="wlan0"

# PCI device 0x168c:0x0013 (ath_pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:6f:21:c4:a1", ATTR{type}=="1", KERNEL=="ath?", NAME="ath0"
#################################
#################################
after card is inserted, the if is named ath1 instead of ath0 and the rules file now looks like this:
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x14e4:0x1600 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:15:c5:56:94:b2", ATTR{type}=="1", NAME="eth0"

# PCI device 0x8086:0x4222 (iwl3945)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:18:de:82:8b:cf", ATTR{type}=="1", NAME="wlan0"

# PCI device 0x168c:0x0013 (ath_pci)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:6f:21:c4:a1", ATTR{type}=="1", KERNEL=="ath?", NAME="ath0"

# PCI device 0x168c:0x0013 (ath_pci)
SUBSYSTEM=="net", ACTION=="add", ATTR{type}=="1", NAME="ath1"