ppp-options 13 KB

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