version:
4.2.6p2@1.2194-o Fri Dec 26 13:08:59 UTC 2014 (1)
config:
# /etc/ntp.conf, configuration for ntpd; see ntp.conf(5) for help
# This configuration file is automatically generated by the Vyatta
# configuration subsystem. Please do not manually edit it.
#
# The first section of this file consists of static parameters
# that can not be changed via the Vyatta configuration subsystem.
#
driftfile /var/lib/ntp/ntp.drift
# By default, exchange time with everybody, but don't allow configuration.
restrict -4 default kod notrap nomodify nopeer noquery
restrict -6 default kod notrap nomodify nopeer noquery
# Local users may interrogate the ntp server more closely.
restrict 127.0.0.1
restrict ::1
#
# The remainder of this file is for parameters that are set up via
# the Vyatta configuration subsystem.
#
server 192.168.250.70
excute:
/usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 102:107
operate:
date -s to modify time (behind the current time more than 1000 secs)
discover:
1.sometimes it can sync time
2.when i restart ntp, it always sync time right