LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-27-2007, 04:19 PM   #1
qwende
LQ Newbie
 
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
Trouble getting 2nd NIC running.


Hello,

For the life of me I cannot get the 2nd NIC in my box operational.

Here is what I've got so far:

1) Debian Linux running kernel vrs. 2.4.27-3-686 kernel.
2) I have two network cards, one is internal, the other a PCI card. The onboard NIC works fine when the PCI card isn't installed, but when the PCI card is installed only it works - the onboard NIC does not. In short - both NICs appear to be supported.
3) See the end of this post for the output from lspci -vvv prints (for the nics):

I'm using grub as my boot agent and have tried appending various ether=x,y,eth1 arguments to the kernel, but none seem to work. No matter what I do ifconfig shows eth0 and the loopback. ifconfig -a will show eth0, eth1 and the loopback. ifup eth1 always returns with "ignoring unknown interface eth1=eth1".

Please, any help would be appreciated. Thanks in advance,

Ben

RESULTS OF LSPCI -VVV (I'm just showing the NICs for space concerns) :

0000:03:0c.0 Ethernet controller: Intel Corporation 82544EI Gigabit Ethernet Controller (Copper) (rev 02)
Subsystem: Intel Corporation PRO/1000 XT Server Adapter
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (63750ns min), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 20
Region 0: Memory at fe4c0000 (32-bit, non-prefetchable) [size=128K]
Region 1: Memory at fe4a0000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at ece0 [size=32]
Expansion ROM at fe500000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0+,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [e4] PCI-X non-bridge device.
Command: DPERE- ERO+ RBC=0 OST=0
Status: Bus=0 Dev=0 Func=0 64bit+ 133MHz+ SCD- USC-, DC=simple, DMMRBC=2, DMOST=0, DMCRS=1, RSCEM-
Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-
Address: 0000000000000000 Data: 0000

0000:04:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
Subsystem: Dell: Unknown device 00d8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 64 (2500ns min, 2500ns max), Cache Line Size: 0x10 (64 bytes)
Interrupt: pin A routed to IRQ 23
Region 0: I/O ports at dc80 [size=128]
Region 1: Memory at fe1ffc00 (32-bit, non-prefetchable) [size=128]
Expansion ROM at fe200000 [disabled] [size=128K]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=2 PME-

Last edited by qwende; 03-27-2007 at 04:27 PM.
 
Old 03-27-2007, 04:45 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Have you tried it this way set one nic to one IP and the other nic to a different IP? Then only activate one nic at a time to test.

To bring all nics down.
ifconfig eth0 down
ifconfig eth1 down

Now
ifconfig eth0 up.

Test ping its IP you asigned.
Then test internet. If no internet switch the cable from one nic to the other.
It is possible the other nic becomes eth0 when it is active based on IRQ level.

Once that works fine then bring eth0 down.
ifconfig eth0 down

Bring up eth1 and test it like eth0
ifconfig eth1 up

Now bringing both up can work but may require some routing configuration.

Brian
 
  


Reply



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
2nd nic is not working fbkmg365 Linux - Networking 4 05-16-2007 12:46 AM
2nd NIC? Cornholio Slackware 3 04-25-2005 10:17 AM
1st nic regular FTP, 2nd nic SSH Riselong Linux - Distributions 2 02-02-2004 05:13 PM
2nd NIC def1014 Linux - Networking 3 10-23-2002 08:54 AM
2nd Nic Killing Me!!!!! patmurray Linux - Networking 0 02-23-2002 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:43 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration