[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: renamed network interface eth0 to eth1



James Zuelow wrote:
----Original Message----
From: Hugo Vanwoerkom [mailto:hvw59601@care2.com]
Sent: Wednesday, September 22, 2010 1:11 PM
To: debian-user@lists.debian.org
Subject: renamed network interface eth0 to eth1

Hi,

I couldn't figure out why the network wouldn't come up, untill I saw
this:
hugo@debian:~$ dmesg | grep -i eth
[    1.181349] 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[    1.229553] 8139too Fast Ethernet driver 0.9.28
[    1.231041] eth0: RealTek RTL8139 at 0x3000, 00:0a:e4:eb:04:59,
IRQ 20 [    9.727658] udev: renamed network interface eth0 to eth1
[   21.532930] eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
[   32.464023] eth1: no IPv6 routers present

Why would udev rename the interface?

Hugo

It will do that if it thinks another interface should be eth0.  Say you replaced a NIC or similar.


But I haven't

What does /etc/udev/rules.d/70-persistent-net.rules say?

# PCI device 0x1106:0x3065 (via-rhine)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:61:77:98:dc", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:0a:e4:eb:04:59", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:0x4318 (b43)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:14:a4:4c:3c:d5", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"








Reply to: