summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ppp.8.m4
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-10-05 14:27:08 +0000
committerbrian <brian@FreeBSD.org>1997-10-05 14:27:08 +0000
commit1f236d536d1afe42f75c61fa1479cbb6c89ab246 (patch)
treef4091b8a014bcfee1514902dc8c0f5ec894ce549 /usr.sbin/ppp/ppp.8.m4
parent98dd7f981c77bd1097a278dfdbff2c56ee11b824 (diff)
downloadFreeBSD-src-1f236d536d1afe42f75c61fa1479cbb6c89ab246.zip
FreeBSD-src-1f236d536d1afe42f75c61fa1479cbb6c89ab246.tar.gz
Refer a bit to pppctl.
Suggested (far to subtly for his own good) by: joerg
Diffstat (limited to 'usr.sbin/ppp/ppp.8.m4')
-rw-r--r--usr.sbin/ppp/ppp.8.m441
1 files changed, 27 insertions, 14 deletions
diff --git a/usr.sbin/ppp/ppp.8.m4 b/usr.sbin/ppp/ppp.8.m4
index 6d216a0..102d90b 100644
--- a/usr.sbin/ppp/ppp.8.m4
+++ b/usr.sbin/ppp/ppp.8.m4
@@ -1,4 +1,4 @@
-.\" $Id: ppp.8,v 1.68 1997/09/25 00:52:36 brian Exp $
+.\" $Id: ppp.8,v 1.69 1997/10/05 10:29:32 brian Exp $
.Dd 20 September 1995
.Os FreeBSD
.Dt PPP 8
@@ -478,20 +478,18 @@ and
.Fl direct
mode too):
-
.Bd -literal -offset indent
-# telnet localhost 3000
-Trying 127.0.0.1...
-Connected to awfulhak.
-Escape character is '^]'.
-....
-PPP on awfulhak> pass xxxx
-PPP ON awfulhak> show ipcp
+# pppctl -v 3000 show ipcp
+Password:
IPCP [OPEND]
his side: xxxx
....
.Ed
+Currently,
+.Xr telnet 1
+may also be used to talk interactively.
+
.Pp
Each
.Nm
@@ -663,9 +661,12 @@ Direct mode (
.Fl direct
) lets
.Nm
-work with stdin and stdout. You can also telnet to port 3000 plus
-the current tunnel device number to get command mode control in the
-same manner as client-side
+work with stdin and stdout. You can also use
+.Nm pppctl
+or
+.Nm telnet
+to connect to port 3000 plus the current tunnel device number to get
+command mode control in the same manner as client-side
.Nm.
.It
@@ -1844,7 +1845,7 @@ state.
Normally, when not in interactive mode,
.Nm
listens to a tcp socket for incoming command connections. The
-socket number is calculated as 3000 plus the number of the
+default socket number is calculated as 3000 plus the number of the
tunnel device that
.Nm
opened. So, for example, if
@@ -1862,6 +1863,17 @@ the
.Dv USR1
signal.
+.Pp
+When using
+.Nm
+with a server socket, the
+.Xr pppctl 8
+command is the preferred mechanism of communications. Currently,
+.Xr telnet 1
+can also be used, but link encryption may be implemented in the future, so
+.Nm telnet
+should not be relied upon.
+
.It set speed value
This sets the speed of the serial device.
@@ -2162,7 +2174,8 @@ Get port number if port number is using service name.
.Xr syslog 3 ,
.Xr syslog.conf 5 ,
.Xr syslogd 8 ,
-.Xr pppctl 8
+.Xr pppctl 8 ,
+.Xr telnet 1
.Sh HISTORY
OpenPOWER on IntegriCloud