|
|
(8 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| ==Summary==
| | {{Template: Networking_rutos_manual_ntp |
| | | <!------------------------DEVICE-----------------------> |
| '''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 service section of [[Network products|RUTxxx routers]].
| | | name = RUT900 |
| | | | series = RUT9 |
| ==General==
| | <!----------------------SEPARATORS---------------------> |
| | | | gps = 0 |
| The '''Time Synchronization''' section is used to configure general router time settings, like selecting the local time zone, setting a time update interval, synchronizing the time, etc.
| | | mobile = 1 |
| | | }} |
| [[File:Services ntp general v2.png]]
| |
| | |
| {| class="wikitable" | |
| |+
| |
| ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | FIELD NAME
| |
| ! style="width: 250px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | VALUE | |
| ! style="width: 579px; border: 1px solid white; border-bottom: 2px solid #0054A6; background: white; color: #0054A6; text-align: left;" | DESCRIPTION
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Current system time
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | time; Default: '''current time'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Current local time of the router
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Time zone
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | time zone; Default: '''UTC'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Time zone of the country where the router is located
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Enable NTP
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''no'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | SO/IEC 3166 alpha2 country codes as defined in ISO 3166-1 standard
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Force servers
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''yes'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Forces unreliable NTP servers
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Update interval (in seconds)
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: '''3660''' | |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | How often the router updates systems time | |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Save time to flash | |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''yes'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Saves last synchronized time to flash memory
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Count of time synchronizations
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: " "
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Total amount of times that router will do the synchronization.
| |
| '''NOTE:''' If left blank - the count will be infinite
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | GPS synchronization
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | yes {{!}} no; Default: '''no'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Enables periodic time synchronization of the system using the GPS module (does not require internet connection)
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Offset frequency
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | integer; Default: '''0'''
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Adjusts the minor drift of the clock so that it will run more accurately
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Button: Sync with GPS
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | -
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Synchronizes the router's time with your GPS time
| |
| |-
| |
| ! style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Button: Sync with browser
| |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | - | |
| | style="border: 1px solid white; border-bottom: 2px solid #E8E8E8; text-align: left; vertical-align: top; background: white;" | Synchronizes the router's time with your browser's time | |
| |-
| |
| |}
| |
| | |
| ==NTP Server==
| |
| | |
| The router 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.
| |
| | |
| [[File:Services ntp general ntp server.png]]
| |
| | |
| ==Time Servers==
| |
| | |
| The '''Time Servers''' section displays the time servers that the router 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:Services ntp time servers v2.png]]
| |
The information in this page is updated in accordance with firmware version .
Note: click here for the old style WebUI (FW version RUT9XX_R_00.06.09.5 and earlier) user manual page.
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 RUT900 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:
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
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. |
Operator Station Synchronization |
off | on; default: off |
Synchronizes time with mobile operator's base station. |
Timezone Synchronization |
off | on; default: off |
Sync time data with mobile operator. |
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. |