source: trunk/minix/man/man8/slip.8@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 years ago

Minix 3.1.2a

File size: 2.2 KB
Line 
1.TH SLIP 8
2.SH NAME
3slip \- Serial Line IP
4.SH SYNOPSIS
5.B slip
6.I pseudo-ip-device
7.SH DESCRIPTION
8.de SP
9.if t .sp 0.4
10.if n .sp
11..
12The
13.B slip
14program implements an Internet network connection over a bidirectional 8-bit
15transport, usually a serial line. The protocol used for this connection is
16the Serial Line Internet Protocol, SLIP for short.
17.PP
18The
19.I pseudo-ip-device
20argument names one of the
21.B /dev/psip*
22devices that is offered by the MINIX 3 TCP/IP driver
23.BR inet (8).
24The
25.B slip
26program reads IP packets from standard input and writes them to the pseudo
27IP device, and reads packets from the pseudo IP device and writes them to
28standard output. A typical use is like this:
29.PP
30.RS
31.nf
32.ft B
33{
34 stty raw 115200
35 slip /dev/psip2 &
36} </dev/tty01 >/dev/tty01
37.ft P
38.fi
39.RE
40.PP
41The SLIP protocol is just a very simple packet framing protocol. It defines
42two characters as markers on a byte stream to frame packets. SLIP does
43not implement any higher level addressing, error detection, or compression.
44Thanks to its simplicity it can be used under MINIX 3, any other system would
45prefer to use the Point-to-Point protocol: PPP.
46.PP
47The SLIP packet framing protocol as defined in RFC-1055 is as follows:
48.IP "\-"
49Packets are delimited by an END character, octal 300. END is often send at
50the start of a packet too to reset the logic of the receiver, so that random
51noise isn't added to the beginning of a packet.
52.IP "\-"
53An ESC character (octal 333) is used to escape any END or ESC characters
54that may occur in an IP packet. END and ESC are changed to ESC 334 and ESC
55335 in the data stream. (Note that END doesn't occur within the data stream
56at all by escaping it this way, making finding the framing END easier.)
57.ig
58.PP
59The manual page
60.BR serial-ip (8)
61describes how to configure the MINIX 3 network devices to be used with a
62serial IP connection.
63..
64.SH FILES
65.TP \w'/dev/psip*'u+5n
66.B /dev/psip*
67Pseudo-IP devices for use by
68.BR slip .
69.SH "SEE ALSO"
70.ig
71.BR ppp (8).
72.br
73..
74.BR RFC-1055 .
75.SH NOTES
76Under MINIX 3
77.B slip
78forks in two to handle the two data streams in or out of the serial line.
79Under Minix-vmd it uses asynchronous I/O to handle the two streams within
80one program.
81.SH AUTHOR
82Kees J. Bot <kjb@cs.vu.nl>
Note: See TracBrowser for help on using the repository browser.