[Beowulf] Ethernet Status

Paul Romero paulr at rcom-software.com
Tue May 24 00:13:12 PDT 2005


Dear User Group:

How does one determine the status of a device
such as eth0.   My initial guess is that once
you know the device name for eth0, you can
just open it and use ioctl calls, or perhaps it will
not successfully open if the hardware device is down.

My problem is I can't figure out the device name.
(i.e. My motivation for doing this is to find out if
my system has physical IP connectivity without referencing
a particular IP address.)

Best Regards,

Paul R.


--
Paul Romero

RCOM Communications Software

Phone/Fax: (510)339-2628
E-Mail: paulr at rcom-software.com





More information about the Beowulf mailing list