[K12OSN] OT: random
jam at mcquil.com
Thu Dec 6 17:36:13 UTC 2007
Instead of using ifconfig, take a look at "mii-tool eth0" or "ethtool eth0".
Both of those will report whether there is a link or not.
jam at Ltsp.org
Peter Hartmann wrote:
> I've written a bash script to do some data acquisition from a relay.
> Since I'm just measuring on/off, I'm not messing with serial of
> parallel ports and extra equipment. I'm planning on using an extra
> nic card with a loopback ethernet cable. I tested this on my laptop
> running FC6. When the loopback circuit is complete ifconfig shows
> "RUNNING". When the circuit is broken RUNNING is not shown. However,
> the platform is FC3. FC3, as well as FC5 don't react this way when
> there's not network connection. What is this function called? Media
> check? Is there another way of getting that information on these
> older OSes?
> K12OSN mailing list
> K12OSN at redhat.com
> For more info see <http://www.k12os.org>
More information about the K12OSN