[K12OSN] OT: random
Peter Hartmann
ascensiontech at gmail.com
Thu Dec 6 17:48:13 UTC 2007
Beautiful, thanks!
Peter
On Dec 6, 2007 12:36 PM, Jim McQuillan <jam at mcquil.com> wrote:
> Peter,
>
> 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.
>
> Jim McQuillan
> 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?
> >
> >
> > Thanks!
> >
> > Peter
> >
> > _______________________________________________
> > K12OSN mailing list
> > K12OSN at redhat.com
> > https://www.redhat.com/mailman/listinfo/k12osn
> > For more info see <http://www.k12os.org>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
More information about the K12OSN
mailing list