12 063
правки
(Новая страница: «== NTPD == Ntpd service is used as application SOFTWARE. By default, the ntpd server is configured to receive time from other servers on the Internet using ntp. T…») |
(Новая страница: «=== Ntpd setting === In ntpd server settings we need to specify two new sources of exact time: NMEA and PPS.») |
||
(не показано 7 промежуточных версий этого же участника) | |||
Строка 37: | Строка 37: | ||
Ntpd service is used as application SOFTWARE. By default, the ntpd server is configured to receive time from other servers on the Internet using ntp. To use the time signals from the GPS/GLONASS module, a number of configuration steps are required (see below). | Ntpd service is used as application SOFTWARE. By default, the ntpd server is configured to receive time from other servers on the Internet using ntp. To use the time signals from the GPS/GLONASS module, a number of configuration steps are required (see below). | ||
=== | === Current accurate time sources for NPTD === | ||
[[File:Ntpqp_inint.png|700px|thumb|right|]] | [[File:Ntpqp_inint.png|700px|thumb|right|]] | ||
The exact time sources are marked with special characters: | |||
{| class="wikitable" | {| class="wikitable" | ||
! | ! Symbol !! Value | ||
|- | |- | ||
| * || | | * || current source used | ||
|- | |- | ||
| # || | | # || source selected but too remote | ||
|- | |- | ||
| o || | | o || source selected, PPS signal used | ||
|- | |- | ||
| + || | | + || source selected, ready to use | ||
|- | |- | ||
| x || | | x || source rejected | ||
|- | |- | ||
| . || | | . || source selected last from the list of candidates | ||
|- | |- | ||
| - || | | - || source rejected by selection algorithm | ||
|- | |- | ||
| | | space || source rejected | ||
|} | |} | ||
Note that the ntpd 28 driver (shared memory driver), see below, which allows the use of gpsd functions, is not marked with an "o", even if PPS is used. If it works correctly, it will be marked with "*". | |||
== GPSD == | == GPSD == | ||
Daemon gpsd is a unified Protocol of interaction with the receivers of the satellite signals of GPS/GLONASS. In our case, we will use it as an intermediate layer between the module and the ntpd server (driver with code 28). | |||
The daemon is installed by the command | |||
<pre>apt-get install gpsd</pre> | <pre>apt-get install gpsd</pre> | ||
== | === Settings === | ||
=== | === gpsd settings === | ||
=== | === Ntpd setting === | ||
In ntpd server settings we need to specify two new sources of exact time: NMEA and PPS. |
правки