Template:Networking rutos manual ntp: Difference between revisions

From Teltonika Networks Wiki
No edit summary
m (Text replacement - "Template: Networking_rutos_manual_latest_fw" to "Template: Networking_device_manual_latest_fw")
Tags: Mobile edit Mobile web edit
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<!-- Template uses {{{name}}}, {{{series}}} {{{gps}}}(ifeq 1)  -->
{{Template: Networking_device_manual_fw_disclosure
{{Template:Networking_rutos_manual_fw_disclosure
| series = {{{series}}}
| fw_version = {{{series}}}{{#ifeq:{{{name}}}|RUT241|M|}}_R_00.07.01
| name  = {{{name}}}
| series    = {{{series}}}
| fw_version ={{Template: Networking_device_manual_latest_fw
| series = {{{series}}}
| name  = {{{name}}}
}}
}}
}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} NTP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT9XX_R_00.06.08.5 and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT9 |<br><i><b>Note</b>: <b>[[{{{name}}} NTP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT9XX}} and earlier) user manual page.</i>|}}
{{#ifeq: {{{series}}} | RUT2 |
{{#ifeq: {{{series}}} | RUT2 |<br><i><b>Note</b>: <b>[[{{{name}}} NTP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version {{Template: Networking_device_manual_latest_fw | series = RUT2XX}} and earlier) user manual page.</i>|}}
{{#switch: {{{name}}}
  | RUT241 =
  | #default =
<br><i><b>Note</b>: <b>[[{{{name}}} NTP (legacy WebUI)|click here]]</b> for the old style WebUI (FW version RUT2XX_R_00.01.14.4 and earlier) user manual page.</i>}}
|}}
__TOC__
__TOC__
==Summary==
==Summary==
Line 39: Line 37:
       <td>Sync with browser</td>
       <td>Sync with browser</td>
       <td>-(interactive button)</td>
       <td>-(interactive button)</td>
       <td>Click to synchronize device time to browser time, if your device time is not correct. <br>
       <td>Click to synchronize device time and time zone to browsers, if your device time or time zone is not correct. <br>
          <b>Note</b> - to synchronize to correct time zone you first have to click <b>Save & apply</b>, as <b>Sync with browser</b> button checks currently saved time zone.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 60: Line 57:
This section is used to configure NTP client, server and time servers.
This section is used to configure NTP client, server and time servers.


===NTP Client===
===Time Synchronization===
----
----
[[File:Networking_rutos_ntp_ntp_client_mobile_{{{mobile}}}.png|border|class=tlt-border]]
[[File:Networking_rutos_ntp_ntp_client_mobile_{{{mobile}}}_v2.png|border|class=tlt-border]]


<table class="nd-mantable">
<table class="nd-mantable">
Line 74: Line 71:
         <td>off | on; default: <b>on</b></td>
         <td>off | on; default: <b>on</b></td>
         <td>Turns NTP on or off.</td>
         <td>Turns NTP on or off.</td>
    </tr>
    <tr>
    <td>Save time to flash</td>
        <td>off | on; default: <b>off</b></td>
        <td>Saves last synchronized time to flash memory.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 82: Line 84:
     <tr>
     <tr>
       <td>Update interval (in seconds)</td>
       <td>Update interval (in seconds)</td>
       <td>integer; default: <b>600</b></td>
       <td>integer; default: <b>86400</b></td>
       <td>Defines how often the device will update the time.</td>
       <td>How often the device will update the time.</td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 89: Line 91:
         <td>integer; default: <b>0</b></td>
         <td>integer; default: <b>0</b></td>
         <td>Adjusts the minor drift of the clock so that it will run more accurately.</td>
         <td>Adjusts the minor drift of the clock so that it will run more accurately.</td>
    </tr>
    <tr>
    <td>Count of time synchronizations</td>
        <td>integer; default: <b>none</b></td>
        <td>The amount of times the device will perform time synchronizations. Leave empty in order to set to infinite.</td>
     </tr>{{#ifeq: {{{mobile}}} | 1 |
     </tr>{{#ifeq: {{{mobile}}} | 1 |
     <tr>
     <tr>
Line 94: Line 101:
         <td>off {{!}} on; default: <b>off</b></td>
         <td>off {{!}} on; default: <b>off</b></td>
         <td>Synchronizes time with mobile operator's base station.</td>
         <td>Synchronizes time with mobile operator's base station.</td>
    </tr>
    <tr>
    <td>Timezone Synchronization</td>
        <td>off {{!}} on; default: <b>off</b></td>
        <td>Sync time data with mobile operator.</td>
     </tr>|}}
     </tr>|}}
    <tr>
      <td>Hostname</td>
      <td>ip | url; default: <b>0.openwrt.pool.ntp.org</b></td>
      <td>NTP servers that this device uses to sync time.</td>
    </tr>
</table>
</table>
===Time servers===
----
The <b>Time Servers</b> section displays the NTP servers that the device uses. You are provided with 4 default time servers (as seen in the example below), but you can also add custom time servers by clicking the "Add" button or you can edit the given time servers.
[[File:Networking_rutos_ntp_ntp_time_servers.png|border|class=tlt-border]]


===NTP Server===
===NTP Server===
Line 109: Line 120:
[[File:Networking_rutos_ntp_ntp_server.png|border|class=tlt-border]]
[[File:Networking_rutos_ntp_ntp_server.png|border|class=tlt-border]]


==NTPD==
The <b>NTPD</b> program is an operating system daemon that synchronizes the system clock to remote NTP time servers or local reference clocks. NTPD includes the ability to use this to keep your clock in sync and will run more accurately than a clock on a device not running NTPD. NTPD will also use several servers to improve accuracy. It is a complete implementation of NTP version 4 defined by RFC-5905, but also retains compatible with version 3 defined by RFC-1305 and versions 1 and 2, defined by RFC-1059 and RFC-1119, respectively.
[[File:Networking_rutos_ntp_ntpd.png|border|class=tlt-border]]
<table class="nd-mantable">
    <tr>
        <th>Field</th>
      <th>Value</th>
      <th>Description</th>
    </tr>
    <tr>
    <td>Enable NTPD</td>
        <td>off | on; default: <b>off</b></td>
        <td>Turns NTPD on or off.</td>
    </tr>
    <tr>
    <td>Enable NTP config from file</td>
        <td>off | on; default: <b>off</b></td>
        <td>Run NTPD with uploaded configuration file.</td>
    </tr>
    <tr>
      <td>NTP configuration file</td>
      <td>.conf file; default: <b>none</b></td>
      <td>Upload a custom configuration file.</td>
    </tr>
    <tr>
      <td>Server</td>
      <td>ip | url; default: <b>0.openwrt.pool.ntp.org</b></td>
      <td>NTP servers that this device uses to sync time.</td>
    </tr>
    <tr>
      <td>Enable Server</td>
      <td>off | on; default: <b>off</b></td>
      <td>Enables NTPD server to make the router act as an NTP server so that it can provide time synchronization services for other network devices.</td>
    </tr>
</table>
[[Category:{{{name}}} Services section]]
[[Category:{{{name}}} Services section]]

Latest revision as of 11:44, 24 October 2023

The information in this page is updated in accordance with firmware version .


Summary

Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. This chapter is an overview of the NTP section for {{{name}}} devices.

General

The Time Synchronization section lets you select time zone and synchronize the time.

The figure below is an example of the Time Synchronization section and the table below provides information about the fields contained in that section:

[[File:Networking_rutos_ntp_general_gps_{{{gps}}}.png|border|class=tlt-border]]

Field Value Description
Current system time time; default: none Current local time of the device.
Sync with browser -(interactive button) Click to synchronize device time and time zone to browsers, if your device time or time zone is not correct.
Time zone time zone; default: UTC The device will sync time in accordance with the selected time zone.

NTP

This section is used to configure NTP client, server and time servers.

Time Synchronization


[[File:Networking_rutos_ntp_ntp_client_mobile_{{{mobile}}}_v2.png|border|class=tlt-border]]

Field Value Description
Enable NTP Client off | on; default: on Turns NTP on or off.
Save time to flash off | on; default: off Saves last synchronized time to flash memory.
Force Servers off | on; default: off Forces unreliable NTP servers.
Update interval (in seconds) integer; default: 86400 How often the device will update the time.
Offset frequency integer; default: 0 Adjusts the minor drift of the clock so that it will run more accurately.
Count of time synchronizations integer; default: none The amount of times the device will perform time synchronizations. Leave empty in order to set to infinite.
Hostname ip | url; default: 0.openwrt.pool.ntp.org NTP servers that this device uses to sync time.

NTP Server


The device can also act as an NTP Server, providing clock synchronization to other devices in the network. From this section you can turn this feature on or off:

NTPD

The NTPD program is an operating system daemon that synchronizes the system clock to remote NTP time servers or local reference clocks. NTPD includes the ability to use this to keep your clock in sync and will run more accurately than a clock on a device not running NTPD. NTPD will also use several servers to improve accuracy. It is a complete implementation of NTP version 4 defined by RFC-5905, but also retains compatible with version 3 defined by RFC-1305 and versions 1 and 2, defined by RFC-1059 and RFC-1119, respectively.

Field Value Description
Enable NTPD off | on; default: off Turns NTPD on or off.
Enable NTP config from file off | on; default: off Run NTPD with uploaded configuration file.
NTP configuration file .conf file; default: none Upload a custom configuration file.
Server ip | url; default: 0.openwrt.pool.ntp.org NTP servers that this device uses to sync time.
Enable Server off | on; default: off Enables NTPD server to make the router act as an NTP server so that it can provide time synchronization services for other network devices.

[[Category:{{{name}}} Services section]]