Hello, I've been experimenting with tinc to get to know it and I got to point where the tinc service wouldn't start anymore. Starting with debug options gave me a ".. not a usable Windows TAP Device.. File not found" report. After a lengthy period of digging, I discovered that my registry was littered with connection bindings for all the previous install/uninstall's i'd done with the TAP Driver. Cleaning up this mess fixed the problem and tinc was running again. Google found this report http://osdir.com/ml/network.openvpn.user/2003-12/msg00110.html While this report suggests that the issue has been fixed in XP, my recent experience suggests otherwise? Doing an uninstall of the TAP Driver does not remove the registry bindings. A reboot makes no difference. Appears to be a Windows problem as uninstalling some other virtual driver resulted in the same situation. Anyone have experience/knowledge on this issue ? Kind regards Graham Smith
On Fri, Dec 26, 2008 at 06:56:01PM +0200, Graham Smith wrote:> I've been experimenting with tinc to get to know it and I got to point where > the tinc service wouldn't start anymore. > > Starting with debug options gave me a ".. not a usable Windows TAP Device.. > File not found" report. > > After a lengthy period of digging, I discovered that my registry was > littered with connection bindings for all the previous install/uninstall's > i'd done with the TAP Driver. > > Cleaning up this mess fixed the problem and tinc was running again.Can you tell me where in the registry these bindings are and how you cleaned them up?> Google found this report > http://osdir.com/ml/network.openvpn.user/2003-12/msg00110.html > > While this report suggests that the issue has been fixed in XP, my recent > experience suggests otherwise?I do not remember anyone mentioning this issue, but I will try to reproduce it and let you know the results. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://www.tinc-vpn.org/pipermail/tinc/attachments/20081226/5a7230a8/attachment.pgp
Hi Guus,> Can you tell me where in the registry these bindings are...I actually did a search on tinc-vpn.org and found a clue in the device.c source file. Key for network connections: HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Network There are number of subkeys. The 1st subkey in turn has a number of subkeys and ultimately, each adaptor has a "Connection" Key which identifies the installed adaptor.> and how you cleanedI did this manually. I'll admit I don't fully understand the in's and out's of each key, but I made some assumptions about the relevance of keys based on existing adaptors and removed all subkeys that did not have a corresponding adaptor under "Network Connections" So far, no complaints Kind regards Graham Smith