From: Guo Jiahua on
I don't know why udev renames the name of my network interface


---an item in /var/log/syslog :

kernel: [ 6.949035] udev: renamed network interface eth0 to eth1

---an iten in /etc/network/interfaces :

auto eth0
iface eth0 inet manual
pre-up /sbin/ifconfig $IFACE hw ether 00:11:5b:cf:fe:ce



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1280733372.3621.3.camel(a)guo-debian
From: Wolodja Wentland on
On Mon, Aug 02, 2010 at 15:16 +0800, Guo Jiahua wrote:
> I don't know why udev renames the name of my network interface
> ---an item in /var/log/syslog :
>
> kernel: [ 6.949035] udev: renamed network interface eth0 to eth1

Take a look at /etc/udev/rules.d/70-persistent-net.rules and verify that
the rule for your card (check its MAC) is consistent with the naming
scheme you want.

You can easily edit that file or even remove it if you want to
regenerate it from scratch.

good luck

Wolodja
--
.''`. Wolodja Wentland <wentland(a)cl.uni-heidelberg.de>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
From: Camaleón on
On Mon, 02 Aug 2010 15:16:12 +0800, Guo Jiahua wrote:

> I don't know why udev renames the name of my network interface
>
>
> ---an item in /var/log/syslog :
>
> kernel: [ 6.949035] udev: renamed network interface eth0 to eth1
>
> ---an iten in /etc/network/interfaces :
>
> auto eth0
> iface eth0 inet manual
> pre-up /sbin/ifconfig $IFACE hw ether 00:11:5b:cf:fe:ce

Probably because you changed the mac address. Original eth0 remains with
the original HW address and the "faked" one is detected as a new device
(eth1).

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.08.02.07.30.59(a)gmail.com
From: Guo Jiahua on
在 2010-08-02一的 09:32 +0200,Wolodja Wentland写道:
> On Mon, Aug 02, 2010 at 15:16 +0800, Guo Jiahua wrote:
> > I don't know why udev renames the name of my network interface
> > ---an item in /var/log/syslog :
> >
> > kernel: [ 6.949035] udev: renamed network interface eth0 to eth1
>
> Take a look at /etc/udev/rules.d/70-persistent-net.rules and verify that
> the rule for your card (check its MAC) is consistent with the naming
> scheme you want.
>
> You can easily edit that file or even remove it if you want to
> regenerate it from scratch.
>
> good luck
>
> Wolodja

The problem is solved by
editing /etc/udev/rules.d/70-persistent-net.rules

Thanks for all the help from the maillist.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/1280742105.3577.1.camel(a)guo-debian