Gestione NTP con DNS-323

From RVM Wiki
Jump to navigation Jump to search
  • Installare ffp
  • Installare NTP
  • Customizzare la timezone:
vi /ffp/etc/fun_plug.local
...
# Setup clock stuffs
# Adjust clock speed to reduce drift
# See 'adjtimex -h' for available options.
# 9965 works for my DNS-323, ymmv.
adjtimex -t 9965

# Set local timezone
# For a list of timezone strings see: 
# http://www.nas-tweaks.net/CH3SNAS:Tutorials/ntp#Appendix:_Example_Timezone_Str

# Europe/Rome
echo 'CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00' >/etc/TZ

# This removes firmware cronjobs that interfere with ntpd.
crontab -l | grep -vw '/usr/sbin/daylight' | grep -vw '/usr/sbin/rtc' | crontab -

  • Riavviare.

Riferimenti