summaryrefslogtreecommitdiff
path: root/usr.sbin/spppcontrol
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2004-11-30 18:28:21 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2004-11-30 18:28:21 +0000
commit08044ef80e64e7bd5e62c58771e937833f0735b4 (patch)
treea0656015c03bf8df8e03622e8a3c2ab3a11b8e94 /usr.sbin/spppcontrol
parent09f49f85d46fe8685347ee71877211bb3b5a0ec0 (diff)
- simplify grammar
- rearrange EXAMPLES somewhat - .Xr pppoe 4
Diffstat (limited to 'usr.sbin/spppcontrol')
-rw-r--r--usr.sbin/spppcontrol/spppcontrol.831
1 files changed, 15 insertions, 16 deletions
diff --git a/usr.sbin/spppcontrol/spppcontrol.8 b/usr.sbin/spppcontrol/spppcontrol.8
index d1a90ef0828..65253f052f0 100644
--- a/usr.sbin/spppcontrol/spppcontrol.8
+++ b/usr.sbin/spppcontrol/spppcontrol.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: spppcontrol.8,v 1.4 2001/06/23 05:57:10 deraadt Exp $
+.\" $OpenBSD: spppcontrol.8,v 1.5 2004/11/30 18:28:20 jmc Exp $
.\"
.\" Copyright (C) 1997 by Joerg Wunsch, Dresden
.\" All rights reserved.
@@ -82,7 +82,7 @@ or expected will be displayed, plus any possible options to the
authentication protocol if applicable.
Note that the authentication secrets (sometimes called
.Em keys )
-are not being returned by the underlying system call, and are thus not
+are not returned by the underlying system call, and are thus not
displayed.
.Pp
If any additional parameter is supplied, superuser privileges are
@@ -175,13 +175,6 @@ This is the default, and will not be explicitly displayed in
mode.
.El
.Sh EXAMPLES
-.Bd -literal
-# spppcontrol bppp0
-bppp0: phase=dead
- myauthproto=chap myauthname="uriah"
- hisauthproto=chap hisauthname="ifb-gw" norechallenge
-.Ed
-.Pp
Display the settings for bppp0.
The interface is currently in
.Em dead
@@ -194,22 +187,28 @@ and remote is expected to authenticate by the name
Once the initial CHAP handshake was successful, no further CHAP
challenges will be transmitted.
There are supposedly some known CHAP secrets for both ends of the link
-which are not being shown.
+which are not displayed.
+.Bd -literal -offset indent
+$ spppcontrol bppp0
+bppp0: phase=dead
+ myauthproto=chap myauthname="uriah"
+ hisauthproto=chap hisauthname="ifb-gw" norechallenge
+.Ed
.Pp
-.Bd -literal
+A possible call to
+.Nm
+that could have been used to bring the interface into the state shown
+by the previous example:
+.Bd -literal -offset indent
# spppcontrol bppp0 \e
authproto=chap \e
myauthname=uriah myauthsecret='some secret' \e
hisauthname=ifb-gw hisauthsecret='another' \e
norechallenge
.Ed
-.Pp
-A possible call to
-.Nm
-that could have been used to bring the interface into the state shown
-by the previous example.
.Sh SEE ALSO
.Xr netstat 1 ,
+.Xr pppoe 4 ,
.Xr sppp 4 ,
.Xr ifconfig 8
.Rs