ユーザ用ツール

サイト用ツール


tips

VineLinux:http://www.vinelinux.org

ntp.conf

authenticate は使えません。

ntp-4.2.0ではいつの間にか、authenticateオプションが廃止されています。多くのサイトで、authenticate noとしてくように、などと書いてあっても、このオプションは、無視されます。1)

ただし、等価なオプションがありますので、そちらを書いておけばいいでしょう。

disable auth

これで大丈夫です。

当サイトのサーバとクライアントの設定

クライアントサイド:

driftfile /etc/ntp/drift
broadcastclient
disable auth

サーバサイド:2)

server 210.173.160.57  # ntp2.jst.mfeed.ad.jp
server 210.173.160.87  # ntp3.jst.mfeed.ad.jp
server 133.100.9.2     # clock.nc.fukuoka-u.ac.jp
server 130.34.11.117   # ntp1.tohoku.ac.jp
server 130.34.48.32    # ntp2.tohoku.ac.jp
#
broadcast 192.168.0.255
broadcastdelay 0.008
#
driftfile /etc/ntp/drift
logfile /var/log/ntp.log
#
restrict default ignore
restrict 127.0.0.1
restrict 192.168.0.0 mask 255.255.255.0 nomodify notrap
restrict 210.173.160.57 mask 255.255.255.255 nomodify notrap noquery
restrict 210.173.160.87 mask 255.255.255.255 nomodify notrap noquery
restrict 133.100.9.2 mask 255.255.255.255 nomodify notrap noquery
restrict 130.34.11.117 mask 255.255.255.255 nomodify notrap noquery
restrict 130.34.48.32 mask 255.255.255.255 nomodify notrap noquery
#
disable auth

VineLinuxに関して へ戻る

1)
無視したというメッセージが /var/log/messagesに出ます。
2)
LANに対して notrustをつけていたのですが、これをすると上手くLAN内のクライアントが同期できないようですのではずしました。
tips.txt · 最終更新: 2015/04/10 17:27 by 127.0.0.1