LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 10-24-2006, 01:28 PM   #1
mepefe
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Rep: Reputation: 0
eth1 failure


Hi there.

I have errors in the eth1 interface, my Linux server has 3 NICs, two 3com nics, and a realtek nic.
My question is:

How can i know wich one is my interface that is failure?

Thanks

Mepefe
 
Old 10-24-2006, 02:30 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
You can check the dmesg log to see what NIC has been assignet which designation (eth0, eth1, eth2)


IBM-300GL-1:~# cat /var/log/dmesg | grep eth
eth0: ADMtek Comet rev 17 at 00015400, 00:50:BF:96:B0:4D, IRQ 15.
eth1: ADMtek Comet rev 17 at 00015000, 00:50:BF:97:81:BA, IRQ 11.

If it's the realtek card with errors that should be a gimme to figure out which of the 3 cards it is..

Otherwise unplug the network cables from the NICs' one at a time, and check for a message in the Systems logs as you unplug the cable to identify which card is which.

If for some reason no message is generated, unplug one card, then ping something that should be on that segment..

Then you can take your Sharpie or P-Touch and label the NIC's so you will know for the future.
 
Old 10-24-2006, 02:52 PM   #3
hockeyman_102
Member
 
Registered: Apr 2006
Location: Washington
Distribution: Suse, CentOS, Ubuntu
Posts: 124

Rep: Reputation: 15
How do you know you have a failure? If one is simply having a hardware failure - couln't you plug them into a switch or something and look for link lights on the actual port?
 
Old 10-24-2006, 08:28 PM   #4
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
By failure I don't think he means total failure no Link light.. more like Lots of errors you know like when you do ifconfig and it lists all that bonus information..

Code:
          RX packets:2904756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:710292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
But with 3 cards if you didn't take the time to identify them initially, it's sometimes confusing to match the ethX designations to the physical hardware.

Also errors can be caused by misconfiguration of an interface. for instance if you FORCE a PC NIC to run at 100Mbps FULL-DUPLEX and plug it into a switch. Auto-negotiation will fail and the switch will default to 100Mbps Hafl-Duplex and you will tehn start to accumulate a lot of errors, since the 2 interfaces now have a duplex mismatch.
 
Old 10-26-2006, 11:50 AM   #5
mepefe
LQ Newbie
 
Registered: Oct 2006
Posts: 2

Original Poster
Rep: Reputation: 0
Hi Farslayer.
You right,the light Link is On, but if i run ifconfig this is the output.

eth1 Link encap:Ethernet HWaddr 00:80:AD:88:39:F3 inet addr:165.98.138.97 Bcast:165.98.138.111 Mask:255.255.255.240 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:228 dropped:0 overruns:0 carrier:228 collisions:0 txqueuelen:100 Interrupt:10 Base address:0xflost of pcakets




Quote:
Originally Posted by farslayer
By failure I don't think he means total failure no Link light.. more like Lots of errors you know like when you do ifconfig and it lists all that bonus information..

Code:
          RX packets:2904756 errors:0 dropped:0 overruns:0 frame:0
          TX packets:710292 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
But with 3 cards if you didn't take the time to identify them initially, it's sometimes confusing to match the ethX designations to the physical hardware.

Also errors can be caused by misconfiguration of an interface. for instance if you FORCE a PC NIC to run at 100Mbps FULL-DUPLEX and plug it into a switch. Auto-negotiation will fail and the switch will default to 100Mbps Hafl-Duplex and you will tehn start to accumulate a lot of errors, since the 2 interfaces now have a duplex mismatch.
 
Old 10-27-2006, 07:22 PM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
228 errors, carrier up/down 228 times..

yes something definately doesn't look right there..

Did checking dmesg help ? did eth1 turn out to be the realtek card ? if so that would be easy toID since it will look different than the other two cards..

If eth1 isnt the realtek card, then I would try unplugging the network cables from the other cards one at a time and see which is which..
 
  


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
cannot activate eth1 using ifup or using ifcfg-eth1 akay Linux - Hardware 10 12-16-2010 05:10 AM
howto acess intrnet thru eth1(wireless card)in winXP via briging in linux(eth0-eth1) labhesh_popli Linux - Wireless Networking 1 09-21-2006 01:11 AM
new kernel now eth1 failure draggin Debian 0 08-27-2005 02:33 PM
eth1 added, mysql connections FROM this machine are from eth1. Need bound to eth0??? kreese Linux - Networking 9 03-31-2004 12:12 PM
Kernel 2.4.22 finds eth0 and eth1 but 2.6.0 does not find eth1 coollink Linux - Networking 3 01-13-2004 07:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:59 PM.

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