Network cards were switched
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):
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 :D
Thanks in advance :)
You could define aliases in
I'm a bit surprised, though, that they would be
sorted out differently in differen kernel releases.
The way they are evaluated is by pci-slot:
i have the same question , and i try to edit /etc/modules.conf , add "alias eth1 ne2k-pci" in it.
than reboot system . but i still can't use the "eth1". than , i found the module "ne2k-pci" have not
load . i try to do this by myself, so i used "insmod ne2k-pci" but , error . the system tell me
"-1 Unknown symbol in module". and the log message is :
ov 17 21:59:02 unit-e7slf2y5c3 kernel: ne2k_pci: Unknown symbol ei_open
Nov 17 21:59:02 unit-e7slf2y5c3 kernel: ne2k_pci: Unknown symbol alloc_ei_netdev
Nov 17 21:59:02 unit-e7slf2y5c3 kernel: ne2k_pci: Unknown symbol ei_interrupt
Nov 17 21:59:02 unit-e7slf2y5c3 kernel: ne2k_pci: Unknown symbol ei_close
Nov 17 21:59:02 unit-e7slf2y5c3 kernel: ne2k_pci: Unknown symbol NS8390_init
who can help me ? thank's ..
i find the answer ,
i use the
the module can load. i can use "8029" as eth1
|All times are GMT -5. The time now is 11:19 AM.|