ppp.8 (15738) | ppp.8 (18752) |
---|---|
1.\" manual page [] for ppp 0.94 beta2 + alpha | 1.\" manual page [] for ppp 0.94 beta2 + alpha |
2.\" $Id: ppp.8,v 1.16 1996/05/02 19:18:47 mpp Exp $ | 2.\" $Id: ppp.8,v 1.17 1996/05/11 20:48:40 phk Exp $ |
3.Dd 20 September 1995 4.Os FreeBSD 5.Dt PPP 8 6.Sh NAME 7.Nm ppp 8.Nd | 3.Dd 20 September 1995 4.Os FreeBSD 5.Dt PPP 8 6.Sh NAME 7.Nm ppp 8.Nd |
9Point to Point Protocol (aka iijppp) | 9Point to Point Protocol (aka iijppp) |
10.Sh SYNOPSIS 11.Nm 12.Op Fl auto | Fl direct | Fl dedicated 13.Op Ar system 14.Sh DESCRIPTION 15This is a user process 16.Em PPP 17software package. Normally, --- 37 unchanged lines hidden (view full) --- 55 56.It Supports server-side PPP connections. 57Can act as server which accepts incoming 58.Em PPP 59connections. 60 61.It Supports PAP and CHAP authentication. 62 | 10.Sh SYNOPSIS 11.Nm 12.Op Fl auto | Fl direct | Fl dedicated 13.Op Ar system 14.Sh DESCRIPTION 15This is a user process 16.Em PPP 17software package. Normally, --- 37 unchanged lines hidden (view full) --- 55 56.It Supports server-side PPP connections. 57Can act as server which accepts incoming 58.Em PPP 59connections. 60 61.It Supports PAP and CHAP authentication. 62 |
63 | |
64.It Supports Proxy Arp. 65When 66.Em PPP 67is set up as server, you can also configure it to do proxy arp for your 68connection. 69 70.It Supports packet filtering. 71User can define four kinds of filters: --- 24 unchanged lines hidden (view full) --- 96While this is generally a good thing in most other situations, this 97higher speed data imposes a penalty on the system by increasing the 98number of serial interrupts the system has to process in talking to the 99modem and also increases latency. Unlike VJ-compression, Predictor-1 100compression pre-compresses 101.Em all 102data flowing through the link, thus reducing overhead to a minimum. 103 | 63.It Supports Proxy Arp. 64When 65.Em PPP 66is set up as server, you can also configure it to do proxy arp for your 67connection. 68 69.It Supports packet filtering. 70User can define four kinds of filters: --- 24 unchanged lines hidden (view full) --- 95While this is generally a good thing in most other situations, this 96higher speed data imposes a penalty on the system by increasing the 97number of serial interrupts the system has to process in talking to the 98modem and also increases latency. Unlike VJ-compression, Predictor-1 99compression pre-compresses 100.Em all 101data flowing through the link, thus reducing overhead to a minimum. 102 |
103.It Supports Microsofts IPCP extentions. 104Name Server Addresses and NetBIOS Name Server Addresses can be negotiated 105with clients using the Microsoft 106.Em PPP 107stack (ie. Win95, WinNT) 108 |
|
104.It Runs under BSDI-1.1 and FreeBSD. 105 106.El 107 108 109Patches for NeXTSTEP 3.2 are also available on the net. 110 111.Sh GETTING STARTED --- 304 unchanged lines hidden (view full) --- 416to flush all rules. 417 418.El 419 420See 421.Pa /etc/ppp/ppp.conf.filter.example . 422 423 | 109.It Runs under BSDI-1.1 and FreeBSD. 110 111.El 112 113 114Patches for NeXTSTEP 3.2 are also available on the net. 115 116.Sh GETTING STARTED --- 304 unchanged lines hidden (view full) --- 421to flush all rules. 422 423.El 424 425See 426.Pa /etc/ppp/ppp.conf.filter.example . 427 428 |
424.Sh RECEIVING INCOMING PPP CONNECTIONS | 429.Sh RECEIVING INCOMING PPP CONNECTIONS (Method 1) |
425 426To handle an incoming 427.Em PPP 428connection request, follow these steps: 429 430.Bl -enum 431.It 432Make sure the modem and (optionally) --- 31 unchanged lines hidden (view full) --- 464file with the following contents: 465.Bd -literal -offset indent 466#!/bin/sh 467/usr/sbin/ppp -direct 468.Ed 469 470(You can specify a label name for further control.) 471 | 430 431To handle an incoming 432.Em PPP 433connection request, follow these steps: 434 435.Bl -enum 436.It 437Make sure the modem and (optionally) --- 31 unchanged lines hidden (view full) --- 469file with the following contents: 470.Bd -literal -offset indent 471#!/bin/sh 472/usr/sbin/ppp -direct 473.Ed 474 475(You can specify a label name for further control.) 476 |
472.El 473 | |
474.Pp 475Direct mode ( 476.Fl direct ) 477lets 478.Nm 479work with stdin and stdout. You can also telnet to port 3000 to get 480command mode control in the same manner as client-side | 477.Pp 478Direct mode ( 479.Fl direct ) 480lets 481.Nm 482work with stdin and stdout. You can also telnet to port 3000 to get 483command mode control in the same manner as client-side |
481.Nm . | 484.Nm. |
482 | 485 |
486.It 487Optional support for Microsoft's IPCP Name Server and NetBIOS 488Name Server negotiation can be enabled use 489.Dq enable msext 490and 491.Dq set ns pri-addr [sec-addr] 492along with 493.Dq set nbns pri-addr [sec-addr] 494in your ppp.conf file 495 496.El 497 498.Sh RECEIVING INCOMING PPP CONNECTIONS (Method 2) 499 500This method differs in that it recommends the use of 501.Em mgetty+sendfax 502to handle the modem connections. The latest version 0.99 503can be compiled with the 504.Dq AUTO_PPP 505option to allow detection of clients speaking PPP to the login 506prompt. 507 508Follow these steps: 509 510.Bl -enum 511.It 512Get, configure, and install mgetty+sendfax v0.99 or later (beta) 513making sure you have used the AUTO_PPP option. 514.It 515Edit 516.Pa /etc/ttys 517to enable a mgetty on the port where the modem is attached. 518 519For example: 520 521.Dl cuaa1 "/usr/local/sbin/mgetty -s 57600" dialup on 522 523.It 524Prepare an account for the incoming user. 525.Bd -literal 526Pfred:xxxx:66:66:Fred's PPP:/home/ppp:/etc/ppp/ppp-dialup 527.Ed 528 529.It 530Examine the files 531.Pa /etc/ppp/sample.ppp-dialup 532.Pa /etc/ppp/sample.ppp-pap-dialup 533and 534.Pa /etc/ppp/sample.ppp.conf 535for ideas. ppp-pap-dialup is supposed to be called from 536.Pa /usr/local/etc/mgetty+sendfax/login.conf 537from a line like 538 539.Dl /AutoPPP/ - - /etc/ppp/ppp-pap-dialup 540 |
|
483.Sh SETTING IDLE, LINE QUALITY REQUEST, RETRY TIMER 484 485To check/set idletimer, use the 486.Dq show timeout 487and 488.Dq set timeout [lqrtimer [retrytimer]] 489commands. 490 --- 266 unchanged lines hidden --- | 541.Sh SETTING IDLE, LINE QUALITY REQUEST, RETRY TIMER 542 543To check/set idletimer, use the 544.Dq show timeout 545and 546.Dq set timeout [lqrtimer [retrytimer]] 547commands. 548 --- 266 unchanged lines hidden --- |