Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Ethernet board error detection: (2 Items)
   
Ethernet board error detection  
 

Hi everbody,

 

I'm looking for any way to detect if my ethernet board is correct. I mean, I
don't exactly know if I'm able to know if I don't have any communication the
cause is the net, or my device. For example, I think that if I try to create
a connection to an extern IP address and I have my ethernet cable
disconnected I'll get the same error as the destination host is
unreacheable. So how coul I know where the error is? In my ethernet board,
or in the destination host.

 

Thanks!!

RE: Ethernet board error detection  
There are a number of tools that you can use to determine what's happening
with your Ethernet connection.

ifconfig

will tell you how your interface is configured from the IP point of view

nicinfo

will tell you if the interface has an active link (cable is plugged in) and
whether or not it's sending and receiving (or at least THINKS that it's
sending and receiving) data...  If you're using one of our drivers, having
the transmit (and receive counts increasing is a good indication that the
card is working if your generating traffic (e.g. through pinging).

ping

Will let you see if you can contact an external box.

Often times, if you're debugging a driver, you can use the ping command
combined with a "arp -a" to see if either tx or rx is broken.

Many of our drivers also let you specify a "verbose" option to the driver
which will produce output from sloginfo which can give you hints as to
what's happening.

	Robert.


-----Original Message-----
From: . . [mailto:mikorta@hotmail.com] 
Sent: Friday, March 14, 2008 10:05 AM
To: drivers-networking
Subject: Ethernet board error detection

 

Hi everbody,

 

I'm looking for any way to detect if my ethernet board is correct. I mean, I
don't exactly know if I'm able to know if I don't have any communication the
cause is the net, or my device. For example, I think that if I try to create
a connection to an extern IP address and I have my ethernet cable
disconnected I'll get the same error as the destination host is
unreacheable. So how coul I know where the error is? In my ethernet board,
or in the destination host.

 

Thanks!!



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post5808