| 1 | # /etc/ppp/options |
|---|
| 2 | # |
|---|
| 3 | # Originally created by Jim Knoble <jmknoble@mercury.interpath.net> |
|---|
| 4 | # Modified for Debian by alvar Bray <alvar@meiko.co.uk> |
|---|
| 5 | # Modified for PPP Server setup by Christoph Lameter <clameter@debian.org> |
|---|
| 6 | # |
|---|
| 7 | # To quickly see what options are active in this file, use this command: |
|---|
| 8 | # egrep -v '#|^ *$' /etc/ppp/options |
|---|
| 9 | |
|---|
| 10 | # Specify which DNS Servers the incoming Win95 or WinNT Connection should use |
|---|
| 11 | # Two Servers can be remotely configured |
|---|
| 12 | # ms-dns 192.168.1.1 |
|---|
| 13 | # ms-dns 192.168.1.2 |
|---|
| 14 | |
|---|
| 15 | # Specify which WINS Servers the incoming connection Win95 or WinNT should use |
|---|
| 16 | # ms-wins 192.168.1.50 |
|---|
| 17 | # ms-wins 192.168.1.51 |
|---|
| 18 | |
|---|
| 19 | # Run the executable or shell command specified after pppd has |
|---|
| 20 | # terminated the link. This script could, for example, issue commands |
|---|
| 21 | # to the modem to cause it to hang up if hardware modem control signals |
|---|
| 22 | # were not available. |
|---|
| 23 | disconnect "chat -- \d+++\d\c OK ath0 OK" |
|---|
| 24 | |
|---|
| 25 | # async character map -- 32-bit hex; each bit is a character |
|---|
| 26 | # that needs to be escaped for pppd to receive it. 0x00000001 |
|---|
| 27 | # represents '\x01', and 0x80000000 represents '\x1f'. |
|---|
| 28 | #asyncmap 0 |
|---|
| 29 | |
|---|
| 30 | # Require the peer to authenticate itself before allowing network |
|---|
| 31 | # packets to be sent or received. |
|---|
| 32 | # Please do not disable this setting. It is expected to be standard in |
|---|
| 33 | # future releases of pppd. Use the call option (see manpage) to disable |
|---|
| 34 | # authentication for specific peers. |
|---|
| 35 | # auth |
|---|
| 36 | |
|---|
| 37 | # Use hardware flow control (i.e. RTS/CTS) to control the flow of data |
|---|
| 38 | # on the serial port. |
|---|
| 39 | #crtscts |
|---|
| 40 | |
|---|
| 41 | # Use software flow control (i.e. XON/XOFF) to control the flow of data |
|---|
| 42 | # on the serial port. |
|---|
| 43 | # xonxoff |
|---|
| 44 | |
|---|
| 45 | # Specifies that certain characters should be escaped on transmission |
|---|
| 46 | # (regardless of whether the peer requests them to be escaped with its |
|---|
| 47 | # async control character map). The characters to be escaped are |
|---|
| 48 | # specified as a list of hex numbers separated by commas. Note that |
|---|
| 49 | # almost any character can be specified for the escape option, unlike |
|---|
| 50 | # the asyncmap option which only allows control characters to be |
|---|
| 51 | # specified. The characters which may not be escaped are those with hex |
|---|
| 52 | # values 0x20 - 0x3f or 0x5e. |
|---|
| 53 | #escape 11,13,ff |
|---|
| 54 | |
|---|
| 55 | # Don't use the modem control lines. |
|---|
| 56 | #local |
|---|
| 57 | |
|---|
| 58 | # Specifies that pppd should use a UUCP-style lock on the serial device |
|---|
| 59 | # to ensure exclusive access to the device. |
|---|
| 60 | lock |
|---|
| 61 | |
|---|
| 62 | # Don't show the passwords when logging the contents of PAP packets. |
|---|
| 63 | # This is the default. |
|---|
| 64 | hide-password |
|---|
| 65 | |
|---|
| 66 | # When logging the contents of PAP packets, this option causes pppd to |
|---|
| 67 | # show the password string in the log message. |
|---|
| 68 | #show-password |
|---|
| 69 | |
|---|
| 70 | # Use the modem control lines. On Ultrix, this option implies hardware |
|---|
| 71 | # flow control, as for the crtscts option. (This option is not fully |
|---|
| 72 | # implemented.) |
|---|
| 73 | modem |
|---|
| 74 | |
|---|
| 75 | # Set the MRU [Maximum Receive Unit] value to <n> for negotiation. pppd |
|---|
| 76 | # will ask the peer to send packets of no more than <n> bytes. The |
|---|
| 77 | # minimum MRU value is 128. The default MRU value is 1500. A value of |
|---|
| 78 | # 296 is recommended for slow links (40 bytes for TCP/IP header + 256 |
|---|
| 79 | # bytes of data). |
|---|
| 80 | #mru 542 |
|---|
| 81 | |
|---|
| 82 | # Set the interface netmask to <n>, a 32 bit netmask in "decimal dot" |
|---|
| 83 | # notation (e.g. 255.255.255.0). |
|---|
| 84 | #netmask 255.255.255.0 |
|---|
| 85 | |
|---|
| 86 | # Disables the default behaviour when no local IP address is specified, |
|---|
| 87 | # which is to determine (if possible) the local IP address from the |
|---|
| 88 | # hostname. With this option, the peer will have to supply the local IP |
|---|
| 89 | # address during IPCP negotiation (unless it specified explicitly on the |
|---|
| 90 | # command line or in an options file). |
|---|
| 91 | #noipdefault |
|---|
| 92 | |
|---|
| 93 | # Enables the "passive" option in the LCP. With this option, pppd will |
|---|
| 94 | # attempt to initiate a connection; if no reply is received from the |
|---|
| 95 | # peer, pppd will then just wait passively for a valid LCP packet from |
|---|
| 96 | # the peer (instead of exiting, as it does without this option). |
|---|
| 97 | #passive |
|---|
| 98 | |
|---|
| 99 | # With this option, pppd will not transmit LCP packets to initiate a |
|---|
| 100 | # connection until a valid LCP packet is received from the peer (as for |
|---|
| 101 | # the "passive" option with old versions of pppd). |
|---|
| 102 | #silent |
|---|
| 103 | |
|---|
| 104 | # Don't request or allow negotiation of any options for LCP and IPCP |
|---|
| 105 | # (use default values). |
|---|
| 106 | #-all |
|---|
| 107 | |
|---|
| 108 | # Disable Address/Control compression negotiation (use default, i.e. |
|---|
| 109 | # address/control field disabled). |
|---|
| 110 | #-ac |
|---|
| 111 | |
|---|
| 112 | # Disable asyncmap negotiation (use the default asyncmap, i.e. escape |
|---|
| 113 | # all control characters). |
|---|
| 114 | -am |
|---|
| 115 | |
|---|
| 116 | # Don't fork to become a background process (otherwise pppd will do so |
|---|
| 117 | # if a serial device is specified). |
|---|
| 118 | #-detach |
|---|
| 119 | |
|---|
| 120 | # Disable IP address negotiation (with this option, the remote IP |
|---|
| 121 | # address must be specified with an option on the command line or in |
|---|
| 122 | # an options file). |
|---|
| 123 | #-ip |
|---|
| 124 | |
|---|
| 125 | # Disable IPCP negotiation and IP communication. This option should |
|---|
| 126 | # only be required if the peer is buggy and gets confused by requests |
|---|
| 127 | # from pppd for IPCP negotiation. |
|---|
| 128 | #noip |
|---|
| 129 | |
|---|
| 130 | # Disable magic number negotiation. With this option, pppd cannot |
|---|
| 131 | # detect a looped-back line. |
|---|
| 132 | #-mn |
|---|
| 133 | |
|---|
| 134 | # Disable MRU [Maximum Receive Unit] negotiation (use default, i.e. |
|---|
| 135 | # 1500). |
|---|
| 136 | #-mru |
|---|
| 137 | |
|---|
| 138 | # Disable protocol field compression negotiation (use default, i.e. |
|---|
| 139 | # protocol field compression disabled). |
|---|
| 140 | #-pc |
|---|
| 141 | |
|---|
| 142 | # Require the peer to authenticate itself using PAP. |
|---|
| 143 | #+pap |
|---|
| 144 | |
|---|
| 145 | # Don't agree to authenticate using PAP. |
|---|
| 146 | #-pap |
|---|
| 147 | |
|---|
| 148 | # Require the peer to authenticate itself using CHAP [Cryptographic |
|---|
| 149 | # Handshake Authentication Protocol] authentication. |
|---|
| 150 | #+chap |
|---|
| 151 | |
|---|
| 152 | # Don't agree to authenticate using CHAP. |
|---|
| 153 | #-chap |
|---|
| 154 | |
|---|
| 155 | # Disable negotiation of Van Jacobson style IP header compression (use |
|---|
| 156 | # default, i.e. no compression). |
|---|
| 157 | #-vj |
|---|
| 158 | |
|---|
| 159 | # Increase debugging level (same as -d). If this option is given, pppd |
|---|
| 160 | # will log the contents of all control packets sent or received in a |
|---|
| 161 | # readable form. The packets are logged through syslog with facility |
|---|
| 162 | # daemon and level debug. This information can be directed to a file by |
|---|
| 163 | # setting up /etc/syslog.conf appropriately (see syslog.conf(5)). (If |
|---|
| 164 | # pppd is compiled with extra debugging enabled, it will log messages |
|---|
| 165 | # using facility local2 instead of daemon). |
|---|
| 166 | #debug |
|---|
| 167 | |
|---|
| 168 | # Append the domain name <d> to the local host name for authentication |
|---|
| 169 | # purposes. For example, if gethostname() returns the name porsche, |
|---|
| 170 | # but the fully qualified domain name is porsche.Quotron.COM, you would |
|---|
| 171 | # use the domain option to set the domain name to Quotron.COM. |
|---|
| 172 | #domain <d> |
|---|
| 173 | |
|---|
| 174 | # Enable debugging code in the kernel-level PPP driver. The argument n |
|---|
| 175 | # is a number which is the sum of the following values: 1 to enable |
|---|
| 176 | # general debug messages, 2 to request that the contents of received |
|---|
| 177 | # packets be printed, and 4 to request that the contents of transmitted |
|---|
| 178 | # packets be printed. |
|---|
| 179 | #kdebug n |
|---|
| 180 | |
|---|
| 181 | # Set the MTU [Maximum Transmit Unit] value to <n>. Unless the peer |
|---|
| 182 | # requests a smaller value via MRU negotiation, pppd will request that |
|---|
| 183 | # the kernel networking code send data packets of no more than n bytes |
|---|
| 184 | # through the PPP network interface. |
|---|
| 185 | #mtu <n> |
|---|
| 186 | |
|---|
| 187 | # Set the name of the local system for authentication purposes to <n>. |
|---|
| 188 | # This is a privileged option. With this option, pppd will use lines in the |
|---|
| 189 | # secrets files which have <n> as the second field when looking for a |
|---|
| 190 | # secret to use in authenticating the peer. In addition, unless overridden |
|---|
| 191 | # with the user option, <n> will be used as the name to send to the peer |
|---|
| 192 | # when authenticating the local system to the peer. (Note that pppd does |
|---|
| 193 | # not append the domain name to <n>.) |
|---|
| 194 | #name <n> |
|---|
| 195 | |
|---|
| 196 | # Enforce the use of the hostname as the name of the local system for |
|---|
| 197 | # authentication purposes (overrides the name option). |
|---|
| 198 | #usehostname |
|---|
| 199 | |
|---|
| 200 | # Set the assumed name of the remote system for authentication purposes |
|---|
| 201 | # to <n>. |
|---|
| 202 | #remotename <n> |
|---|
| 203 | |
|---|
| 204 | # Add an entry to this system's ARP [Address Resolution Protocol] |
|---|
| 205 | # table with the IP address of the peer and the Ethernet address of this |
|---|
| 206 | # system. |
|---|
| 207 | proxyarp |
|---|
| 208 | |
|---|
| 209 | # Use the system password database for authenticating the peer using |
|---|
| 210 | # PAP. Note: mgetty already provides this option. If this is specified |
|---|
| 211 | # then dialin from users using a script under Linux to fire up ppp wont work. |
|---|
| 212 | # login |
|---|
| 213 | |
|---|
| 214 | # If this option is given, pppd will send an LCP echo-request frame to the |
|---|
| 215 | # peer every n seconds. Normally the peer should respond to the echo-request |
|---|
| 216 | # by sending an echo-reply. This option can be used with the |
|---|
| 217 | # lcp-echo-failure option to detect that the peer is no longer connected. |
|---|
| 218 | #lcp-echo-interval 30 |
|---|
| 219 | |
|---|
| 220 | # If this option is given, pppd will presume the peer to be dead if n |
|---|
| 221 | # LCP echo-requests are sent without receiving a valid LCP echo-reply. |
|---|
| 222 | # If this happens, pppd will terminate the connection. Use of this |
|---|
| 223 | # option requires a non-zero value for the lcp-echo-interval parameter. |
|---|
| 224 | # This option can be used to enable pppd to terminate after the physical |
|---|
| 225 | # connection has been broken (e.g., the modem has hung up) in |
|---|
| 226 | # situations where no hardware modem control lines are available. |
|---|
| 227 | #lcp-echo-failure 4 |
|---|
| 228 | |
|---|
| 229 | # Set the LCP restart interval (retransmission timeout) to <n> seconds |
|---|
| 230 | # (default 3). |
|---|
| 231 | #lcp-restart <n> |
|---|
| 232 | |
|---|
| 233 | # Set the maximum number of LCP terminate-request transmissions to <n> |
|---|
| 234 | # (default 3). |
|---|
| 235 | #lcp-max-terminate <n> |
|---|
| 236 | |
|---|
| 237 | # Set the maximum number of LCP configure-request transmissions to <n> |
|---|
| 238 | # (default 10). |
|---|
| 239 | #lcp-max-configure <n> |
|---|
| 240 | |
|---|
| 241 | # Set the maximum number of LCP configure-NAKs returned before starting |
|---|
| 242 | # to send configure-Rejects instead to <n> (default 10). |
|---|
| 243 | #lcp-max-failure <n> |
|---|
| 244 | |
|---|
| 245 | # Set the IPCP restart interval (retransmission timeout) to <n> |
|---|
| 246 | # seconds (default 3). |
|---|
| 247 | #ipcp-restart <n> |
|---|
| 248 | |
|---|
| 249 | # Set the maximum number of IPCP terminate-request transmissions to <n> |
|---|
| 250 | # (default 3). |
|---|
| 251 | #ipcp-max-terminate <n> |
|---|
| 252 | |
|---|
| 253 | # Set the maximum number of IPCP configure-request transmissions to <n> |
|---|
| 254 | # (default 10). |
|---|
| 255 | #ipcp-max-configure <n> |
|---|
| 256 | |
|---|
| 257 | # Set the maximum number of IPCP configure-NAKs returned before starting |
|---|
| 258 | # to send configure-Rejects instead to <n> (default 10). |
|---|
| 259 | #ipcp-max-failure <n> |
|---|
| 260 | |
|---|
| 261 | # Set the PAP restart interval (retransmission timeout) to <n> seconds |
|---|
| 262 | # (default 3). |
|---|
| 263 | #pap-restart <n> |
|---|
| 264 | |
|---|
| 265 | # Set the maximum number of PAP authenticate-request transmissions to |
|---|
| 266 | # <n> (default 10). |
|---|
| 267 | #pap-max-authreq <n> |
|---|
| 268 | |
|---|
| 269 | # Set the maximum time that pppd will wait for the peer to authenticate |
|---|
| 270 | # itself with PAP to <n> seconds (0 means no limit). |
|---|
| 271 | #pap-timeout <n> |
|---|
| 272 | |
|---|
| 273 | # Set the CHAP restart interval (retransmission timeout for |
|---|
| 274 | # challenges) to <n> seconds (default 3). |
|---|
| 275 | #chap-restart <n> |
|---|
| 276 | |
|---|
| 277 | # Set the maximum number of CHAP challenge transmissions to <n> |
|---|
| 278 | # (default 10). |
|---|
| 279 | #chap-max-challenge |
|---|
| 280 | |
|---|
| 281 | # If this option is given, pppd will rechallenge the peer every <n> |
|---|
| 282 | # seconds. |
|---|
| 283 | #chap-interval <n> |
|---|
| 284 | |
|---|
| 285 | # With this option, pppd will accept the peer's idea of our local IP |
|---|
| 286 | # address, even if the local IP address was specified in an option. |
|---|
| 287 | #ipcp-accept-local |
|---|
| 288 | |
|---|
| 289 | # With this option, pppd will accept the peer's idea of its (remote) IP |
|---|
| 290 | # address, even if the remote IP address was specified in an option. |
|---|
| 291 | ipcp-accept-remote |
|---|
| 292 | |
|---|
| 293 | # Disable the IPXCP and IPX protocols. |
|---|
| 294 | # To let pppd pass IPX packets comment this out --- you'll probably also |
|---|
| 295 | # want to install ipxripd, and have the Internal IPX Network option enabled |
|---|
| 296 | # in your kernel. /usr/doc/HOWTO/IPX-HOWTO.gz contains more info. |
|---|
| 297 | # noipx |
|---|
| 298 | |
|---|
| 299 | # Exit once a connection has been made and terminated. This is the default, |
|---|
| 300 | # unless the `persist' or `demand' option has been specified. |
|---|
| 301 | #nopersist |
|---|
| 302 | |
|---|
| 303 | # Do not exit after a connection is terminated; instead try to reopen |
|---|
| 304 | # the connection. |
|---|
| 305 | #persist |
|---|
| 306 | |
|---|
| 307 | # Terminate after n consecutive failed connection attempts. |
|---|
| 308 | # A value of 0 means no limit. The default value is 10. |
|---|
| 309 | #maxfail <n> |
|---|
| 310 | |
|---|
| 311 | # Initiate the link only on demand, i.e. when data traffic is present. |
|---|
| 312 | # With this option, the remote IP address must be specified by the user on |
|---|
| 313 | # the command line or in an options file. Pppd will initially configure |
|---|
| 314 | # the interface and enable it for IP traffic without connecting to the peer. |
|---|
| 315 | # When traffic is available, pppd will connect to the peer and perform |
|---|
| 316 | # negotiation, authentication, etc. When this is completed, pppd will |
|---|
| 317 | # commence passing data packets (i.e., IP packets) across the link. |
|---|
| 318 | #demand |
|---|
| 319 | |
|---|
| 320 | # Specifies that pppd should disconnect if the link is idle for <n> seconds. |
|---|
| 321 | # The link is idle when no data packets (i.e. IP packets) are being sent or |
|---|
| 322 | # received. Note: it is not advisable to use this option with the persist |
|---|
| 323 | # option without the demand option. If the active-filter option is given, |
|---|
| 324 | # data packets which are rejected by the specified activity filter also |
|---|
| 325 | # count as the link being idle. |
|---|
| 326 | #idle <n> |
|---|
| 327 | |
|---|
| 328 | # Specifies how many seconds to wait before re-initiating the link after |
|---|
| 329 | # it terminates. This option only has any effect if the persist or demand |
|---|
| 330 | # option is used. The holdoff period is not applied if the link was |
|---|
| 331 | # terminated because it was idle. |
|---|
| 332 | #holdoff <n> |
|---|
| 333 | |
|---|
| 334 | # Wait for up n milliseconds after the connect script finishes for a valid |
|---|
| 335 | # PPP packet from the peer. At the end of this time, or when a valid PPP |
|---|
| 336 | # packet is received from the peer, pppd will commence negotiation by |
|---|
| 337 | # sending its first LCP packet. The default value is 1000 (1 second). |
|---|
| 338 | # This wait period only applies if the connect or pty option is used. |
|---|
| 339 | #connect-delay <n> |
|---|
| 340 | |
|---|
| 341 | # Packet filtering: for more information, see pppd(8) |
|---|
| 342 | # Any packets matching the filter expression will be interpreted as link |
|---|
| 343 | # activity, and will cause a "demand" connection to be activated, and reset |
|---|
| 344 | # the idle connection timer. (idle option) |
|---|
| 345 | # The filter expression is akin to that of tcpdump(1) |
|---|
| 346 | #active-filter <filter-expression> |
|---|
| 347 | |
|---|
| 348 | # ---<End of File>--- |
|---|