FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 08-02-2010, 07:16 AM
Guo Jiahua
 
Default udev: renamed network interface eth0 to eth1

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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1280733372.3621.3.camel@guo-debian">http://lists.debian.org/1280733372.3621.3.camel@guo-debian
 
Old 08-02-2010, 07:30 AM
Camalen
 
Default udev: renamed network interface eth0 to eth1

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,

--
Camalen


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: pan.2010.08.02.07.30.59@gmail.com">http://lists.debian.org/pan.2010.08.02.07.30.59@gmail.com
 
Old 08-02-2010, 07:32 AM
Wolodja Wentland
 
Default udev: renamed network interface eth0 to eth1

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@cl.uni-heidelberg.de>
: :' :
`. `'` 4096R/CAF14EFC
`- 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC
 
Old 08-02-2010, 09:41 AM
Guo Jiahua
 
Default udev: renamed network interface eth0 to eth1

在 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@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 1280742105.3577.1.camel@guo-debian">http://lists.debian.org/1280742105.3577.1.camel@guo-debian
 

Thread Tools




All times are GMT. The time now is 12:03 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org