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