[Ilugc] Query on Network Status

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Fri Jan 28 23:06:39 2005

On Fri, 28 Jan 2005 15:32:10 +0530, Ganesh <sganesh@xxxxxxxx> wrote:

Hi All,

Is there any way in Linux to determine Ethernet Port status like network 
disconnection. One can use ping, but I can't assure whether the failure is 
due to network disconnection.

If your NIC supports the MII standard (most modern NICs do), then you
can just run the "mii-tool" program to figure out the link status.

Binand

Other related posts: