versalogic_vl-mpeu-g2_ntp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
versalogic_vl-mpeu-g2_ntp [2014/06/21 18:49] – [PC Engines APU / Versalogic - NTP server] admin | versalogic_vl-mpeu-g2_ntp [2015/01/24 17:40] – [Leap second file] admin | ||
---|---|---|---|
Line 136: | Line 136: | ||
* Install lftp. < | * Install lftp. < | ||
- | * Create leap second download script | + | * Create leap second download script |
- | + | ||
- | # This script will download the latest leap second file, | + | |
- | # update the NTP configuration and restart ntpd. | + | |
- | + | ||
- | # Leap second file location | + | |
- | # | + | |
- | leapremote=" | + | |
- | + | ||
- | # Local file name | + | |
- | leaplocaldir="/ | + | |
- | leaplocalfile=" | + | |
- | + | ||
- | # Get latest leap second file | + | |
- | / | + | |
- | if [ $? -ne 0 ]; then | + | |
- | echo "FTP problem, exiting." | + | |
- | exit 1 | + | |
- | fi | + | |
- | + | ||
- | if [ -f " | + | |
- | echo "File $leaplocaldir$(cat /tmp/leap) already exists. Not downloading." | + | |
- | else | + | |
- | cd " | + | |
- | / | + | |
- | ln -sfn " | + | |
- | service ntp restart | + | |
- | fi</ | + | |
- | * Change executable mode < | + | |
- | * Download new file weekly. Create **/ | + | |
- | + | ||
- | / | + | |
* Change executable mode < | * Change executable mode < | ||
====Configure, | ====Configure, | ||
Line 194: | Line 163: | ||
===Recommended settings for timing applications=== | ===Recommended settings for timing applications=== | ||
* SBAS -> Subsystem: Disabled. | * SBAS -> Subsystem: Disabled. | ||
- | * (not supported | + | * (not supported |
* NAV5 -> Dynamic Model: Stationary | * NAV5 -> Dynamic Model: Stationary | ||
* NAV5 -> Min SV Elevation: 10 | * NAV5 -> Min SV Elevation: 10 | ||
* Save config, restart receiver. Receiver -> Action -> Cold start | * Save config, restart receiver. Receiver -> Action -> Cold start |
versalogic_vl-mpeu-g2_ntp.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1