NetBSD2 | NetBSD | 1.6 | amd | autoconf | apache | bind | booting | boot/install/disk | boot-cd | | (daily) | Canna | CF+sendmail | cvs | dhcpd | dvi2ps | emacs-20 | ftpmirror | fvwm2 | gcc | gettext | ghostscript | inn | IPv6 | jitterbug | Install(OHP) | kernel | (old) | majordomo | make build | MHonArc | MRTG | namazu | ndtpd | PHP + PostgreSQL | netatalk | netboot | NFS | NIS | ntp | opie | Open Firmware | perl | procmail | sendmail | sharutils | smtpfeed | tcsh | TeX | time make | ucspi-tcp | w3 | wget | Wnn | wu-ftpd | X11 | Site Map |

NTP for NetBSD

xntp (Network Time Protocol)


RFC 1305 (1992)
Network Time Protocol (Version 3) Specification, Implementation and Analysis
Network Time Protocol (NTP) over the OSI Remote Operational Services
NTP PICS PROFORMA For the Network Time Protocol Version 3
日本語化 RFC の一覧にはなさそうだ
日本の NTP stratum-1 サーバ
NTPD のセキュリティホールについて 等大変有用な情報が記載されている。
福岡大学 FTP
ftp directory
(NTT Software Laboratories)
低価格 GPS レシーバを使ったシステムの時間合わせプログラム
S. Yoshida's GPS page
Public NTP secondary (stratum2) time servers
(でも近そうなものはない ?)
Linux/PPC での作業例
NTP Window/Mac/Linux
FreeBSD の場合
ntpサーバーの設定 (FreeBSD)


makoto@u  8:16:11/020310(~)> ntpq -c peers
No association ID's returned
# ntpd -v
ntpd: option requires argument -v
usage: ntpd [ -abdgmnx ] [ -c config_file ] [ -e e_delay ]
                [ -f freq_file ] [ -k key_file ] [ -l log_file ]
                [ -p pid_file ] [ -r broad_delay ] [ -s statdir ]
                [ -t trust_key ] [ -v sys_var ] [ -V default_sysvar ]
-d で debug option

設定 (NetBSD の場合)

xntpd=YES               xntpd_flags="-p /var/run/ -l /var/log/xntpd"
あるいは 最近の NetBSD-1.5 等では、単に
server  # National Astronomical Observatory
driftfile /etc/ntp.drift
peer  #
peer  # komekome
peer  # ml
peer  # harry
peer  # a


970807 xntp3-5.90-export
を入れて見る。確かどこかに初めから入っているようなことが書い てあったが、なさそうなので、入れることにする。
 make install で入ってしまう。
 として見る。 に情報がある。
/etc/ntp.conf を用意して、
/usr/local/bin/xntpd -c /etc/ntp.conf -l /var/log/xntpd
man ntpq -p の部分
peers   Obtains a list of in-spec peers of the server, along with a sum-
        mary of each peer's state. Summary information includes the ad-
        dress of the remote peer, the reference ID ( if the refID
        is unknown), the stratum of the remote peer, the type of the peer
        (local, unicast, multicast or broadcast), when the last packet
        was received, the polling interval, in seconds, the reachability
        register, in octal, and the current estimated delay, offset and
        dispersion of the peer, all in seconds.

        The character in the left margin indicates the fate of this peer
        in the clock selection process. The codes mean:
          discarded due to high stratum and/or failed sanity checks;
        x designated falseticker by the intersection algorithm;
        .  culled from the end of the candidate list;
        - discarded by the clustering algorithm;
        + included in the final selection set;
        # selected for synchronization but distance exceeds maximum;
        * selected for synchronization; and
        o selected for synchronization, PPS signal in use.

        Note that since the peers command depends on the ability to parse
        the values in the responses it gets it may fail to work from time
        to time with servers which poorly control the data formats.

        The contents of the host field may be one of four forms. It may
        be a host name, an IP address, a reference clock implementation
        name with its parameter or
        REFCLK(,).  On
        hostnames no only IP-addresses will be displayed.