Template:Networking rutos manual ntp: Difference between revisions
Gytispieze (talk | contribs) No edit summary |
No edit summary |
||
Line 56: | Line 56: | ||
This section is used to configure NTP client, server and time servers. | This section is used to configure NTP client, server and time servers. | ||
=== | ===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 70: | Line 70: | ||
<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 78: | Line 83: | ||
<tr> | <tr> | ||
<td>Update interval (in seconds)</td> | <td>Update interval (in seconds)</td> | ||
<td>integer; default: <b> | <td>integer; default: <b>86400</b></td> | ||
<td> | <td>How often the device will update the time.</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 85: | Line 90: | ||
<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 90: | Line 100: | ||
<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> | <tr> |
Revision as of 10:07, 23 November 2022
Template:Networking rutos manual fw disclosure
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 to browser time, if your device time is not correct. Note - to synchronize to correct time zone you first have to click Save & apply, as Sync with browser button checks currently saved time zone. |
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]]