[vortex] detecting whether network cable is plugged in?

Donald Becker becker@scyld.com
Thu, 8 Mar 2001 01:09:55 -0500 (EST)


On Wed, 7 Mar 2001, Roman Maeder wrote:

> I can manually bring it down and could possibly also play with different
> boot arguments, but the card knows whether a cable is plugged in
> (at least there is a check-box to this effect in the Windows ME driver
> for it), and based on that information the network startup scripts could
> decide to bring it up or not, much in the same way that it happens with
> PCMCIA cards. Does the current driver support this functionality and
> how would I use it in the startup scripts?

Use 'mii-diag' to monitor the link beat status
  http://www.scyld.com/diag/index.html

There is no driver-based notification that the link state has changed,
although that could be done through the PCI power management register.

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993