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