Re: Purge old eth1, add new nic as eth0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/15/2012 1:02 PM, JD wrote:

On 10/13/2012 05:53 AM, Reindl Harald wrote:

Am 13.10.2012 13:46, schrieb Frank Murphy:
How can I completly remove all remnants of an old eth1
Everytime I go to add a new nic it wants to call it eth1

I will be replacing the old nic with ano identical chipped card,
which it wants to call eth1

I would prefer eth0

F17 using system-config-network
I have through s-c-n removed all hardware nic,
also removeed ~/network-scripts/ifcfg-eth*
Keeps coming back

Where else do I look
/etc/udev/rules.d/70-persistent-net.rules this is the only
place which matters for manual NIC-naming and ifcfg_eth*
scripts should NOT contain MAC-addresses to leave the
udev-rule the only point to assign

you need to reboot or restat udev

cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x8086:0x1502 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="3c:d9:2c:65:95:9f", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:a6:91:e4", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x168c:0x0024 (ath9k)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="fc:75:12:5e:cf:e5", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"



On my system,  log in var log messages shows
/var/log/messages-20120930:Sep 26 08:43:22 localhost kernel: [ 5.935732] eth0: SiS 900 PCI Fast Ethernet at 0xd800, IRQ 19, 00:03:0d:15:2b:9e /var/log/messages-20121007:Oct 4 18:18:39 localhost system-config-network[27851]: rm //etc/sysconfig/networking/profiles/default/ifcfg-eth0

But in /etc/udev/rules.d/70-persistent-net.rules
I have
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:03:0d:13:0b:0e", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

So, ifconfig returns no info about eth0, or any eth# device.



In your log file, the MAC address is 00:03:0d:15:2b:9e.
The udev rule looks for MAC address 00:03:0d:13:0b:0e.
No match, no action.

Bill

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux