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