Discussion:
Windows TAP Problems?
Adam Del Vecchio
10 years ago
Permalink
Hello tincers,

I was recently trying to add a new Windows client to my tinc network and
ran into an interesting error; upon starting tinc I am met with the
usual successful startup (debug level 0; detects TAP device; Ready),
however it appears that any writes/reads from the TAP device fail with:

"Error while writing to Windows tap device <device ID truncated>: (997)
Overlapped I/O operation is in progress"

A bit of googling doesn't reveal much except some possible intrusions by
a couple of recent Windows KB updates. Is this some glaring failure of
my own that I am just not seeing, or have the new updates incapacitated
tinc in one way or another?

Thanks!
--
Adam Del Vecchio
Etienne Dechamps
10 years ago
Permalink
You should mention your tinc version and the version of the
"TAP-Windows Adapter V9" driver for the virtual network device you're
using (i.e. the contents of "Driver version" as seen in the Device
Manager).
...
Etienne Dechamps
10 years ago
Permalink
You are almost certainly hitting this TAP driver issue:
https://github.com/OpenVPN/tap-windows6/issues/3

There are two possible solutions:
- Downgrade the TAP driver to the old version (the one provided with tinc)
- Upgrade the TAP driver to the fixed version which is included in the
latest OpenVPN installers at
http://openvpn.net/index.php/download/community-downloads.html

Note that I did not have time to test the new driver version so I
don't know if it will work reliably (or even if it really fixes the
issue). If in doubt, you should downgrade.
...
Tanel Liiv
10 years ago
Permalink
...
Hello, I am experiencing the exact same problem.
On Windows 8.1.
Tap version: 9.0.0.21
Tinc: 1.0.25

It seems tinc is working (I can ping 3 other hosts on the network). But it
seems it makes tinc a bit unstable, because the first few times it failed
to run correctly(cmd hung after a huge load of those I/O errors).

Regards,
Tanel Liiv
Lance Fredrickson
10 years ago
Permalink
...
I was having a similar issue on one coputer. The log was filled with I/O
errors. I had installed the TAP driver from OpenVPN, but removed it and
installed the one packaged with tinc. I do have another computer that
is using the OpenVPN supplied one and seems to work fine. I know there
are like two versions of TAP that you can get with OpenVPN, but am
unsure which had the issue. I almost wonder if simply removing the TAP
interface and re-installing it would fix it. I would try a re-install
first using the current driver, and then try an OpenVPN variant if that
doesn't work.

Lance
Etienne Dechamps
10 years ago
Permalink
If you're having issues with TAP drivers on Windows, you should try
the latest driver (9.21.1) on this page:
http://swupdate.openvpn.org/community/releases/

If it still doesn't work (it should work at least with 1.1, not sure
about 1.0), you should fall back to the TAP driver that's bundled with
tinc.

Make sure to properly update the driver using the device manager when
you do any of this.
...
Continue reading on narkive:
Loading...