^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) # SLIP 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 SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) tristate "SLIP (serial line) support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on TTY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Say Y if you intend to use SLIP or CSLIP (compressed SLIP) to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) connect to your Internet service provider or to connect to some
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) other local Unix box or if you want to configure your Linux box as a
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Slip/CSlip server for other people to dial in. SLIP (Serial Line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Internet Protocol) is a protocol used to send Internet traffic over
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) serial connections such as telephone lines or null modem cables;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) nowadays, the protocol PPP is more commonly used for this same
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) purpose.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Normally, your access provider has to support SLIP in order for you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) to be able to use it, but there is now a SLIP emulator called SLiRP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) around (available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) allows you to use SLIP over a regular dial up shell connection. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) you plan to use SLiRP, make sure to say Y to CSLIP, below. The
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) NET-3-HOWTO, available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) <http://www.tldp.org/docs.html#howto>, explains how to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) configure SLIP. Note that you don't need this option if you just
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) want to run term (term is a program which gives you almost full
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Internet connectivity if you have a regular dial up shell account on
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) some Internet connected Unix computer. Read
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) <http://www.bart.nl/~patrickr/term-howto/Term-HOWTO.html>). SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) support will enlarge your kernel by about 4 KB. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) To compile this driver as a module, choose M here. The module
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) will be called slip.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) config SLHC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) tristate
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) This option enables Van Jacobsen serial line header compression
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) routines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) if SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) config SLIP_COMPRESSED
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) bool "CSLIP compressed headers"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) depends on SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) select SLHC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) This protocol is faster than SLIP because it uses compression on the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) TCP/IP headers (not on the data itself), but it has to be supported
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) on both ends. Ask your access provider if you are not sure and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) answer Y, just in case. You will still be able to use plain SLIP. If
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) you plan to use SLiRP, the SLIP emulator (available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) <ftp://ibiblio.org/pub/Linux/system/network/serial/>) which
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) allows you to use SLIP over a regular dial up shell connection, you
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) definitely want to say Y here. The NET-3-HOWTO, available from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) <http://www.tldp.org/docs.html#howto>, explains how to configure
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) CSLIP. This won't enlarge your kernel.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) config SLIP_SMART
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) bool "Keepalive and linefill"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) depends on SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Adds additional capabilities to the SLIP driver to support the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) RELCOM line fill and keepalive monitoring. Ideal on poor quality
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) analogue lines.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) config SLIP_MODE_SLIP6
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) bool "Six bit SLIP encapsulation"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) depends on SLIP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) Just occasionally you may need to run IP over hostile serial
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) networks that don't pass all control characters or are only seven
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) bit. Saying Y here adds an extra mode you can use with SLIP:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) "slip6". In this mode, SLIP will only send normal ASCII symbols over
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) the serial device. Naturally, this has to be supported at the other
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) end of the link as well. It's good enough, for example, to run IP
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) over the async ports of a Camtec JNT Pad. If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) endif # SLIP