Gestione NTP con DNS-323

From RVM Wiki
Revision as of 16:59, 14 November 2009 by Gabriele.vivinetto (talk | contribs) (New page: * Installare ffp * Installare NTP * Customizzare la timezone: vi /ffp/etc/fun_plug.local <pre> ... # Setup clock stuffs # Adjust clock speed to reduce drift # See 'adjtimex -h' for avai...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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