From 3a46885c17ba051ced802e3d35b9ddc6bf10edf6 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 12 Apr 2004 13:58:11 +0000 Subject: preparation for 0.24 git-svn-id: file:///home/lennart/svn/public/ifplugd/trunk@109 2bf48fe7-cfc1-0310-909f-d9042e1e0fef --- man/ifplugd.8.xml.in | 4 ++-- man/ifplugstatus.8.xml.in | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'man') diff --git a/man/ifplugd.8.xml.in b/man/ifplugd.8.xml.in index 4b57aef..e720ce2 100644 --- a/man/ifplugd.8.xml.in +++ b/man/ifplugd.8.xml.in @@ -136,8 +136,8 @@ diff --git a/man/ifplugstatus.8.xml.in b/man/ifplugstatus.8.xml.in index 1f4aed8..684ba02 100644 --- a/man/ifplugstatus.8.xml.in +++ b/man/ifplugstatus.8.xml.in @@ -32,10 +32,20 @@

ifplugstatus is an utility which may be used to detect the link status of a local Linux ethernet device, much in the same way mii-diag, mii-tool and ethtool work. In fact it supports all - three different APIs these three tools use. Thus, it provides - maximal compatibility. The newest API (ethtool) is used first, - than the next older (mii-diag) and at last the oldest - (mii-tool). It may be used in shell script since it returns the + three different APIs these three tools use. In addition it supports + link checking with the IFF_RUNNING interface flag, which most modern + drivers (not only ethernet) support, and association status checking + with the wireless extension API for WLAN devices.

+ +

The APIs are tried in the following order:

+ +

First the cleanest API: IFF_RUNNING (aka ifconfig API)

+

Second the newest API: SIOCETHTOOL (aka ethtool API)

+

Third the next older API: SIOCGMIIREG (aka mii-diag API)

+

Than the WLAN API: wireless extension (aka iwconfig API)

+

Finally the oldest API: SIOCPRIV (aka mii-tool API)

+ +

It may be used in shell script since it returns the current status as return value. It is especially useful to detect the available APIs on the used network driver. (Option -v)

-- cgit