xref: /linux/drivers/net/ppp/Kconfig (revision 8aa53cb3a5469868fc0145e9aaf4ac3847aad5c4)
1224cf5adSJeff Kirsher#
2224cf5adSJeff Kirsher# PPP network device configuration
3224cf5adSJeff Kirsher#
4224cf5adSJeff Kirsher
5224cf5adSJeff Kirsherconfig PPP
6224cf5adSJeff Kirsher	tristate "PPP (point-to-point protocol) support"
7224cf5adSJeff Kirsher	select SLHC
8224cf5adSJeff Kirsher	---help---
9224cf5adSJeff Kirsher	  PPP (Point to Point Protocol) is a newer and better SLIP.  It serves
10224cf5adSJeff Kirsher	  the same purpose: sending Internet traffic over telephone (and other
11224cf5adSJeff Kirsher	  serial) lines.  Ask your access provider if they support it, because
12224cf5adSJeff Kirsher	  otherwise you can't use it; most Internet access providers these
13224cf5adSJeff Kirsher	  days support PPP rather than SLIP.
14224cf5adSJeff Kirsher
15224cf5adSJeff Kirsher	  To use PPP, you need an additional program called pppd as described
16224cf5adSJeff Kirsher	  in the PPP-HOWTO, available at
17224cf5adSJeff Kirsher	  <http://www.tldp.org/docs.html#howto>.  Make sure that you have
18224cf5adSJeff Kirsher	  the version of pppd recommended in <file:Documentation/Changes>.
19224cf5adSJeff Kirsher	  The PPP option enlarges your kernel by about 16 KB.
20224cf5adSJeff Kirsher
21224cf5adSJeff Kirsher	  There are actually two versions of PPP: the traditional PPP for
22224cf5adSJeff Kirsher	  asynchronous lines, such as regular analog phone lines, and
23224cf5adSJeff Kirsher	  synchronous PPP which can be used over digital ISDN lines for
24224cf5adSJeff Kirsher	  example.  If you want to use PPP over phone lines or other
25224cf5adSJeff Kirsher	  asynchronous serial lines, you need to say Y (or M) here and also to
26224cf5adSJeff Kirsher	  the next option, "PPP support for async serial ports".  For PPP over
27224cf5adSJeff Kirsher	  synchronous lines, you should say Y (or M) here and to "Support
28224cf5adSJeff Kirsher	  synchronous PPP", below.
29224cf5adSJeff Kirsher
30224cf5adSJeff Kirsher	  If you said Y to "Version information on all symbols" above, then
31224cf5adSJeff Kirsher	  you cannot compile the PPP driver into the kernel; you can then only
32224cf5adSJeff Kirsher	  compile it as a module. To compile this driver as a module, choose M
33224cf5adSJeff Kirsher	  here. The module will be called ppp_generic.
34224cf5adSJeff Kirsher
35224cf5adSJeff Kirsherif PPP
36224cf5adSJeff Kirsher
37224cf5adSJeff Kirsherconfig PPP_BSDCOMP
38224cf5adSJeff Kirsher	tristate "PPP BSD-Compress compression"
39224cf5adSJeff Kirsher	depends on PPP
40224cf5adSJeff Kirsher	---help---
41224cf5adSJeff Kirsher	  Support for the BSD-Compress compression method for PPP, which uses
42224cf5adSJeff Kirsher	  the LZW compression method to compress each PPP packet before it is
43224cf5adSJeff Kirsher	  sent over the wire. The machine at the other end of the PPP link
44224cf5adSJeff Kirsher	  (usually your ISP) has to support the BSD-Compress compression
45224cf5adSJeff Kirsher	  method as well for this to be useful. Even if they don't support it,
46224cf5adSJeff Kirsher	  it is safe to say Y here.
47224cf5adSJeff Kirsher
48224cf5adSJeff Kirsher	  The PPP Deflate compression method ("PPP Deflate compression",
49224cf5adSJeff Kirsher	  above) is preferable to BSD-Compress, because it compresses better
50224cf5adSJeff Kirsher	  and is patent-free.
51224cf5adSJeff Kirsher
52224cf5adSJeff Kirsher	  Note that the BSD compression code will always be compiled as a
53224cf5adSJeff Kirsher	  module; it is called bsd_comp and will show up in the directory
54224cf5adSJeff Kirsher	  modules once you have said "make modules". If unsure, say N.
55224cf5adSJeff Kirsher
56224cf5adSJeff Kirsherconfig PPP_DEFLATE
57224cf5adSJeff Kirsher	tristate "PPP Deflate compression"
58224cf5adSJeff Kirsher	depends on PPP
59224cf5adSJeff Kirsher	select ZLIB_INFLATE
60224cf5adSJeff Kirsher	select ZLIB_DEFLATE
61224cf5adSJeff Kirsher	---help---
62224cf5adSJeff Kirsher	  Support for the Deflate compression method for PPP, which uses the
63224cf5adSJeff Kirsher	  Deflate algorithm (the same algorithm that gzip uses) to compress
64224cf5adSJeff Kirsher	  each PPP packet before it is sent over the wire.  The machine at the
65224cf5adSJeff Kirsher	  other end of the PPP link (usually your ISP) has to support the
66224cf5adSJeff Kirsher	  Deflate compression method as well for this to be useful.  Even if
67224cf5adSJeff Kirsher	  they don't support it, it is safe to say Y here.
68224cf5adSJeff Kirsher
69224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
70224cf5adSJeff Kirsher
71224cf5adSJeff Kirsherconfig PPP_FILTER
72224cf5adSJeff Kirsher	bool "PPP filtering"
73224cf5adSJeff Kirsher	depends on PPP
74224cf5adSJeff Kirsher	---help---
75224cf5adSJeff Kirsher	  Say Y here if you want to be able to filter the packets passing over
76224cf5adSJeff Kirsher	  PPP interfaces.  This allows you to control which packets count as
77224cf5adSJeff Kirsher	  activity (i.e. which packets will reset the idle timer or bring up
78224cf5adSJeff Kirsher	  a demand-dialed link) and which packets are to be dropped entirely.
79224cf5adSJeff Kirsher	  You need to say Y here if you wish to use the pass-filter and
80224cf5adSJeff Kirsher	  active-filter options to pppd.
81224cf5adSJeff Kirsher
82224cf5adSJeff Kirsher	  If unsure, say N.
83224cf5adSJeff Kirsher
84224cf5adSJeff Kirsherconfig PPP_MPPE
85*8aa53cb3SKees Cook	tristate "PPP MPPE compression (encryption)"
86*8aa53cb3SKees Cook	depends on PPP
87224cf5adSJeff Kirsher	select CRYPTO
88224cf5adSJeff Kirsher	select CRYPTO_SHA1
89224cf5adSJeff Kirsher	select CRYPTO_ARC4
90224cf5adSJeff Kirsher	select CRYPTO_ECB
91224cf5adSJeff Kirsher	---help---
92224cf5adSJeff Kirsher	  Support for the MPPE Encryption protocol, as employed by the
93224cf5adSJeff Kirsher	  Microsoft Point-to-Point Tunneling Protocol.
94224cf5adSJeff Kirsher
95224cf5adSJeff Kirsher	  See http://pptpclient.sourceforge.net/ for information on
96224cf5adSJeff Kirsher	  configuring PPTP clients and servers to utilize this method.
97224cf5adSJeff Kirsher
98224cf5adSJeff Kirsherconfig PPP_MULTILINK
99*8aa53cb3SKees Cook	bool "PPP multilink support"
100*8aa53cb3SKees Cook	depends on PPP
101224cf5adSJeff Kirsher	---help---
102224cf5adSJeff Kirsher	  PPP multilink is a protocol (defined in RFC 1990) which allows you
103224cf5adSJeff Kirsher	  to combine several (logical or physical) lines into one logical PPP
104224cf5adSJeff Kirsher	  connection, so that you can utilize your full bandwidth.
105224cf5adSJeff Kirsher
106224cf5adSJeff Kirsher	  This has to be supported at the other end as well and you need a
107224cf5adSJeff Kirsher	  version of the pppd daemon which understands the multilink protocol.
108224cf5adSJeff Kirsher
109224cf5adSJeff Kirsher	  If unsure, say N.
110224cf5adSJeff Kirsher
111224cf5adSJeff Kirsherconfig PPPOATM
112224cf5adSJeff Kirsher	tristate "PPP over ATM"
113224cf5adSJeff Kirsher	depends on ATM && PPP
114224cf5adSJeff Kirsher	---help---
115224cf5adSJeff Kirsher	  Support PPP (Point to Point Protocol) encapsulated in ATM frames.
116224cf5adSJeff Kirsher	  This implementation does not yet comply with section 8 of RFC2364,
117224cf5adSJeff Kirsher	  which can lead to bad results if the ATM peer loses state and
118224cf5adSJeff Kirsher	  changes its encapsulation unilaterally.
119224cf5adSJeff Kirsher
120224cf5adSJeff Kirsherconfig PPPOE
121*8aa53cb3SKees Cook	tristate "PPP over Ethernet"
122*8aa53cb3SKees Cook	depends on PPP
123224cf5adSJeff Kirsher	---help---
124224cf5adSJeff Kirsher	  Support for PPP over Ethernet.
125224cf5adSJeff Kirsher
126224cf5adSJeff Kirsher	  This driver requires the latest version of pppd from the CVS
127224cf5adSJeff Kirsher	  repository at cvs.samba.org.  Alternatively, see the
128224cf5adSJeff Kirsher	  RoaringPenguin package (<http://www.roaringpenguin.com/pppoe>)
129224cf5adSJeff Kirsher	  which contains instruction on how to use this driver (under
130224cf5adSJeff Kirsher	  the heading "Kernel mode PPPoE").
131224cf5adSJeff Kirsher
132224cf5adSJeff Kirsherconfig PPTP
133*8aa53cb3SKees Cook	tristate "PPP over IPv4 (PPTP)"
134*8aa53cb3SKees Cook	depends on PPP && NET_IPGRE_DEMUX
135224cf5adSJeff Kirsher	---help---
136224cf5adSJeff Kirsher	  Support for PPP over IPv4.(Point-to-Point Tunneling Protocol)
137224cf5adSJeff Kirsher
138224cf5adSJeff Kirsher	  This driver requires pppd plugin to work in client mode or
139224cf5adSJeff Kirsher	  modified pptpd (poptop) to work in server mode.
140224cf5adSJeff Kirsher	  See http://accel-pptp.sourceforge.net/ for information how to
141224cf5adSJeff Kirsher	  utilize this module.
142224cf5adSJeff Kirsher
143224cf5adSJeff Kirsherconfig PPPOL2TP
144*8aa53cb3SKees Cook	tristate "PPP over L2TP"
145*8aa53cb3SKees Cook	depends on L2TP && PPP
146224cf5adSJeff Kirsher	---help---
147224cf5adSJeff Kirsher	  Support for PPP-over-L2TP socket family. L2TP is a protocol
148224cf5adSJeff Kirsher	  used by ISPs and enterprises to tunnel PPP traffic over UDP
149224cf5adSJeff Kirsher	  tunnels. L2TP is replacing PPTP for VPN uses.
150224cf5adSJeff Kirsher
151224cf5adSJeff Kirsherconfig PPP_ASYNC
152224cf5adSJeff Kirsher	tristate "PPP support for async serial ports"
153224cf5adSJeff Kirsher	depends on PPP
154224cf5adSJeff Kirsher	select CRC_CCITT
155224cf5adSJeff Kirsher	---help---
156224cf5adSJeff Kirsher	  Say Y (or M) here if you want to be able to use PPP over standard
157224cf5adSJeff Kirsher	  asynchronous serial ports, such as COM1 or COM2 on a PC.  If you use
158224cf5adSJeff Kirsher	  a modem (not a synchronous or ISDN modem) to contact your ISP, you
159224cf5adSJeff Kirsher	  need this option.
160224cf5adSJeff Kirsher
161224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
162224cf5adSJeff Kirsher
163224cf5adSJeff Kirsher	  If unsure, say Y.
164224cf5adSJeff Kirsher
165224cf5adSJeff Kirsherconfig PPP_SYNC_TTY
166224cf5adSJeff Kirsher	tristate "PPP support for sync tty ports"
167224cf5adSJeff Kirsher	depends on PPP
168224cf5adSJeff Kirsher	---help---
169224cf5adSJeff Kirsher	  Say Y (or M) here if you want to be able to use PPP over synchronous
170224cf5adSJeff Kirsher	  (HDLC) tty devices, such as the SyncLink adapter. These devices
171224cf5adSJeff Kirsher	  are often used for high-speed leased lines like T1/E1.
172224cf5adSJeff Kirsher
173224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
174224cf5adSJeff Kirsher
175224cf5adSJeff Kirsherendif # PPP
176