udev renames ethernet interfaces?

Alex Dean alex at crackpot.org
Sat Oct 3 15:07:25 MST 2009


On Oct 4, 2009, at 5:56 AM, Dazed_75 wrote:

>
> On Sat, Oct 3, 2009 at 2:36 PM, Alex Dean <alex at crackpot.org> wrote:
> On Oct 4, 2009, at 3:28 AM, Dazed_75 wrote:
>
> ubuntu 9.04 from /var/log/messages
>
> ifserver kernel: [    9.611230] udev: renamed network interface eth0  
> to eth1
>
> BTW, this is the ethernet port on the motherboard.  I assume that it  
> was originally known as eth0.  But when a PCI ethernet card was  
> added, I was surprised to see it listed as eth0 and the motherboard  
> as eth1.  Apparently now that the machine is back to only having the  
> MB ethernet, udev is still wanting to call it eth1.  Probably a  
> better idea than trying to find and fix all references to eth0 and  
> eth1.
>
> I'm not sure if you're using NetworkManager or configuring your own  
> interfaces.  In NetworkManager, I see how to look up which MAC  
> address is associated with which ethernet device (eth0, eth1, etc),  
> but I don't see any way to set these associations.
>
> If you're doing your configuration via /etc/network/interfaces, you  
> can add a 'hwaddress' stanza in the configuration for either a  
> 'static' or 'dhcp' interface.  I think you should be able to use  
> that to control which device becomes eth0, eth1, etc.
>
> alex
>
>
> Sorry Alex,
>
> This was something seen while investigating a different problem and  
> searching log files for clues.  That discussion was in another  
> thread so you never saw it.  NetworkManager is running and I am not  
> touching /etc/network/interfaces.  My question also had nothing to  
> do with the other discussion, it was just something I was surprised  
> to see.

Heh.  I'm jet-lagged and reading email at 4am.  I probably should be  
just reading rather than responding. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20091004/5ad41d72/attachment.pgp 


More information about the PLUG-discuss mailing list