Mailinglist Archive: opensuse (2086 mails)

< Previous Next >
Re: [opensuse] eth0 become eth1 after upgraded
  • From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
  • Date: Sun, 26 Aug 2007 11:03:56 +0200 (CEST)
  • Message-id: <Pine.LNX.4.64.0708261101330.15614@xxxxxxxxxxxxxxxxxxxxxxxxx>

On Aug 26 2007 16:54, Zhang Weiwu wrote:
>
>Then next solution I think is to make SuSE use ifname "eth0" for the new
>on-bard card. I noticed dmesg said something strange:
>
>zhangweiwu@joe:~> dmesg | grep -i eth
>8139too Fast Ethernet driver 0.9.27
>eth0: RealTek RTL8139 at 0xf0a16400, 00:13:8f:dd:cc:03, IRQ 201
>eth0:  Identified 8139 chip type 'RTL-8101'
>eth0 renamed to eth1
>eth1: link up, 100Mbps, full-duplex, lpa 0x45E1
>bridge-eth0: peer interface eth0 not found, will wait for it to come up
>bridge-eth0: attached
>
>Seems the on-board card /was/ eth0, it's getting renamed to eth1 for
>some reason.

Eh well. What I can think of: you previously had a PCI network card.
Since cards on the PCI bus are usually detected before any on-board
stuff (rightfully so), eth0 is your PCI card, and eth1 is onboard.
SUSE then makes sure this is the case on every boot, even if you
remove the PCI one.
Does that apply?

>How can I disable renaming eth0 to eth1?

Just change it to your preferred name, edit 
/etc/udev/rules.d/30-net_persistent_names.rules


        Jan
-- 
-- 
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References