<?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[Onion Omega2+ as NTP client ?]]></title><description><![CDATA[<p dir="auto">I want to set up a spare Omega2+ with OLED display as a dedicated NTP client network clock.</p>
<p dir="auto">I run a GPS-based Raspberry Pi as an NTP server and have set up my Omega2 devices to get the time from that. So far so good. However, I'm trying to find an NTP client using opkg and can't find one.. What do I need to use?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>http://community.onion.io/topic/3652/onion-omega2-as-ntp-client</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 11:32:30 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/3652.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 07 Jul 2019 18:41:41 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Onion Omega2+ as NTP client ? on Sun, 07 Jul 2019 18:41:41 GMT]]></title><description><![CDATA[<p dir="auto">I want to set up a spare Omega2+ with OLED display as a dedicated NTP client network clock.</p>
<p dir="auto">I run a GPS-based Raspberry Pi as an NTP server and have set up my Omega2 devices to get the time from that. So far so good. However, I'm trying to find an NTP client using opkg and can't find one.. What do I need to use?</p>
<p dir="auto">Thanks in advance.</p>
]]></description><link>http://community.onion.io/post/19723</link><guid isPermaLink="true">http://community.onion.io/post/19723</guid><dc:creator><![CDATA[peter garner 0]]></dc:creator><pubDate>Sun, 07 Jul 2019 18:41:41 GMT</pubDate></item><item><title><![CDATA[Reply to Onion Omega2+ as NTP client ? on Sun, 07 Jul 2019 19:22:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6414">@peter-garner-0</a> there is a <code>ntpd</code> installed and running already as client. In the init scripts it is called <code>sysntpd</code>, because it is a part of the openwrt base system.</p>
<p dir="auto">The command line utility is named <code>ntpd</code> (technically it is part of busybox, like most command line tools are in openwrt).</p>
<p dir="auto">Ususally, you don't need to manually call it, as it is set up to run at system start automatically. It synchronizes the time from the openwrt/lede pool of ntp servers by default. You can see these using openwrt's <a href="https://openwrt.org/docs/guide-user/base-system/uci" rel="nofollow">UCI configuration</a> tool:</p>
<pre><code># show system's ntp settings
uci show system.ntp
</code></pre>
<p dir="auto">You'll get something like:</p>
<pre><code>system.ntp=timeserver
system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
system.ntp.enabled='1'
system.ntp.enable_server='0'
</code></pre>
<p dir="auto">If you want to change the ntp servers, you can do that using UCI as well:</p>
<pre><code># delete existing list of servers
uci set system.ntp.server=
# add one or more servers
uci add_list system.ntp.server='my-ntp-server.org'
uci add_list system.ntp.server='my-other-ntp-server.org'
# commit the changes
uci commit
# have (sys)ntpd reload its own config
/etc/init.d/sysntpd reload</code></pre>
]]></description><link>http://community.onion.io/post/19724</link><guid isPermaLink="true">http://community.onion.io/post/19724</guid><dc:creator><![CDATA[luz]]></dc:creator><pubDate>Sun, 07 Jul 2019 19:22:41 GMT</pubDate></item><item><title><![CDATA[Reply to Onion Omega2+ as NTP client ? on Mon, 08 Jul 2019 07:15:49 GMT]]></title><description><![CDATA[<p dir="auto">I would also add that you need to ensure you have correctly configured your local timezone or ntp will mess up your time:</p>
<p dir="auto">uci set system.@system[0].timezone='UTC'<br />
uci commit system<br />
reload_config</p>
<p dir="auto">If you're outside the US as I am the timezone is a little more complex:</p>
<p dir="auto">uci set system.@system[0].timezone='AEST-10AEDT,M10.1.0,M4.1.0/3'<br />
uci set system.@system[0].zonename='Canberra, Melbourne, Sydney'</p>
]]></description><link>http://community.onion.io/post/19730</link><guid isPermaLink="true">http://community.onion.io/post/19730</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Mon, 08 Jul 2019 07:15:49 GMT</pubDate></item><item><title><![CDATA[Reply to Onion Omega2+ as NTP client ? on Mon, 08 Jul 2019 08:48:49 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/1033">@luz</a> said in <a href="/post/19724">Onion Omega2+ as NTP client ?</a>:</p>
<blockquote>
<p dir="auto">there is a ntpd installed and running already as client</p>
</blockquote>
<p dir="auto">Ah, I see! That makes sense now. So all I really need to do is to write the time to the OLED at regular intervals - every minute is good enough - and ntpd will take care of fetching the time.</p>
<p dir="auto">Great! Thanks ...</p>
]]></description><link>http://community.onion.io/post/19732</link><guid isPermaLink="true">http://community.onion.io/post/19732</guid><dc:creator><![CDATA[peter garner 0]]></dc:creator><pubDate>Mon, 08 Jul 2019 08:48:49 GMT</pubDate></item></channel></rss>