|
|
The network is virtual, your privacy is not... |
Links:Main screen
Activities
Hosted by: |
Frequently Asked QuestionsIf you have a common problem or question, you will probably be able to find an answer here. If it is not here, and even the documentation is of no help, please contact the authors.ListError messagesTinc doesn't start, but doesn't show an error messageIf you're are using tinc 1.0.2, chances are tinc cannot write the pidfile. Normally tinc would tell you this, but in this particular version that error message is missing. When starting tinc, add--pidfile=/tmp/tinc.pid or run
mkdir -p /usr/local/var/run to solve this problem.
File descriptor in bad state
Jan 1 12:00:00 host tinc.net[1234]: Error while reading from ethertap device: File descriptor in bad state
Due to some changes in the header files in recent Linux 2.4 kernels,
a tinc daemon that is not recompiled against your kernel headers will fail to work.
You must recompile tinc and make sure it uses the header files from the kernel source tree.
Some distributions ship with their own copy of these files in Tinc stops functioning after a few hoursThere is a small bug in the tinc 1.0pre4 tarball which prevents tinc from notifying the other daemons that its key has expired. One workaround is to edit tinc.conf and addKeyExpire = 30000000,
which will set the lifetime of a key to roughly one year.
The bug is fixed in 1.0pre5 and later versions. Packets looping back to us
Jan 1 12:00:00 host tinc.net[1234]: Packet with destination 192.168.1.1 is looping back to us!
A packet is received from the tapdevice, and tinc tries to send it to the right destination,
but finds out that this packet should be send to itself.
Chances are that a "
This is not an error, but a warning. Tinc 1.0 and later try to create IPv6 sockets by default.
If your kernel has no support for IPv6, this message is logged.
However, if tinc logs "Ready", an IPv4 socket was created without problems, and that one will be used.
You can ignore this message, or prevent it from appearing in your logs by adding the following to tinc.conf:
No TAP-Win32 interface under Windows XP SP2Because of changes in Windows XP since SP2, the TAP-Win32 driver distributed with the tinc-1.0.2 installer doesn't work correctly. Remove all tap devices (use deltapall.bat) and install tinc 1.0.4.Generic questionsWhy tinc?Question: I've been using VPNs in a production environment, and until now that has been with FreeS/WAN. I would like to know what the differences are between tinc and FreeS/WAN.Here's what we think of that:
Is there a MS Windows client for tinc?Question: We are about to use a Linux machine as a firewall to protect our office setup. We are interested in using tinc to allow us to VPN through the firewall from home however home machines have a tendency to be running "that" operating system, the one from Redmond. Is there a tinc compatible VPN client for machines running Microsoft operating systems?As of tinc 1.0, Windows 2000 and XP are supported. It uses the TAP-Win32 driver as a virtual network device. There are two ways of compiling tinc: in a Cygwin environment or in a MinGW environment. The former provides a complete UNIX environment with all facilities common to UNIX. When compiled with Cygwin, tinc must be run in the Cygwin environment, but native Windows programs will also be able to use the VPN. When compiled with MinGW, tinc will be a native Windows program. When started, it will register itself as a service, which will run in the background and will be restarted after reboots.
$Id: faq.html 292 2007-07-24 17:03:55Z guus $ |