summaryrefslogtreecommitdiff
path: root/man/pppoe.conf.5 (plain)
blob: 58f77ca84d3e366a9250511942221c389a197c09
1.\" LIC: GPL
2.TH PPPOE.CONF 5 "21 February 2000"
3.UC 4
4.SH NAME
5pppoe.conf \- Configuration file used by \fBpppoe-start\fR(8),
6\fBpppoe-stop\fR(8), \fBpppoe-status(8)\fR and \fBpppoe-connect\fR(8).
7
8.SH DESCRIPTION
9\fB/etc/ppp/pppoe.conf\fR is a shell script which contains configuration
10information for Roaring Penguin's PPPoE scripts. Note that \fBpppoe.conf\fR
11is used only by the various pppoe-* shell scripts, not by \fBpppoe\fR
12itself.
13
14\fBpppoe.conf\fR consists of a sequence of shell variable assignments.
15The variables and their meanings are:
16
17.TP
18.B ETH
19The Ethernet interface connected to the DSL modem (for example, eth0).
20
21.TP
22.B USER
23The PPPoE user-id (for example, b1xxnxnx@sympatico.ca).
24
25.TP
26.B SERVICENAME
27If this is not blank, then it is passed with the \fB\-S\fR option to
28\fBpppoe\fR. It specifies a service name to ask for. Usually, you
29should leave it blank.
30
31.TP
32.B ACNAME
33If this is not blank, then it is passed with the \fB\-C\fR option to
34\fBpppoe\fR. It specifies the name of the access concentrator to connect
35to. Usually, you should leave it blank.
36
37.TP
38.B DEMAND
39If set to a number, the link is activated on demand and brought down
40after after \fBDEMAND\fR seconds. If set to \fBno\fR, the link is kept
41up all the time rather than being activated on demand.
42
43.TP
44.B DNSTYPE
45One of \fBNOCHANGE\fR, \fBSPECIFY\fR or \fBSERVER\fR. If
46set to NOCHANGE, \fBpppoe-connect\fR will not adjust the DNS setup in
47any way. If set to SPECIFY, it will re-write /etc/resolv.conf with
48the values of DNS1 and DNS2. If set to \fBSERVER\fR, it will
49supply the \fIusepeerdns\fR option to \fBpppd\fR, and make a symlink
50from /etc/resolv.conf to /etc/ppp/resolv.conf.
51
52.TP
53.B DNS1, DNS2
54IP addresses of DNS servers if you use DNSTYPE=SPECIFY.
55
56.TP
57.B NONROOT
58If the line \fBNONROOT=OK\fR (exactly like that; no whitespace or comments)
59appears in the configuration file, then \fBpppoe-wrapper\fR will allow
60non-root users to bring the conneciton up or down. The wrapper is installed
61only if you installed the rp-pppoe-gui package.
62
63.TP
64.B USEPEERDNS
65If set to "yes", then \fBpppoe-connect\fR will supply the \fIusepeerdns\fR
66option to \fBpppd\fR, which causes it to obtain DNS server addresses
67from the peer and create a new \fB/etc/resolv.conf\fR file. Otherwise,
68\fBpppoe-connect\fR will not supply this option, and \fBpppd\fR will not
69modify \fB/etc/resolv.conf\fR.
70
71.TP
72.B CONNECT_POLL
73How often (in seconds) \fBpppoe-start\fR should check to see if a new PPP
74interface has come up. If this is set to 0, the \fBpppoe-start\fR simply
75initiates the PPP session, but does not wait to see if it comes up
76successfully.
77
78.TP
79.B CONNECT_TIMEOUT
80How long (in seconds) \fBpppoe-start\fR should wait for a new PPP interface
81to come up before concluding that \fBpppoe-connect\fR has failed and killing
82the session.
83
84.TP
85.B PING
86A character which is echoed every \fBCONNECT_POLL\fR seconds while
87\fBpppoe-start\fR is waiting for the PPP interface to come up.
88
89.TP
90.B FORCEPING
91A character which is echoed every \fBCONNECT_POLL\fR seconds while
92\fBpppoe-start\fR is waiting for the PPP interface to come up. Similar
93to \fBPING\fR, but the character is echoed even if \fBpppoe-start\fR's
94standard output is not a tty.
95
96.TP
97.B PIDFILE
98A file in which to write the process-ID of the pppoe-connect process
99(for example, \fB/var/run/pppoe.pid\fR). Two additional files
100($PIDFILE.pppd and $PIDFILE.pppoe) hold the process-ID's of the
101\fBpppd\fR and \fBpppoe\fR processes, respectively.
102
103.TP
104.B SYNCHRONOUS
105An indication of whether or not to use synchronous PPP (\fByes\fR or
106\fBno\fR). Synchronous PPP is safe on Linux machines with the n_hdlc
107line discipline. (If you have a file called "n_hdlc.o" in your
108modules directory, you have the line discipline.) It is \fInot
109recommended\fR on other machines or on Linux machines without the
110n_hdlc line discipline due to some known and unsolveable race
111conditions in a user-mode client.
112
113.TP
114.B CLAMPMSS
115The value at which to "clamp" the advertised MSS for TCP sessions. The
116default of 1412 should be fine.
117
118.TP
119.B LCP_INTERVAL
120How often (in seconds) \fBpppd\fR sends out LCP echo-request packets.
121
122.TP
123.B LCP_FAILURE
124How many unanswered LCP echo-requests must occur before \fBpppd\fR
125concludes the link is dead.
126
127.TP
128.B PPPOE_TIMEOUT
129If this many seconds elapse without any activity seen by \fBpppoe\fR,
130then \fBpppoe\fR exits.
131
132.TP
133.B FIREWALL
134One of NONE, STANDALONE or MASQUERADE. If NONE, then \fBpppoe-connect\fR does
135not add any firewall rules. If STANDALONE, then it clears existing firewall
136rules and sets up basic rules for a standalone machine. If MASQUERADE, then
137it clears existing firewall rules and sets up basic rules for an Internet
138gateway. If you run services on your machine, these simple firewall scripts
139are inadequate; you'll have to make your own firewall rules and set FIREWALL
140to NONE.
141
142.TP
143.B PPPOE_EXTRA
144Any extra arguments to pass to \fBpppoe\fR
145
146.TP
147.B PPPD_EXTRA
148Any extra arguments to pass to \fBpppd\fR
149
150.TP
151.B LINUX_PLUGIN
152If non-blank, the full path of the Linux kernel-mode PPPoE plugin
153(typically \fB/etc/ppp/plugins/rp-pppoe.so\fR.) This forces
154\fBpppoe-connect\fR to use kernel-mode PPPoE on Linux 2.4.x systems.
155This code is experimental and unsupported. Use of the plugin causes
156\fBpppoe-connect\fR to ignore CLAMPMSS, PPPOE_EXTRA, SYNCHRONOUS and
157PPPOE_TIMEOUT.
158
159.P
160By using different configuration files with different PIDFILE
161settings, you can manage multiple PPPoE connections. Just specify the
162configuration file as an argument to \fBpppoe-start\fR and \fBpppoe-stop\fR.
163
164.SH SEE ALSO
165pppoe(8), pppoe-connect(8), pppoe-start(8), pppoe-stop(8), pppd(8), pppoe-setup(8),
166pppoe-wrapper(8)
167
168