Var lib ntp drift not updating

If you don’t have super-good signal on the site, definitely buy a dongle with external antenna! firmwares can be old, making frequent disconnections, or power saving enabled, see my response here This works for me – https://paste.k3a.me/view/449a6f1c . Here is the script (/usr/local/bin/sshtunnel.sh) https://paste.k3a.me/view/a7e07bb1. Rc-script for it is here (/etc/init.d/sshtunnel) https://paste.k3a.me/view/7d74f0ae.All RC scripts must be writable so make sure to do ‘chmod a x script’ on them.This could # be tightened as well, but to do so would effect some of # the administrative functions.

I then describe how to configure NTP for your environment, and adding a GPS/PPS receiver to convert your box into a stratum-1 NTP server including the operating system updates needed.

Before anything else, you need to assign the correct time zone.

To get the current configuration, type: # timedatectl Local time: Sat 2015-11-07 EST Universal time: Sat 2015-11-07 UTC RTC time: Sat 2015-11-07 Timezone: America/New_York (EST, -0500) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: no Last DST change: DST ended at Sun 2015-11-01 EDT Sun 2015-11-01 EST Next DST change: DST begins (the clock jumps one hour forward) at Sun 2016-03-13 EST Sun 2016-03-13 EDT# timedatectl list-timezones Africa/Abidjan Africa/Accra Africa/Addis_Ababa ... Pacific/Tongatapu Pacific/Wake Pacific/Wallis # timedatectl Local time: Sat 2015-11-07 PST Universal time: Sat 2015-11-07 UTC RTC time: Sat 2015-11-07 Timezone: America/Los_Angeles (PST, -0800) NTP enabled: yes NTP synchronized: yes RTC in local TZ: no DST active: no Last DST change: DST ended at Sun 2015-11-01 PDT Sun 2015-11-01 PST Next DST change: DST begins (the clock jumps one hour forward) at Sun 2016-03-13 PST Sun 2016-03-13 PDT # For more information about this file, see the man pages # ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).

(Please don’t mind my English mistakes, I wrote this article in a hurry, haven’t even re-read it myself yet.) Of course, the first thing you need is proper connectivity, especially if you have your RPi on a remote location.

This seemed easy – just use wifi dongle, set up wpa_supplicant and all done. There are many wifi dongles and most of them are very bad (poor signal quality). I set up SSH tunnel (reverse port forwarding) because none of the RPis had a public IP address.

220

Leave a Reply

  1. cam dating network web 02-Sep-2016 18:30

    Hot chat room for all hot chattters and find hot girls with great shape.