LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How do I tell if Ethernet cards are working? (https://www.linuxquestions.org/questions/linux-software-2/how-do-i-tell-if-ethernet-cards-are-working-8103/)

tarballedtux 10-29-2001 09:29 PM

How do I tell if Ethernet cards are working?
 
Thanks to acid_kewpie, http://www.linuxquestions.org/questi...?threadid=7861

I thihnk I was able to get 2 3c59x cards to work, but I am not sure.
They show up in ifconfig with their respective IP, but how can I tell if they are functioning correctly without conflict?

Also How can i tell which is eth0, and eth1?

Thanks.

trickykid 10-29-2001 11:50 PM

ifconfig will basically tell you this info, or you can do individual on each with ifconfig eth0 or ifconfig eth1.
if your getting output on each, that is a good indication that they are both working... if they are on a network in which i presume, are they connecting to a LAN or Internet??

Steave 10-30-2001 02:28 AM

I did it like this:

Assign ip-addresses to the cards...

Just connect one card. See if you can ping the computer on the expected ip. (Also try the other ip, I experienced that it will listen to both ips on both devices for some reason).

If it only responds to one ip, you also figured out which device you're currently plugged into :)
Otherwise use ifconfig ethx down to shut one device down manually. Can still ping? You were on the other device. cannot ping? Well, also found out which device is which card...

For testing you might also want to do ifconfig ethx up and ifconfig ethy down to see if the behaviour inverts.

Have fun, Steave.


All times are GMT -5. The time now is 05:47 PM.