Re: [問題] FreeBSD的時間不準

看板FreeBSD作者 (新電腦暴走中)時間18年前 (2008/01/18 17:52), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/3 (看更多)
※ 引述《mail6543210 (mail6543210)》之銘言: : FreeBSD下的時間特別慢,但用date指令沒效,請問要如何調整時間? : 這種現象與VMWare有關係嗎?因為我的FreeBSD是跑在VMWare下。 : 注:FreeBSD 6.2 32bit 建議打開 ntpd 這樣他會"慢慢"且精準的校對時間 沒有 /etc/ntp.conf 就新增一個 ----------------------------------------------------- %> cat /etc/ntp.conf # time.stdtime.gov.tw server 220.130.158.52 # Miscellaneous stuff # #enable auth monitor # 允許monitor driftfile /etc/ntp.drift # path for drift file,記載您機器system clock 的性能 #statsdir /var/run/ntpstats/ # 記錄連線狀態 #filegen peerstats file peerstats type day enable #filegen loopstats file loopstats type day enable #filegen clockstats file clockstats type day enable # # Authentication stuff. Note the different authentication delay on # VAX and SPARC. # #keys /etc/ntp.keys # path for key file #trustedkey 1 2 15 # define trusted keys #requestkey 15 # key (7) for accessing server variables #controlkey 15 # key (6) for accessing server variables #authdelay 0.001501 # authentication delay (VAX) #authdelay 0.000073 # authentication delay (SPARC) restrict 127.0.0.1 mask 255.255.255.255 noserve restrict 220.130.158.52 mask 255.255.255.255 restrict 0.0.0.0 mask 0.0.0.0 ignore kod %> echo "ntpd_enable=\"YES\"" >> /etc/rc.conf %> /etc/rc.d/ntpd start -- 這就是科學了 發現某些有價值的結果後 用新的、直接的經驗來與之相互印證 ∮Gamekid 抱持懷疑的態度 打從一開始就要嘗試找出到底情形如何 ╴ ╴ 一再與自己的經驗相印證 ˙ ˙ 而不是上面流傳下來什麼就照單全收 ▃▃ \◥ 美國物理大師 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ > Richard Feynman -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.109.23.36
文章代碼(AID): #17a7RCtQ (FreeBSD)
文章代碼(AID): #17a7RCtQ (FreeBSD)