Hello,
I have two network cards in my computer, one is currently unused but I do need it occasionally so I cannot remove it. I have today compiled my 2.6.5 kernel, and now I run that, it looks like it switched the networkcards around.
dmesg gives this (booted in 2.4.22 kernel):
Code:
PCI: Found IRQ 5 for device 00:12.0
PCI: Sharing IRQ 5 with 00:0c.0
ne2k-pci.c:v1.02 10/19/2000 D. Becker/P. Gortmaker
http://www.scyld.com/network/ne2k-pci.html
PCI: Found IRQ 10 for device 00:10.0
eth0: RealTek RTL-8029 found at 0xe000, IRQ 10, 00:20:18:BA:26:5A.
...
8139too Fast Ethernet driver 0.9.26
PCI: Found IRQ 11 for device 00:0a.0
eth1: RealTek RTL8139 Fast Ethernet at 0xc8ba9000, 00:50:fc:a3:02:1b, IRQ 11
eth1: Identified 8139 chip type 'RTL-8139C'
I have a few questions.
1) How do I see what networkcard is currently attached to what interface. ifconfig -a does not give me that information. --Edit: Never mind, I looked over the eth1: lines.. :/
2) How can I keep the networkcards 'glued' to a certain interface? I can't keep switching cables around every time I have to fall back on a 2.4 kernel, or that I compile another kernel and it switches again.
Which networkcard is used for what interface, I don't care. As long as it doesn't change
Thanks in advance