Chris Haaser
2015-Mar-18 12:10 UTC
Tinc connection does not come up when started as Windows service
I have a tinc mesh consisting of 6 Windows servers. All are configured identically and all but one work without any problems. On that one server however the tinc service starts, but the connection does not come up (no packets get routed, ping times out). If I stop and start the service manually, the connection is up in like half a second. If I start tinc on the command line, it works every time. Is there anything I can do to debug tinc when running as a service? I tried setting it to startup automatically / delayed, but that didn't work either. Best regards, Chris -------------- n?chster Teil -------------- Ein Dateianhang mit HTML-Daten wurde abgetrennt... URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150318/e34705b7/attachment.html>
Guus Sliepen
2015-Mar-18 18:30 UTC
Tinc connection does not come up when started as Windows service
On Wed, Mar 18, 2015 at 12:10:40PM +0000, Chris Haaser wrote:> I have a tinc mesh consisting of 6 Windows servers. All are configured identically and all but one work without any problems. > On that one server however the tinc service starts, but the connection does not come up (no packets get routed, ping times out). > If I stop and start the service manually, the connection is up in like half a second. If I start tinc on the command line, it works every time. > > Is there anything I can do to debug tinc when running as a service? I tried setting it to startup automatically / delayed, but that didn't work either.The easiest way is to tell tinc to log to a file. Start it like this: tincd -n <netname> --logfile=C:\Temp\tinc.log -d5 Then check what is in the logfile. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20150318/babe5b21/attachment.sig>
Chris Haaser
2015-May-04 11:59 UTC
AW: Tinc connection does not come up when started as Windows service
Hey, it's been a while, but I have finally gotten around to testing that. The problem does not seem to be tinc itself, but the TAP adapter. Tinc writes key exchanges and packets and so on into its log, but Windows seems to have forgotten all about the tinc adapter - ipconfig does not show an entry for it, there are no routes for it etc. Just opening the TCP/IP properties in control center brings the connection back up. Since the Win-TAP driver bundled with tinc seems to be quite old, I will try upgrading that from the OpenVPN site and see if it runs more stable. Best regards, Chris -----Urspr?ngliche Nachricht----- Von: tinc [mailto:tinc-bounces at tinc-vpn.org] Im Auftrag von Guus Sliepen Gesendet: Mittwoch, 18. M?rz 2015 19:31 An: tinc at tinc-vpn.org Betreff: Re: Tinc connection does not come up when started as Windows service On Wed, Mar 18, 2015 at 12:10:40PM +0000, Chris Haaser wrote:> I have a tinc mesh consisting of 6 Windows servers. All are configured identically and all but one work without any problems. > On that one server however the tinc service starts, but the connection does not come up (no packets get routed, ping times out). > If I stop and start the service manually, the connection is up in like half a second. If I start tinc on the command line, it works every time. > > Is there anything I can do to debug tinc when running as a service? I tried setting it to startup automatically / delayed, but that didn't work either.The easiest way is to tell tinc to log to a file. Start it like this: tincd -n <netname> --logfile=C:\Temp\tinc.log -d5 Then check what is in the logfile. -- Met vriendelijke groet / with kind regards, Guus Sliepen <guus at tinc-vpn.org>
Seemingly Similar Threads
- Tinc connection does not come up when started as Windows service
- Tinc connection does not come up when started as Windows service
- AW: AW: issue with tinc and libvirt / Network is already in use by interface tun0
- AW: issue with tinc and libvirt / Network is already in use by interface tun0
- AW: issue with tinc and libvirt / Network is already in use by interface tun0