Bug 371499

Summary: Name of eth interface keeps changing
Product: [openSUSE] openSUSE 10.3 Reporter: Freek de Kruijf <freek>
Component: NetworkAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: part of dmesg

Description Freek de Kruijf 2008-03-15 13:57:27 UTC
I have an Acer Aspire 5520G laptop (AMD 64-bit dual core) with a RJ45 ethernet interface and a wifi interface. In YaST these 2 show as "Acer Incorporated [ALI] Ethernet controller MAC : 00:00:6c:49:2f:d5" and "AMBIT Microsystem AR5006EG 802.11 b/g Wireless PCI Express Adapter MAC : 00:1e:4c:af:7a:e0", but in lspci it shows as "00:0a.0 Ethernet controller: nVidia Corporation Unknown device 054c (rev a2)" and "05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)". The driver module for the RJ45 interface is "forcedeth".
With YaST I can configure the RJ45 interface easily. No problem and it works. However after a reboot, the configuration is lost. The reason is that the name of the interface has changed. If it was eth11 it has become eth12 and the next time, after a reboot the name is eth13 etc. A rename of /etc/sysconfig/network/ifcfg-eth<x> to ..../ifcfg-eth<x+1> is sufficient to make it work again.
Comment 1 Michal Zugec 2008-03-15 14:15:21 UTC
look into bug #339482, this is probably duplicate
Comment 2 Freek de Kruijf 2008-03-15 17:32:57 UTC
Created attachment 202320 [details]
part of dmesg

The attachment are a few lines of dmesg during booting showing that the name eth0 is changed. I wonder why?
Comment 3 Michal Zugec 2008-03-15 17:59:39 UTC
Look into /etc/udev/rules.d/70-persistent-net.rules
Test if MAC address (because of bugy driver) is changed after reboot
Comment 4 Freek de Kruijf 2008-03-16 12:53:48 UTC
Yes, in /etc/udev/rules.d/70-persistent-net.rules I found different MAC addresses.
On this system I also have openSUSE 11.0 Alpha2, I don't have this problem there. Apparently /lib/udev/write_net_rules differs quite a lot between the two openSUSE versions.
It is a duplicate of bug #339482 .
Comment 5 Michal Zugec 2008-03-16 14:08:22 UTC

*** This bug has been marked as a duplicate of bug 339482 ***