Advertisement
Dj_Dexter

pppoe-conf

Mar 27th, 2012
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.90 KB | None | 0 0
  1. #***********************************************************************
  2. #
  3. # pppoe.conf
  4. #
  5. # Configuration file for rp-pppoe. Edit as appropriate and install in
  6. # /etc/ppp/pppoe.conf
  7. #
  8. # NOTE: This file is used by the pppoe-start, pppoe-stop, pppoe-connect and
  9. # pppoe-status shell scripts. It is *not* used in any way by the
  10. # "pppoe" executable.
  11. #
  12. # Copyright (C) 2000 Roaring Penguin Software Inc.
  13. #
  14. # This file may be distributed under the terms of the GNU General
  15. # Public License.
  16. #
  17. # LIC: GPL
  18. # $Id: pppoe.conf,v 1.11 2005/08/09 02:49:12 dfs Exp $
  19. #***********************************************************************
  20.  
  21. # When you configure a variable, DO NOT leave spaces around the "=" sign.
  22.  
  23. # Ethernet card connected to DSL modem
  24. #
  25. # NB: Gentoo overrides ETH when pppoe-start is called from the
  26. # networking scripts. This setting has no effect in that case.
  27. ETH='eth0'
  28.  
  29. # PPPoE user name. You may have to supply "@provider.com" Sympatico
  30. # users in Canada do need to include "@sympatico.ca"
  31. # Sympatico uses PAP authentication. Make sure /etc/ppp/pap-secrets
  32. # contains the right username/password combination.
  33. # For Magma, use xxyyzz@magma.ca
  34. USER='user_specify'
  35.  
  36. # Bring link up on demand? Default is to leave link up all the time.
  37. # If you want the link to come up on demand, set DEMAND to a number indicating
  38. # the idle time after which the link is brought down.
  39. DEMAND=no
  40. #DEMAND=300
  41.  
  42. # DNS type: SERVER=obtain from server; SPECIFY=use DNS1 and DNS2;
  43. # NOCHANGE=do not adjust.
  44. DNSTYPE=SPECIFY
  45.  
  46. # Obtain DNS server addresses from the peer (recent versions of pppd only)
  47. # In old config files, this used to be called USEPEERDNS. Changed to
  48. # PEERDNS for better Red Hat compatibility
  49. PEERDNS=no
  50.  
  51. DNS1=8.8.8.8
  52. DNS2=8.8.4.4
  53.  
  54. # Make the PPPoE connection your default route. Set to
  55. # DEFAULTROUTE=no if you don't want this.
  56. DEFAULTROUTE=yes
  57.  
  58. ### ONLY TOUCH THE FOLLOWING SETTINGS IF YOU'RE AN EXPERT
  59.  
  60. # How long pppoe-start waits for a new PPP interface to appear before
  61. # concluding something went wrong. If you use 0, then pppoe-start
  62. # exits immediately with a successful status and does not wait for the
  63. # link to come up. Time is in seconds.
  64. #
  65. # WARNING WARNING WARNING:
  66. #
  67. # If you are using rp-pppoe on a physically-inaccessible host, set
  68. # CONNECT_TIMEOUT to 0. This makes SURE that the machine keeps trying
  69. # to connect forever after pppoe-start is called. Otherwise, it will
  70. # give out after CONNECT_TIMEOUT seconds and will not attempt to
  71. # connect again, making it impossible to reach.
  72. CONNECT_TIMEOUT=30
  73.  
  74. # How often in seconds pppoe-start polls to check if link is up
  75. CONNECT_POLL=2
  76.  
  77. # Specific desired AC Name
  78. ACNAME=BRAS2-1201.gtdinternet.com
  79.  
  80. # Specific desired service name
  81. SERVICENAME=
  82.  
  83. # Character to echo at each poll. Use PING="" if you don't want
  84. # anything echoed
  85. PING="."
  86.  
  87. # File where the pppoe-connect script writes its process-ID.
  88. # Three files are actually used:
  89. # $PIDFILE contains PID of pppoe-connect script
  90. # $PIDFILE.pppoe contains PID of pppoe process
  91. # $PIDFILE.pppd contains PID of pppd process
  92. #
  93. # NB: Gentoo overrides PIDFILE when pppoe-start is run from the
  94. # networking scripts. This setting has no effect in that case.
  95. PIDFILE="/var/run/$CF_BASE-pppoe.pid"
  96.  
  97. # Do you want to use synchronous PPP? "yes" or "no". "yes" is much
  98. # easier on CPU usage, but may not work for you. It is safer to use
  99. # "no", but you may want to experiment with "yes". "yes" is generally
  100. # safe on Linux machines with the n_hdlc line discipline; unsafe on others.
  101. SYNCHRONOUS=no
  102.  
  103. # Do you want to clamp the MSS? Here's how to decide:
  104. # - If you have only a SINGLE computer connected to the DSL modem, choose
  105. # "no".
  106. # - If you have a computer acting as a gateway for a LAN, choose "1412".
  107. # The setting of 1412 is safe for either setup, but uses slightly more
  108. # CPU power.
  109. #CLAMPMSS=1412
  110. CLAMPMSS=no
  111.  
  112. # LCP echo interval and failure count.
  113. LCP_INTERVAL=20
  114. LCP_FAILURE=3
  115. #LCP_FAILURE=10
  116.  
  117. # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL
  118. PPPOE_TIMEOUT=80
  119.  
  120. # Firewalling: One of NONE, STANDALONE or MASQUERADE
  121. FIREWALL=NONE
  122.  
  123. # Linux kernel-mode plugin for pppd. If you want to try the kernel-mode
  124. # plugin, use LINUX_PLUGIN=rp-pppoe.so
  125. LINUX_PLUGIN=
  126.  
  127. # Any extra arguments to pass to pppoe. Normally, use a blank string
  128. # like this:
  129. PPPOE_EXTRA=""
  130.  
  131. # Rumour has it that "Citizen's Communications" with a 3Com
  132. # HomeConnect DSL Modem DualLink requires these extra options:
  133. #PPPOE_EXTRA="-f 3c12:3c13 -S ISP"
  134.  
  135. # Any extra arguments to pass to pppd. Normally, use a blank string
  136. # like this:
  137. PPPD_EXTRA="persist passive mru 1454 mtu 1452"
  138.  
  139.  
  140. ########## DON'T CHANGE BELOW UNLESS YOU KNOW WHAT YOU ARE DOING
  141. # If you wish to COMPLETELY overrride the pppd invocation:
  142. # Example:
  143. # OVERRIDE_PPPD_COMMAND="pppd call dsl"
  144.  
  145. # If you want pppoe-connect to exit when connection drops:
  146. RETRY_ON_FAILURE=yes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement