Purge old eth1, add new nic as eth0
Frank Murphy
frankly3d at gmail.com
Sat Oct 13 12:56:09 UTC 2012
On 13/10/12 12:53, Reindl Harald wrote:
>
>
> cat /etc/udev/rules.d/70-persistent-net.rules
> # PCI device 0x8086:0x1502 (e1000e)
> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:d9:2c:65:95:9f", ATTR{dev_id}=="0x0",
> ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
Where do I find some of this info to put in the udev rule.
It's not being auto-generated.
using lshw I get:
*-network:0
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci at 0000:05:00.0
logical name: rename2
version: 10
serial: 00:22:3f:f1:f2:d8
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet
physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes
driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.6
latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII
speed=1Gbit/s
resources: irq:16 ioport:e800(size=256)
memory:febffc00-febffcff memory:febc0000-febdffff
*-network:1
description: Ethernet interface
product: RTL-8169 Gigabit Ethernet
vendor: Realtek Semiconductor Co., Ltd.
physical id: 1
bus info: pci at 0000:05:01.0
logical name: eth1
version: 10
serial: 64:70:02:00:43:c2
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 66MHz
capabilities: pm bus_master cap_list rom ethernet
physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes
driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.149
latency=64 link=yes maxlatency=64 mingnt=32 multicast=yes port=MII
speed=1Gbit/s
resources: irq:17 ioport:e400(size=256)
memory:febff800-febff8ff memory:feba0000-febbffff
--
Regards,
Frank
"Jack of all, fubars"
More information about the users
mailing list