summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2004-03-28 21:35:11 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2004-03-28 21:35:11 +0000
commit6ead3cb243831e5f36735faffd68cd2d776ee4b0 (patch)
tree705c1ff05ba696963626a4560c4d293563617620
parentb3412aa07f04552cf8fa6e1005a273d3f3ad6bc2 (diff)
downloadnet-tools-6ead3cb243831e5f36735faffd68cd2d776ee4b0.tar.gz
net-tools-6ead3cb243831e5f36735faffd68cd2d776ee4b0.tar.bz2
net-tools-6ead3cb243831e5f36735faffd68cd2d776ee4b0.zip
added diagnostics (closes debian bug #239229: EINVAL for downed interface)
-rw-r--r--man/en_US/mii-tool.819
1 files changed, 18 insertions, 1 deletions
diff --git a/man/en_US/mii-tool.8 b/man/en_US/mii-tool.8
index 6b773ec..66d79c6 100644
--- a/man/en_US/mii-tool.8
+++ b/man/en_US/mii-tool.8
@@ -1,7 +1,7 @@
.\" Copyright (C) 2000 David A. Hinds -- dhinds@pcmcia.sourceforge.org
.\" mii-tool.8 1.5 2000/04/25 22:58:19
.\"
-.TH MII-TOOL 8 "2000/04/25 22:58:19" "net-tools"
+.TH MII-TOOL 8 "2004/03/28 23:30:00" "net-tools"
.SH NAME
mii-tool \- view, manipulate media-independent interface status
@@ -72,7 +72,24 @@ media technologies. Multiple technologies should be separated by
commas. Valid media are \fB100baseT4\fR, \fB100baseTx-FD\fR,
\fB100baseTx-HD\fR, \fB10baseT-FD\fR, and \fB10baseT-HD\fR.
+.SH DIAGNOSTICS
+.TP
+SIOCGMIIPHY on 'eth?' failed: Invalid argument
+If the interface is not running (up), kernel will refuse to report its link state.
+.TP
+SIOCGMIIPHY on 'eth?' failed: Operation not permitted
+Most kernels restrict access to root.
+.TP
+SIOCGMIIPHY on 'eth?' failed: No such device
+This error is shown, if the kernel does not know about the named device.
+.TP
+SIOCGMIIPHY on 'eth?' failed: Operation not supported
+The interface in question does not support MII queries. Most likely, it does not have
+MII tranceivers, at all.
+
.SH AUTHORS
David Hinds \- dhinds@pcmcia.sourceforge.org
.br
Donald Becker \- becker@scyld.com
+.br
+Bernd Eckenfels \- ecki@debian.org