[ NTP
] Network Time
Protocol
Visit Time
Synchronization Server to get the detail information.
Install for port:
- Get the latest releases
.tar.gz from Time
Synchronization Server or releases .tar.gz
from NCTU
.
-
- change to extracted
directory, example:
then
- for a few time
- for some time
- modify /etc/ntp.conf
to set servers which provide ntp service, example:
server
time.stdtime.gov.tw |
- execute ntpd, to be
a client for time.stdtime.gov.tw, and be a server for LAN.
now some problems may
happened, if time offset too large, it will error, now must clock
manually or use command ntpdate at
boot that insert lists in /etc/rc.conf
or modify /etc/defaults/rc.conf below:
ntpdate_enable="YES"
ntpdate_program="ntpdate"
ntpdate_flag="-s time.stdtime.gov.tw" |
- now this machine is
a network time server
Test for network time server:
- get the tool from national
standard time and frequency lab or here(fow
Win95) to synchronize.
- execute ntpclock1_21.exe
- now client is ready
- choose the server you
want to synchronize
- synchronize
Ntpdate(Network Time Protocol)
|
|