[ntp:questions] Re: Problems with the Timezone
Marvin Garcia
marvingm at gmail.com
Wed May 10 17:46:36 UTC 2006
This is what i have en the ntp.conf file.
server 0.north-america.pool.ntp.org
server 1.north-america.pool.ntp.org
server 2.north-america.pool.ntp.org
broadcast 224.0.1.1 ttl 4
enable auth monitor
driftfile /var/ntp/ntp.drift
statsdir /var/ntp/ntpstats/
filegen peerstats file peerstats type day enable
filegen loopstats file loopstats type day enable
filegen clockstats file clockstats type day enable
keys /etc/inet/ntp.keys
trustedkey 0
requestkey 0
controlkey 0
Look this again
root at snbntp0201 # date
Wed May 10 21:41:57 GMT 2006
root at snbntp0201 # date -u
Wed May 10 17:42:00 GMT 2006
root at snbntp0201 # echo $TZ
GMT-4
if you see my timezone var is set to GMT-4 (this is the one that
belongs to me location). the system date (Wed May 10 21:41:57 GMT
2006) should be (Wed May 10 17:42:00 GMT 2006) - 4 = Wed May 10
13:42:00 GMT 2006 not (Wed May 10 17:42:00 GMT 2006 )+ 4 = Wed May 10
21:41:57 GMT 2006, because my GMT is set to GMT-4.
More information about the questions
mailing list