xref: /linux/drivers/net/ppp/Kconfig (revision 224cf5ad14c038b13c119dff29422f178a306f54)
1*224cf5adSJeff Kirsher#
2*224cf5adSJeff Kirsher# PPP network device configuration
3*224cf5adSJeff Kirsher#
4*224cf5adSJeff Kirsher
5*224cf5adSJeff Kirsherconfig PPP
6*224cf5adSJeff Kirsher	tristate "PPP (point-to-point protocol) support"
7*224cf5adSJeff Kirsher	select SLHC
8*224cf5adSJeff Kirsher	---help---
9*224cf5adSJeff Kirsher	  PPP (Point to Point Protocol) is a newer and better SLIP.  It serves
10*224cf5adSJeff Kirsher	  the same purpose: sending Internet traffic over telephone (and other
11*224cf5adSJeff Kirsher	  serial) lines.  Ask your access provider if they support it, because
12*224cf5adSJeff Kirsher	  otherwise you can't use it; most Internet access providers these
13*224cf5adSJeff Kirsher	  days support PPP rather than SLIP.
14*224cf5adSJeff Kirsher
15*224cf5adSJeff Kirsher	  To use PPP, you need an additional program called pppd as described
16*224cf5adSJeff Kirsher	  in the PPP-HOWTO, available at
17*224cf5adSJeff Kirsher	  <http://www.tldp.org/docs.html#howto>.  Make sure that you have
18*224cf5adSJeff Kirsher	  the version of pppd recommended in <file:Documentation/Changes>.
19*224cf5adSJeff Kirsher	  The PPP option enlarges your kernel by about 16 KB.
20*224cf5adSJeff Kirsher
21*224cf5adSJeff Kirsher	  There are actually two versions of PPP: the traditional PPP for
22*224cf5adSJeff Kirsher	  asynchronous lines, such as regular analog phone lines, and
23*224cf5adSJeff Kirsher	  synchronous PPP which can be used over digital ISDN lines for
24*224cf5adSJeff Kirsher	  example.  If you want to use PPP over phone lines or other
25*224cf5adSJeff Kirsher	  asynchronous serial lines, you need to say Y (or M) here and also to
26*224cf5adSJeff Kirsher	  the next option, "PPP support for async serial ports".  For PPP over
27*224cf5adSJeff Kirsher	  synchronous lines, you should say Y (or M) here and to "Support
28*224cf5adSJeff Kirsher	  synchronous PPP", below.
29*224cf5adSJeff Kirsher
30*224cf5adSJeff Kirsher	  If you said Y to "Version information on all symbols" above, then
31*224cf5adSJeff Kirsher	  you cannot compile the PPP driver into the kernel; you can then only
32*224cf5adSJeff Kirsher	  compile it as a module. To compile this driver as a module, choose M
33*224cf5adSJeff Kirsher	  here. The module will be called ppp_generic.
34*224cf5adSJeff Kirsher
35*224cf5adSJeff Kirsherif PPP
36*224cf5adSJeff Kirsher
37*224cf5adSJeff Kirsherconfig PPP_BSDCOMP
38*224cf5adSJeff Kirsher	tristate "PPP BSD-Compress compression"
39*224cf5adSJeff Kirsher	depends on PPP
40*224cf5adSJeff Kirsher	---help---
41*224cf5adSJeff Kirsher	  Support for the BSD-Compress compression method for PPP, which uses
42*224cf5adSJeff Kirsher	  the LZW compression method to compress each PPP packet before it is
43*224cf5adSJeff Kirsher	  sent over the wire. The machine at the other end of the PPP link
44*224cf5adSJeff Kirsher	  (usually your ISP) has to support the BSD-Compress compression
45*224cf5adSJeff Kirsher	  method as well for this to be useful. Even if they don't support it,
46*224cf5adSJeff Kirsher	  it is safe to say Y here.
47*224cf5adSJeff Kirsher
48*224cf5adSJeff Kirsher	  The PPP Deflate compression method ("PPP Deflate compression",
49*224cf5adSJeff Kirsher	  above) is preferable to BSD-Compress, because it compresses better
50*224cf5adSJeff Kirsher	  and is patent-free.
51*224cf5adSJeff Kirsher
52*224cf5adSJeff Kirsher	  Note that the BSD compression code will always be compiled as a
53*224cf5adSJeff Kirsher	  module; it is called bsd_comp and will show up in the directory
54*224cf5adSJeff Kirsher	  modules once you have said "make modules". If unsure, say N.
55*224cf5adSJeff Kirsher
56*224cf5adSJeff Kirsherconfig PPP_DEFLATE
57*224cf5adSJeff Kirsher	tristate "PPP Deflate compression"
58*224cf5adSJeff Kirsher	depends on PPP
59*224cf5adSJeff Kirsher	select ZLIB_INFLATE
60*224cf5adSJeff Kirsher	select ZLIB_DEFLATE
61*224cf5adSJeff Kirsher	---help---
62*224cf5adSJeff Kirsher	  Support for the Deflate compression method for PPP, which uses the
63*224cf5adSJeff Kirsher	  Deflate algorithm (the same algorithm that gzip uses) to compress
64*224cf5adSJeff Kirsher	  each PPP packet before it is sent over the wire.  The machine at the
65*224cf5adSJeff Kirsher	  other end of the PPP link (usually your ISP) has to support the
66*224cf5adSJeff Kirsher	  Deflate compression method as well for this to be useful.  Even if
67*224cf5adSJeff Kirsher	  they don't support it, it is safe to say Y here.
68*224cf5adSJeff Kirsher
69*224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
70*224cf5adSJeff Kirsher
71*224cf5adSJeff Kirsherconfig PPP_FILTER
72*224cf5adSJeff Kirsher	bool "PPP filtering"
73*224cf5adSJeff Kirsher	depends on PPP
74*224cf5adSJeff Kirsher	---help---
75*224cf5adSJeff Kirsher	  Say Y here if you want to be able to filter the packets passing over
76*224cf5adSJeff Kirsher	  PPP interfaces.  This allows you to control which packets count as
77*224cf5adSJeff Kirsher	  activity (i.e. which packets will reset the idle timer or bring up
78*224cf5adSJeff Kirsher	  a demand-dialed link) and which packets are to be dropped entirely.
79*224cf5adSJeff Kirsher	  You need to say Y here if you wish to use the pass-filter and
80*224cf5adSJeff Kirsher	  active-filter options to pppd.
81*224cf5adSJeff Kirsher
82*224cf5adSJeff Kirsher	  If unsure, say N.
83*224cf5adSJeff Kirsher
84*224cf5adSJeff Kirsherconfig PPP_MPPE
85*224cf5adSJeff Kirsher	tristate "PPP MPPE compression (encryption) (EXPERIMENTAL)"
86*224cf5adSJeff Kirsher	depends on PPP && EXPERIMENTAL
87*224cf5adSJeff Kirsher	select CRYPTO
88*224cf5adSJeff Kirsher	select CRYPTO_SHA1
89*224cf5adSJeff Kirsher	select CRYPTO_ARC4
90*224cf5adSJeff Kirsher	select CRYPTO_ECB
91*224cf5adSJeff Kirsher	---help---
92*224cf5adSJeff Kirsher	  Support for the MPPE Encryption protocol, as employed by the
93*224cf5adSJeff Kirsher	  Microsoft Point-to-Point Tunneling Protocol.
94*224cf5adSJeff Kirsher
95*224cf5adSJeff Kirsher	  See http://pptpclient.sourceforge.net/ for information on
96*224cf5adSJeff Kirsher	  configuring PPTP clients and servers to utilize this method.
97*224cf5adSJeff Kirsher
98*224cf5adSJeff Kirsherconfig PPP_MULTILINK
99*224cf5adSJeff Kirsher	bool "PPP multilink support (EXPERIMENTAL)"
100*224cf5adSJeff Kirsher	depends on PPP && EXPERIMENTAL
101*224cf5adSJeff Kirsher	---help---
102*224cf5adSJeff Kirsher	  PPP multilink is a protocol (defined in RFC 1990) which allows you
103*224cf5adSJeff Kirsher	  to combine several (logical or physical) lines into one logical PPP
104*224cf5adSJeff Kirsher	  connection, so that you can utilize your full bandwidth.
105*224cf5adSJeff Kirsher
106*224cf5adSJeff Kirsher	  This has to be supported at the other end as well and you need a
107*224cf5adSJeff Kirsher	  version of the pppd daemon which understands the multilink protocol.
108*224cf5adSJeff Kirsher
109*224cf5adSJeff Kirsher	  If unsure, say N.
110*224cf5adSJeff Kirsher
111*224cf5adSJeff Kirsherconfig PPPOATM
112*224cf5adSJeff Kirsher	tristate "PPP over ATM"
113*224cf5adSJeff Kirsher	depends on ATM && PPP
114*224cf5adSJeff Kirsher	---help---
115*224cf5adSJeff Kirsher	  Support PPP (Point to Point Protocol) encapsulated in ATM frames.
116*224cf5adSJeff Kirsher	  This implementation does not yet comply with section 8 of RFC2364,
117*224cf5adSJeff Kirsher	  which can lead to bad results if the ATM peer loses state and
118*224cf5adSJeff Kirsher	  changes its encapsulation unilaterally.
119*224cf5adSJeff Kirsher
120*224cf5adSJeff Kirsherconfig PPPOE
121*224cf5adSJeff Kirsher	tristate "PPP over Ethernet (EXPERIMENTAL)"
122*224cf5adSJeff Kirsher	depends on EXPERIMENTAL && PPP
123*224cf5adSJeff Kirsher	---help---
124*224cf5adSJeff Kirsher	  Support for PPP over Ethernet.
125*224cf5adSJeff Kirsher
126*224cf5adSJeff Kirsher	  This driver requires the latest version of pppd from the CVS
127*224cf5adSJeff Kirsher	  repository at cvs.samba.org.  Alternatively, see the
128*224cf5adSJeff Kirsher	  RoaringPenguin package (<http://www.roaringpenguin.com/pppoe>)
129*224cf5adSJeff Kirsher	  which contains instruction on how to use this driver (under
130*224cf5adSJeff Kirsher	  the heading "Kernel mode PPPoE").
131*224cf5adSJeff Kirsher
132*224cf5adSJeff Kirsherconfig PPTP
133*224cf5adSJeff Kirsher	tristate "PPP over IPv4 (PPTP) (EXPERIMENTAL)"
134*224cf5adSJeff Kirsher	depends on EXPERIMENTAL && PPP && NET_IPGRE_DEMUX
135*224cf5adSJeff Kirsher	---help---
136*224cf5adSJeff Kirsher	  Support for PPP over IPv4.(Point-to-Point Tunneling Protocol)
137*224cf5adSJeff Kirsher
138*224cf5adSJeff Kirsher	  This driver requires pppd plugin to work in client mode or
139*224cf5adSJeff Kirsher	  modified pptpd (poptop) to work in server mode.
140*224cf5adSJeff Kirsher	  See http://accel-pptp.sourceforge.net/ for information how to
141*224cf5adSJeff Kirsher	  utilize this module.
142*224cf5adSJeff Kirsher
143*224cf5adSJeff Kirsherconfig PPPOL2TP
144*224cf5adSJeff Kirsher	tristate "PPP over L2TP (EXPERIMENTAL)"
145*224cf5adSJeff Kirsher	depends on EXPERIMENTAL && L2TP && PPP
146*224cf5adSJeff Kirsher	---help---
147*224cf5adSJeff Kirsher	  Support for PPP-over-L2TP socket family. L2TP is a protocol
148*224cf5adSJeff Kirsher	  used by ISPs and enterprises to tunnel PPP traffic over UDP
149*224cf5adSJeff Kirsher	  tunnels. L2TP is replacing PPTP for VPN uses.
150*224cf5adSJeff Kirsher
151*224cf5adSJeff Kirsherconfig PPP_ASYNC
152*224cf5adSJeff Kirsher	tristate "PPP support for async serial ports"
153*224cf5adSJeff Kirsher	depends on PPP
154*224cf5adSJeff Kirsher	select CRC_CCITT
155*224cf5adSJeff Kirsher	---help---
156*224cf5adSJeff Kirsher	  Say Y (or M) here if you want to be able to use PPP over standard
157*224cf5adSJeff Kirsher	  asynchronous serial ports, such as COM1 or COM2 on a PC.  If you use
158*224cf5adSJeff Kirsher	  a modem (not a synchronous or ISDN modem) to contact your ISP, you
159*224cf5adSJeff Kirsher	  need this option.
160*224cf5adSJeff Kirsher
161*224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
162*224cf5adSJeff Kirsher
163*224cf5adSJeff Kirsher	  If unsure, say Y.
164*224cf5adSJeff Kirsher
165*224cf5adSJeff Kirsherconfig PPP_SYNC_TTY
166*224cf5adSJeff Kirsher	tristate "PPP support for sync tty ports"
167*224cf5adSJeff Kirsher	depends on PPP
168*224cf5adSJeff Kirsher	---help---
169*224cf5adSJeff Kirsher	  Say Y (or M) here if you want to be able to use PPP over synchronous
170*224cf5adSJeff Kirsher	  (HDLC) tty devices, such as the SyncLink adapter. These devices
171*224cf5adSJeff Kirsher	  are often used for high-speed leased lines like T1/E1.
172*224cf5adSJeff Kirsher
173*224cf5adSJeff Kirsher	  To compile this driver as a module, choose M here.
174*224cf5adSJeff Kirsher
175*224cf5adSJeff Kirsherendif # PPP
176