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 Kernel

 
 
LinkBack Thread Tools
 
Old 03-23-2009, 08:06 AM
Nigel Horne
 
Default Bug#414287: eth0 to eth0_rename_ren

I just had to change my motherboard and when I did I lost eth0 and it
was called eth0_rename with no networking. I manually changed everything
in /etc/network/interfaces from eth0 to eth0_rename along with
firewall/routing/blah blah settings.


This morning I booted up and guess what? The same problem, only this
time I had to change eth0_rename to eth0_rename_ren in all my files and
settings. What gives? Why doesn't Linux just call it eth0, it's not
rocket science!


This is on Debian 5.0.




--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 03-23-2009, 10:13 PM
Ben Hutchings
 
Default Bug#414287: eth0 to eth0_rename_ren

On Mon, 2009-03-23 at 09:06 +0000, Nigel Horne wrote:
> I just had to change my motherboard and when I did I lost eth0 and it
> was called eth0_rename with no networking. I manually changed everything
> in /etc/network/interfaces from eth0 to eth0_rename along with
> firewall/routing/blah blah settings.
>
> This morning I booted up and guess what? The same problem, only this
> time I had to change eth0_rename to eth0_rename_ren in all my files and
> settings. What gives? Why doesn't Linux just call it eth0, it's not
> rocket science!

Ethernet interfaces are initially named eth0, eth1, etc. as they are
detected by drivers. The order in which they are detected and numbered
may vary between boots and particularly if you install, remove or
relocate expansion cards.

If you have udev installed (you probably do) it will record the name of
each new physical interface (identified by MAC address) in
/etc/udev/rules.d/70-persistent-net.rules. On subsequent boots these
rules ensure that interfaces get the same name again. However,
sometimes the rules may be written wrongly such that two interfaces are
supposed to be given the same name (eth0 in this case). In this case
udev will give up and one of them will be left with the "_rename"
suffix. You will need to edit this file to fix it.

Ben.
 

Thread Tools




All times are GMT. The time now is 10:15 PM.

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