我發現我的時間慢了一天有辦法透過網路修正時間日期嗎??
或是哪邊可以手動修正時間日期
謝謝
# /etc/ntp.conf, configuration for ntpd
driftfile /var/lib/ntp/ntp.drift
statsdir /var/log/ntpstats/
statistics loopstats peerstats clockstats
filegen loopstats file loopstats type day enable
filegen peerstats file peerstats type day enable
filegen clockstats file clockstats type day enable
# You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
# pool.ntp.org maps to more than 300 low-stratum NTP servers.
# Your server will pick a different set every time it starts up.
# *** Please consider joining the pool! ***
# *** <http://www.pool.ntp.org/join.html> **
#
restrict default ignore # 關閉所有的 NTP 要求封包
restrict 127.0.0.1 # 開啟內部遞迴網路介面 lo
restrict 192.168.0.2 # 主機本身的 IP 也同時開啟!
restrict 192.168.100.20 mask 255.255.255.255 nomodify
# 針對另一個 IP 開放讓他可以更新時間!
restrict 192.168.0.0 mask 255.255.255.0 nomodify
server tick.stdtime.gov.tw prefer
server tock.stdtime.gov.tw prefer
server time.stdtime.gov.tw prefer
server clock.stdtime.gov.tw
server watch.stdtime.gov.tw
restrict tick.stdtime.gov.tw
restrict tock.stdtime.gov.tw
restrict time.stdtime.gov.tw
restrict clock.stdtime.gov.tw
restrict watch.stdtime.gov.tw
driftfile /etc/ntp/drift
server ntp0.nl.net
driftfile /etc/ntp/drift
multicastclient # listen on default 224.0.1.1
broadcastdelay 0.008
# By default, exchange time with everybody, but don't allow configuration.
# See /usr/share/doc/ntp-doc/html/accopt.html for details.
restrict default kod notrap nomodify nopeer noquery
# Clients from this (example!) subnet have unlimited access,
# but only if cryptographically authenticated
#restrict 192.168.123.0 mask 255.255.255.0 notrust
# If you want to provide time to your local subnet, change the next line.
# (Again, the address is an example only.)
#broadcast 192.168.123.255
# If you want to listen to time broadcasts on your local subnet,
# de-comment the next lines. Please do this only if you trust everybody
# on the network!
#disable auth
#broadcastclient
正在瀏覽這個版面的使用者:沒有註冊會員 和 1 位訪客