root@red /root]# cd /etc/
[root@red /etc]# mv ntp.conf{,.orig}
[root@red /etc]# cp ntp.conf{.orig,}
[root@red /etc]# vi ntp.conf
[root@gawa etc]# diff -c ntp.conf.orig ntp.conf
*** ntp.conf.orig 2005-03-12 13:28:16.000000000 +0900
--- ntp.conf 2005-12-23 10:17:36.000000000 +0900
***************
*** 14,19 ****
--- 14,21 ----
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
server ntp2.jst.mfeed.ad.jp
+ server ntp2.wakwak.com
+ server ns.yamasita.jp
#
# Drift file. Put this in a directory which the daemon can write to.
[root@gawa etc]#
決してこのまままねして ns.yamasita.jp をサーバにしたりしないように。
[root@gawa etc]# /etc/rc.d/init.d/ntpd start ntpdを起動中: [ OK ] [root@gawa etc]#
[root@gawa etc]# ntpq -p
remote refid st t when poll reach delay offset jitter
==============================================================================
ntp2.jst.mfeed. 210.173.176.4 2 u 18 64 3 32.672 24831.9 3.237
ntp2.wakwak.com .INIT. 16 u - 64 0 0.000 0.000 4000.00
ns.yamasita.jp 210.173.160.27 3 u 16 64 3 0.338 25585.1 125.907
[root@gawa etc]#
そのうち同期するでしょう。
[root@gawa etc]# chkconfig ntpd on [root@gawa etc]# chkconfig --list ntpd ntpd 0:off 1:off 2:off 3:on 4:on 5:on 6:off [root@gawa etc]#
|
← HS-DGL! + ハックキット 2.0:IP アドレス、ホスト名変更 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ HS-DGL! + ハックキット 2.0:バックアップ |