LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-17-2004, 01:00 PM   #1
Worstje
Member
 
Registered: Mar 2004
Distribution: Slackware-current
Posts: 93

Rep: Reputation: 15
Network cards were switched


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

Last edited by Worstje; 04-17-2004 at 01:18 PM.
 
Old 04-17-2004, 04:08 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
You could define aliases in
/etc/modules.conf ...

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:
http://www.linuxquestions.org/questi...light=PCI+slot



Cheers,
Tink
 
Old 11-17-2004, 08:02 AM   #3
shadow_wwp
LQ Newbie
 
Registered: Aug 2004
Location: China
Distribution: Turbo & LFS
Posts: 5

Rep: Reputation: 0
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 ..
 
Old 11-17-2004, 08:20 AM   #4
shadow_wwp
LQ Newbie
 
Registered: Aug 2004
Location: China
Distribution: Turbo & LFS
Posts: 5

Rep: Reputation: 0
ha~~

i find the answer ,

i use the
modprobe ne2k-pci

the module can load. i can use "8029" as eth1
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ntop in a switched network cccc Linux - Networking 0 11-07-2004 09:54 AM
One for the experts (Switched network security) R4z0r Linux - Security 2 09-07-2004 01:57 AM
Frame rates drop after after video cards are switched. Alvis Linux - Hardware 1 07-30-2004 08:57 AM
which linux sniffer can I use on the switched network ? cccc Linux - Networking 2 07-24-2004 06:30 PM
Correct way to sniff switched network msymms Linux - Networking 8 11-07-2003 11:33 AM


All times are GMT -5. The time now is 03:39 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration