##### # /etc/ppp/options to dial-in to University of Michigan ITD dial-in service # # Eric Myers , Dept. of Physics, Univ. of Michigan # @(#) $Id: options,v 1.3 2000/02/26 05:14:05 myers Exp myers $ # # Use the command egrep -v '^#|^ *$' /etc/ppp/options # to quickly see what options are active in this file. ###################################################################### # Set debug to log to syslog at level "debug" (this produces lots of # output, so don't select it unless you have a problem you need to trace). debug # turn on kernel debugging too, if necessary #kdebug 0 # Request that the peer compress packets that it sends, using the # BSD-Compress scheme, with a maximum code size of nr bits, and agree # to compress packets sent to the peer with a maximum code size of nt # bits. If nt is not specified, it defaults to the value given for nr. # Values in the range 9 to 15 may be used for nr and nt; larger values # give better compression but consume more kernel memory for compression # dictionaries. Alternatively, a value of 0 for nr or nt disables # compression in the corresponding direction. #bsdcomp 9,9 # Disables BSD compression; pppd will not request or agree to compress # packets using the BSD-Compress scheme. # Seems to be needed for "slow" modems (9600 or 14,400 baud) -bsdcomp # async character map -- 32-bit hex; each bit is a character that needs # to be escaped for pppd to receive it. To protect XON (^Q) and XOFF # (^S), use asyncmap a0000. If you use telnet, you probably should # escape ^] as well (asyncmap 200A0000). asyncmap 200A0000 # Escape specifies that certain characters should be escaped on # transmission (regardless of whether the peer requests them to be # escaped with its async control character map). The characters to be # escaped are specified as a list of hex numbers separated by commas. # Note that almost any character can be specified for the escape option, # unlike the asyncmap option which only allows control characters to be # specified. The characters which may not be escaped are those with hex # values 0x20 - 0x3f or 0x5e. # If you use rlogin, you will need to escape ff since many rlogin # implementations are not transparent; they will remove the sequence # [0xff, 0xff, 0x73, 0x73, followed by any 8 bytes] from the stream. # Note: this caused flow control problems for me at 9600 baud -EAM 1998/09/01 #escape ff # Set the MRU [Maximum Receive Unit] value to for negotiation. pppd # will ask the peer to send packets of no more than bytes. The # minimum MRU value is 128. The default MRU value is 1500. A value of # 296 is recommended for slow links (40 bytes for TCP/IP header + 256 # bytes of data). mru 296 # Set the MTU [Maximum Transmit Unit] value to . Unless the peer # requests a smaller value via MRU negotiation, pppd will request that # the kernel networking code send data packets of no more than n bytes # through the PPP network interface. #mtu 296 # If this option is given, pppd will send an LCP echo-request frame to # the peer every n seconds. Under Linux, the echo-request is sent when # no packets have been received from the peer for n seconds. Normally # the peer should respond to the echo-request by sending an echo-reply. # This option can be used with the lcp-echo-failure option to detect # that the peer is no longer connected. lcp-echo-interval 30 # If this option is given, pppd will presume the peer to be dead if n # LCP echo-requests are sent without receiving a valid LCP echo-reply. # If this happens, pppd will terminate the connection. Use of this # option requires a non-zero value for the lcp-echo-interval parameter. # This option can be used to enable pppd to terminate after the physical # connection has been broken (e.g., the modem has hung up) in # situations where no hardware modem control lines are available. lcp-echo-failure 4 # Don't agree to authenticate using PAP. -pap # Don't agree to authenticate using CHAP. -chap # Don't require authentication. This is the default if there is # no default route, but we include it here in case there is. noauth # Add a default route to the system routing tables, using the peer as # the gateway, when IPCP negotiation is successfully completed. The # entry is removed when the PPP connection is broken. # (This seems not to have any effect if there is already a default # route. In that case you may want to use ip-up to set the right default.) defaultroute # Disables the default behaviour when no local IP address is specified, # which is to determine (if possible) the local IP address from the # hostname. With this option, the peer will have to supply the local IP # address during IPCP negotiation (unless it specified explicitly on the # command line or in an options file). noipdefault # Specifies that pppd should use a UUCP-style lock on the serial device # to ensure exclusive access to the device. lock # Use the modem control lines. modem # Use hardware flow control (i.e. RTS/CTS) to control the flow of data # on the serial port. crtscts # Run the executable or shell command specified after pppd has # terminated the link. This can hang up the modem #disconnect "chat -- \d+++\d\c OK ath0 OK" ##EOF