Suddenly NIC names change
Hello,
I have two lan cards: 1) integrated RTL8169 Gbit 2) external PCI RTL8139 They are both compiled as modules for the kernel 2.6.21.5 After a restart it happened their names (eth0, eth1) are changed. Why is that? Does it matters which module loads first? If yes - how to check that? Thanks! |
Modules can usually be define in /etc/modprobe.conf file. Define an alias for eth0 and the module for it to use. Same for eth1. Not sure if it has an effect based on PCI interrupt order. If certain changes were made in the kernel on the pci then it may have this effect.
Brian |
Quote:
Code:
# The use of this config file is deprecated. Cheers. |
Neccesarry rules found in /etc/udev/rules.d/network-devices.rules !
I just had to uncomment the right lines: KERNEL=="eth?", SYSFS{address}=="00:13:8f:ea:f0:1e", NAME="eth1" KERNEL=="eth?", SYSFS{address}=="00:19:e0:0e:e8:7d", NAME="eth0" |
All times are GMT -5. The time now is 05:43 AM. |