Refer a bit to pppctl.

Suggested (far to subtly for his own good) by:	joerg
This commit is contained in:
Brian Somers 1997-10-05 14:27:08 +00:00
parent ea895c156b
commit d37641d82c
2 changed files with 54 additions and 28 deletions

View File

@ -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 .Dd 20 September 1995
.Os FreeBSD .Os FreeBSD
.Dt PPP 8 .Dt PPP 8
@ -478,20 +478,18 @@ and
.Fl direct .Fl direct
mode too): mode too):
.Bd -literal -offset indent .Bd -literal -offset indent
# telnet localhost 3000 # pppctl -v 3000 show ipcp
Trying 127.0.0.1... Password:
Connected to awfulhak.
Escape character is '^]'.
....
PPP on awfulhak> pass xxxx
PPP ON awfulhak> show ipcp
IPCP [OPEND] IPCP [OPEND]
his side: xxxx his side: xxxx
.... ....
.Ed .Ed
Currently,
.Xr telnet 1
may also be used to talk interactively.
.Pp .Pp
Each Each
.Nm .Nm
@ -663,9 +661,12 @@ Direct mode (
.Fl direct .Fl direct
) lets ) lets
.Nm .Nm
work with stdin and stdout. You can also telnet to port 3000 plus work with stdin and stdout. You can also use
the current tunnel device number to get command mode control in the .Nm pppctl
same manner as client-side 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. .Nm.
.It .It
@ -1844,7 +1845,7 @@ state.
Normally, when not in interactive mode, Normally, when not in interactive mode,
.Nm .Nm
listens to a tcp socket for incoming command connections. The 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 tunnel device that
.Nm .Nm
opened. So, for example, if opened. So, for example, if
@ -1862,6 +1863,17 @@ the
.Dv USR1 .Dv USR1
signal. 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 .It set speed value
This sets the speed of the serial device. 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 3 ,
.Xr syslog.conf 5 , .Xr syslog.conf 5 ,
.Xr syslogd 8 , .Xr syslogd 8 ,
.Xr pppctl 8 .Xr pppctl 8 ,
.Xr telnet 1
.Sh HISTORY .Sh HISTORY

View File

@ -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 .Dd 20 September 1995
.Os FreeBSD .Os FreeBSD
.Dt PPP 8 .Dt PPP 8
@ -478,20 +478,18 @@ and
.Fl direct .Fl direct
mode too): mode too):
.Bd -literal -offset indent .Bd -literal -offset indent
# telnet localhost 3000 # pppctl -v 3000 show ipcp
Trying 127.0.0.1... Password:
Connected to awfulhak.
Escape character is '^]'.
....
PPP on awfulhak> pass xxxx
PPP ON awfulhak> show ipcp
IPCP [OPEND] IPCP [OPEND]
his side: xxxx his side: xxxx
.... ....
.Ed .Ed
Currently,
.Xr telnet 1
may also be used to talk interactively.
.Pp .Pp
Each Each
.Nm .Nm
@ -663,9 +661,12 @@ Direct mode (
.Fl direct .Fl direct
) lets ) lets
.Nm .Nm
work with stdin and stdout. You can also telnet to port 3000 plus work with stdin and stdout. You can also use
the current tunnel device number to get command mode control in the .Nm pppctl
same manner as client-side 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. .Nm.
.It .It
@ -1844,7 +1845,7 @@ state.
Normally, when not in interactive mode, Normally, when not in interactive mode,
.Nm .Nm
listens to a tcp socket for incoming command connections. The 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 tunnel device that
.Nm .Nm
opened. So, for example, if opened. So, for example, if
@ -1862,6 +1863,17 @@ the
.Dv USR1 .Dv USR1
signal. 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 .It set speed value
This sets the speed of the serial device. 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 3 ,
.Xr syslog.conf 5 , .Xr syslog.conf 5 ,
.Xr syslogd 8 , .Xr syslogd 8 ,
.Xr pppctl 8 .Xr pppctl 8 ,
.Xr telnet 1
.Sh HISTORY .Sh HISTORY