<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Time taken to connect to VPN is inconsistent and long]]></title><description><![CDATA[<p dir="auto">Hi devs</p>
<p dir="auto">Im running v0.50 of the software suite on VOXL. I have my own OpenVPN server and am using the LTEv2 board on the VOXL.</p>
<p dir="auto">I noticed that the time taken for the modem and time-sync (needed so that OpenVPN can validate the certs) services to complete is inconsistent and long. Sometimes it takes 2mins and at times up to 4mins.</p>
<p dir="auto">I also noticed that the voxl-time-sync service takes a very long time to complete; almost 1-1.5mins.</p>
<p dir="auto">May i know if there is a way to speed up the process?<br />
I noticed that while /etc/systemd/timesyncd.conf exists, ntpd.service does not exist?<br />
<em>ntpd.service<br />
Loaded: not-found (Reason: No such file or directory)<br />
Active: inactive (dead)</em></p>
<p dir="auto">Hope you guys can help!</p>
]]></description><link>https://forum.modalai.com/topic/899/time-taken-to-connect-to-vpn-is-inconsistent-and-long</link><generator>RSS for Node</generator><lastBuildDate>Tue, 10 Nov 2026 20:49:57 GMT</lastBuildDate><atom:link href="https://forum.modalai.com/topic/899.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 28 Apr 2022 16:00:17 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Time taken to connect to VPN is inconsistent and long on Sat, 30 Apr 2022 22:24:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hmlow" aria-label="Profile: hmlow">@<bdi>hmlow</bdi></a> Great, thanks for looking into that!</p>
]]></description><link>https://forum.modalai.com/post/4225</link><guid isPermaLink="true">https://forum.modalai.com/post/4225</guid><dc:creator><![CDATA[Eric Katzfey]]></dc:creator><pubDate>Sat, 30 Apr 2022 22:24:46 GMT</pubDate></item><item><title><![CDATA[Reply to Time taken to connect to VPN is inconsistent and long on Sat, 30 Apr 2022 05:04:26 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eric-katzfey" aria-label="Profile: Eric-Katzfey">@<bdi>Eric-Katzfey</bdi></a> said in <a href="/post/4210">Time taken to connect to VPN is inconsistent and long</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hmlow" aria-label="Profile: hmlow">@<bdi>hmlow</bdi></a> Yes, it is the ntp time sync service that takes so long. And you cannot connect to the VPN until you have a reasonable system time otherwise the certificate authentication will fail. If you could figure out how to make it happen faster that would be great!</p>
</blockquote>
<p dir="auto">I think the process is long because chronyd is meant to make small adjustments over time. So when the VOXL boots up with a sys date as 1970, chronyd (even with makestep) doesnt work well.</p>
<p dir="auto">I installed ntpd and ran it with the -q command to make that one large stepped correction when the modem is connected. chronyd.service starts only after ntpd -q completes and takes over to track and correct for time difference for the remainder of the flight.</p>
<p dir="auto">Time taken from boot to openvpn connection is now about 1min 45s which is good enough for me.</p>
]]></description><link>https://forum.modalai.com/post/4223</link><guid isPermaLink="true">https://forum.modalai.com/post/4223</guid><dc:creator><![CDATA[hmlow]]></dc:creator><pubDate>Sat, 30 Apr 2022 05:04:26 GMT</pubDate></item><item><title><![CDATA[Reply to Time taken to connect to VPN is inconsistent and long on Thu, 28 Apr 2022 16:43:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hmlow" aria-label="Profile: hmlow">@<bdi>hmlow</bdi></a> chronyd:</p>
<pre><code class="language-/lib/systemd/system">● chronyd.service - NTP client/server
   Loaded: loaded (/lib/systemd/system/chronyd.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 1970-01-01 00:00:08 UTC; 1min 16s ago
  Process: 2334 ExecStart=/usr/sbin/chronyd $OPTIONS (code=exited, status=0/SUCCESS)
 Main PID: 2350 (chronyd)
   CGroup: /system.slice/chronyd.service
           └─2350 /usr/sbin/chronyd

Jan 01 00:00:07 apq8096 systemd[1]: Starting NTP client/server...
Jan 01 00:00:08 apq8096 chronyd[2350]: chronyd version 2.4 starting (+CMDMON +NTP +REFCLOCK +RTC -PRIVDROP -SCFILTER -SECHASH +ASYNCDNS +IPV6 -DEBUG)
Jan 01 00:00:08 apq8096 systemd[1]: Started NTP client/server.
</code></pre>
]]></description><link>https://forum.modalai.com/post/4212</link><guid isPermaLink="true">https://forum.modalai.com/post/4212</guid><dc:creator><![CDATA[Eric Katzfey]]></dc:creator><pubDate>Thu, 28 Apr 2022 16:43:44 GMT</pubDate></item><item><title><![CDATA[Reply to Time taken to connect to VPN is inconsistent and long on Thu, 28 Apr 2022 16:34:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/eric-katzfey" aria-label="Profile: Eric-Katzfey">@<bdi>Eric-Katzfey</bdi></a> but what does VOXL actually uses for the time sync?</p>
<p dir="auto">If I'm not mistaken voxl-time-sync is just a simple python script to grab updated system date and time?</p>
]]></description><link>https://forum.modalai.com/post/4211</link><guid isPermaLink="true">https://forum.modalai.com/post/4211</guid><dc:creator><![CDATA[hmlow]]></dc:creator><pubDate>Thu, 28 Apr 2022 16:34:27 GMT</pubDate></item><item><title><![CDATA[Reply to Time taken to connect to VPN is inconsistent and long on Thu, 28 Apr 2022 16:26:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/hmlow" aria-label="Profile: hmlow">@<bdi>hmlow</bdi></a> Yes, it is the ntp time sync service that takes so long. And you cannot connect to the VPN until you have a reasonable system time otherwise the certificate authentication will fail. If you could figure out how to make it happen faster that would be great!</p>
]]></description><link>https://forum.modalai.com/post/4210</link><guid isPermaLink="true">https://forum.modalai.com/post/4210</guid><dc:creator><![CDATA[Eric Katzfey]]></dc:creator><pubDate>Thu, 28 Apr 2022 16:26:03 GMT</pubDate></item></channel></rss>