Deleted Added
full compact
ppp.8.m4 (26754) ppp.8.m4 (26940)
1.\" $Id: ppp.8,v 1.40 1997/06/16 13:52:10 brian Exp $
1.\" $Id: ppp.8,v 1.41 1997/06/20 23:43:34 brian Exp $
2.Dd 20 September 1995
3.Os FreeBSD
4.Dt PPP 8
5.Sh NAME
6.Nm ppp
7.Nd
8Point to Point Protocol (aka iijppp)
9.Sh SYNOPSIS

--- 622 unchanged lines hidden (view full) ---

632
633(You can specify a label name for further control.)
634
635.Pp
636Direct mode (
637.Fl direct
638) lets
639.Nm
2.Dd 20 September 1995
3.Os FreeBSD
4.Dt PPP 8
5.Sh NAME
6.Nm ppp
7.Nd
8Point to Point Protocol (aka iijppp)
9.Sh SYNOPSIS

--- 622 unchanged lines hidden (view full) ---

632
633(You can specify a label name for further control.)
634
635.Pp
636Direct mode (
637.Fl direct
638) lets
639.Nm
640work with stdin and stdout. You can also telnet to port 3000 to get
641command mode control in the same manner as client-side
640work with stdin and stdout. You can also telnet to port 3000 plus
641the current tunnel device number to get command mode control in the
642same manner as client-side
642.Nm.
643
644.It
645Optional support for Microsoft's IPCP Name Server and NetBIOS
646Name Server negotiation can be enabled use
647.Dq enable msext
648and
649.Dq set ns pri-addr [sec-addr]

--- 605 unchanged lines hidden (view full) ---

1255PPP ON awfulhak> show log
1256Log: Carrier Phase TCP/IP
1257.Ed
1258
1259Log messages of level Warning, Error and Alert are not controlable
1260using
1261.Dq set log .
1262
643.Nm.
644
645.It
646Optional support for Microsoft's IPCP Name Server and NetBIOS
647Name Server negotiation can be enabled use
648.Dq enable msext
649and
650.Dq set ns pri-addr [sec-addr]

--- 605 unchanged lines hidden (view full) ---

1256PPP ON awfulhak> show log
1257Log: Carrier Phase TCP/IP
1258.Ed
1259
1260Log messages of level Warning, Error and Alert are not controlable
1261using
1262.Dq set log .
1263
1264.Sh SIGNAL HANDLING
1265
1266.Nm Ppp
1267deals with the following signals:
1268
1269.Bl -tag -width 20
1270.It HUP
1271Receipt of this signal causes the termination of the current connection
1272(if any). This will cause
1273.Nm
1274to exit unless it is in
1275.Fl auto
1276or
1277.Fl ddial
1278mode. It should be noted that unless in
1279.Fl direct
1280mode,
1281.Nm
1282does not have a controlling terminal and therefore doesn't receive
1283this signal on loss of carrier. Instead, it monitors the line
1284directly for loss of carrier.
1285
1286.It INT
1287This signal will normally terminate
1288.Nm ppp .
1289If, however,
1290.Nm
1291is in interactive mode this signal will be ignored except when dialing.
1292When dialing, the signal causes
1293.Nm
1294to abort dialing and return to the command prompt.
1295
1296.It TERM & QUIT
1297These signals tell
1298.Nm
1299to exit.
1300
1301.It USR1
1302This signal, when not in interactive mode, tells
1303.Nm
1304to close any existing server socket and open an internet socket using
1305the default rules for choosing a port number - that is, using port
13063000 plus the current tunnel device number.
1307
1308.El
1309
1263.Sh PPP COMMAND LIST
1264
1265This section lists the available commands and their effect. They are
1266usable either from an interactive ppp session, from a configuration
1267file or from a telnet session.
1268
1269.Bl -tag -width 20
1270.It accept|deny|enable|disable option....

--- 341 unchanged lines hidden (view full) ---

1612above), a pause of
1613.Dq nseconds
1614is taken before dialing each number. A pause of
1615.Dq seconds
1616is taken before starting at the first number again. A value of
1617.Dq random
1618may be used here too.
1619
1310.Sh PPP COMMAND LIST
1311
1312This section lists the available commands and their effect. They are
1313usable either from an interactive ppp session, from a configuration
1314file or from a telnet session.
1315
1316.Bl -tag -width 20
1317.It accept|deny|enable|disable option....

--- 341 unchanged lines hidden (view full) ---

1659above), a pause of
1660.Dq nseconds
1661is taken before dialing each number. A pause of
1662.Dq seconds
1663is taken before starting at the first number again. A value of
1664.Dq random
1665may be used here too.
1666
1667.It set server|socket TcpPort|LocalName|none
1668Normally, when not in interactive mode,
1669.Nm
1670listens to a tcp socket for incoming command connections. The
1671socket number is calculated as 3000 plus the number of the
1672tunnel device that
1673.Nm
1674opened. So, for example, if
1675.Nm
1676opened tun2, socket 3002 would be used.
1677.Pp
1678Using this command, you can specify your own port number, a
1679local domain socket (specified as an absolute file name), or
1680you can tell
1681.Nm
1682not to accept any command connections. See also the use of
1683the
1684.Dv USR1
1685signal.
1686
1620.It set speed value
1621This sets the speed of the serial device.
1622
1623.It set timeout Idle [ lqr [ retry ] ]
1624This command allows the setting of the idle timer, the LQR timer (if
1625enabled) and the retry timer.
1626
1627.It set ns x.x.x.x

--- 289 unchanged lines hidden ---
1687.It set speed value
1688This sets the speed of the serial device.
1689
1690.It set timeout Idle [ lqr [ retry ] ]
1691This command allows the setting of the idle timer, the LQR timer (if
1692enabled) and the retry timer.
1693
1694.It set ns x.x.x.x

--- 289 unchanged lines hidden ---