From Wanos Wiki
Jump to: navigation, search
(Created page with "==Configure NTP== In some countries, NTP is a legal requirement. By default, Wanos is not configured with NTP servers but you can configure it by following the steps below....")
 
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<font size=5> Document migrated. An updated [http://wanos.co/docs/docs/wanos-admin-guide/optional-configuration/configure-ntp/ Configure NTP Guide] can be found in the [http://wanos.co/docs Wanos Documentation site] </font>
 +
<font color=#dddddd>
 +
 
==Configure NTP==
 
==Configure NTP==
  
In some countries, NTP is a legal requirement. By default, Wanos is not configured with NTP servers but you can configure it by following the steps below.
+
In some countries, NTP is a legal requirement. By default, Wanos is not configured with NTP servers but the administrator can configure it by using the following steps.
  
 
<li>Log into your Wanos Appliance via SSH.
 
<li>Log into your Wanos Appliance via SSH.
Line 9: Line 12:
 
</pre>
 
</pre>
 
<li>Look for '''NTPD_SERVER=''', type '''A''' or '''I''' to start editing and add your preferred NTP server.
 
<li>Look for '''NTPD_SERVER=''', type '''A''' or '''I''' to start editing and add your preferred NTP server.
<li>Save your settings by typing the following:
+
<li>To save your settings, do the following: <br />
<pre>
+
Hit the '''ESC''' key to exit edit mode then type:
ESC
+
</pre>
+
To exit edit mode then:
+
 
<pre>
 
<pre>
 
:wq! to save.
 
:wq! to save.
 
</pre>
 
</pre>
 
<br />
 
<br />
You can visit http://support.ntp.org/bin/view/Servers/WebHome for more information.
+
NTP automatically synchronizes every 2am everyday via crontab.
 +
 
 +
To manually synchronize time and date to NTP servers, run the command:
 +
<pre>
 +
sudo ntpd -p <NTP Server>
 +
</pre>
 +
e.g. sudo ntpd -p pool.ntp.org
 +
 
 +
Visit http://support.ntp.org/bin/view/Servers/WebHome for more information.
 +
 
 +
</font>

Latest revision as of 12:04, 9 February 2017

Document migrated. An updated Configure NTP Guide can be found in the Wanos Documentation site

Configure NTP

In some countries, NTP is a legal requirement. By default, Wanos is not configured with NTP servers but the administrator can configure it by using the following steps.

  • Log into your Wanos Appliance via SSH.
  • Enter the code below:
    vi /etc/tce/wanos/wanos.conf
    
  • Look for NTPD_SERVER=, type A or I to start editing and add your preferred NTP server.
  • To save your settings, do the following:
    Hit the ESC key to exit edit mode then type:
    :wq! to save.
    


    NTP automatically synchronizes every 2am everyday via crontab.

    To manually synchronize time and date to NTP servers, run the command:

    sudo ntpd -p <NTP Server>
    

    e.g. sudo ntpd -p pool.ntp.org

    Visit http://support.ntp.org/bin/view/Servers/WebHome for more information.