Don't bother to chown, and correctly document ConnectTo.

This commit is contained in:
Guus Sliepen 2002-07-16 13:18:27 +00:00
parent 227ccd3a8a
commit 9f370893fa

View file

@ -1,5 +1,5 @@
\input texinfo @c -*-texinfo-*- \input texinfo @c -*-texinfo-*-
@c $Id: tinc.texi,v 1.8.4.30 2002/06/21 10:11:10 guus Exp $ @c $Id: tinc.texi,v 1.8.4.31 2002/07/16 13:18:27 guus Exp $
@c %**start of header @c %**start of header
@setfilename tinc.info @setfilename tinc.info
@settitle tinc Manual @settitle tinc Manual
@ -18,7 +18,7 @@ Copyright @copyright{} 1998-2002 Ivo Timmermans
<ivo@@o2w.nl>, Guus Sliepen <guus@@sliepen.eu.org> and <ivo@@o2w.nl>, Guus Sliepen <guus@@sliepen.eu.org> and
Wessel Dankers <wsl@@nl.linux.org>. Wessel Dankers <wsl@@nl.linux.org>.
$Id: tinc.texi,v 1.8.4.30 2002/06/21 10:11:10 guus Exp $ $Id: tinc.texi,v 1.8.4.31 2002/07/16 13:18:27 guus Exp $
Permission is granted to make and distribute verbatim copies of this Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are manual provided the copyright notice and this permission notice are
@ -43,7 +43,7 @@ Copyright @copyright{} 1998-2002 Ivo Timmermans
<ivo@@o2w.nl>, Guus Sliepen <guus@@sliepen.eu.org> and <ivo@@o2w.nl>, Guus Sliepen <guus@@sliepen.eu.org> and
Wessel Dankers <wsl@@nl.linux.org>. Wessel Dankers <wsl@@nl.linux.org>.
$Id: tinc.texi,v 1.8.4.30 2002/06/21 10:11:10 guus Exp $ $Id: tinc.texi,v 1.8.4.31 2002/07/16 13:18:27 guus Exp $
Permission is granted to make and distribute verbatim copies of this Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are manual provided the copyright notice and this permission notice are
@ -635,12 +635,9 @@ ethertap devices:
@example @example
mknod -m 600 /dev/tap0 c 36 16 mknod -m 600 /dev/tap0 c 36 16
chown 0.0 /dev/tap0
mknod -m 600 /dev/tap1 c 36 17 mknod -m 600 /dev/tap1 c 36 17
chown 0.0 /dev/tap0
... ...
mknod -m 600 /dev/tap@emph{N} c 36 @emph{N+16} mknod -m 600 /dev/tap@emph{N} c 36 @emph{N+16}
chown 0.0 /dev/tap@emph{N}
@end example @end example
There is a maximum of 16 ethertap devices. There is a maximum of 16 ethertap devices.
@ -650,7 +647,6 @@ following device file (unless it already exist):
@example @example
mknod -m 600 /dev/tun c 10 200 mknod -m 600 /dev/tun c 10 200
chown 0.0 /dev/tun
@end example @end example
If you use Linux, and you run the new 2.4 kernel using the devfs filesystem, If you use Linux, and you run the new 2.4 kernel using the devfs filesystem,
@ -851,15 +847,15 @@ This option may not work on all platforms.
@cindex ConnectTo @cindex ConnectTo
@item @strong{ConnectTo = <name>} @item @strong{ConnectTo = <name>}
Specifies which host to connect to on startup. Multiple ConnectTo Specifies which other tinc daemon to connect to on startup.
variables may be specified, if connecting to the first one fails then Multiple ConnectTo variables may be specified,
tinc will try the next one, and so on. It is possible to specify in which case outgoing connections to each specified tinc daemon are made.
hostnames for dynamic IP addresses (like those given on dyndns.org), The names should be known to this tinc daemon
tinc will not cache the resolved IP address. (i.e., there should be a host configuration file for the name on the ConnectTo line).
If you don't specify a host with ConnectTo, regardless of whether a If you don't specify a host with ConnectTo,
value for ConnectPort is given, tinc won't connect at all, and will tinc won't try to connect to other daemons at all,
instead just listen for incoming connections. and will instead just listen for incoming connections.
@cindex Device @cindex Device
@item @strong{Device = <device>} (/dev/tap0 or /dev/misc/net/tun) @item @strong{Device = <device>} (/dev/tap0 or /dev/misc/net/tun)