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pochi)
----------------
$B'sBh0l%l%Y%k$O%Q%V%j%C%/(B NTP $B%5!<%P$H8@$C$F3N$+A4@$3&$K(B 73 $B8D$"$C$?$H;W$$$^$9!#'s's"*'s$3$A$i$r;29M$K$7$F0lHV6a$$=j$r$^$:$OC5$7$^$9!#(Bhttp://www.eecis.udel.edu/~mills/ntp/clock1.htm

$B's$G!"(BLAN $BFb$N%^%7%s$NA4$F$,(B $BBh0l%l%Y%k$N(B NTP $B%5!<%P$r8+$K9T$C$F$O%@%a$G$9!#(BLAN $BFb$KI,$:%5!<%P$H$J$k%^%7%s$r7h$a$^$7$g$&!#$3$NI=$NCf$G$OBhFs%l%Y%k$H8@$&8@$$J}$r$7$F$$$^$9!#(B

$B's(BLAN $BFb$N(B NTP$B%5!<%P$H$J$k$Y$-%[%9%H$O7h$^$j$^$7$?$+!):#2s$O!"(Bboss $B$H8@$&%[%9%H$K$J$j$^$9!#(B IP $B$O(B 192.168.1.4 $B$G$9!#(B
$B's$=$7$F!"(BLAN $BFb$N%/%i%$%"%s%H$O!"(Bpochi $B$K$J$j$^$9!#$3$A$i$N(B IP $B%"%I%l%9$O!"(B192.168.1.2 $B$K$J$j$^$9!#(B

$B's$5$F!"$=$l$G$O$=$l$>$l$N%^%7%s$K@_Dj$7$F$$$-$^$7$g$&!#(Bboss,pochi $B$O$=$l$>$l(B FreeBSD2.2.8-RELEASE $B$,%$%s%9%H!<%k$5$l$F$$$k;v$H$7$^$9!#>0!"$3$l$OJL$K(B $B!"(B2.2.6$B!"(B2.2.7 $B$G$b@_Dj$O0l=o$J$N$GFC$KLdBj$OM-$j$^$;$s!#(B

$B's$G$O!"(B/etc/rc.conf $B$r8+$^$9!#$3$NCf$N?t9T$rJQ99$9$k$@$1$G$9!#>0!":#2s$O>e5-(B URL $B$+$iF|K\$K$"$k(B ntp $B%5!<%P$r%A%g%$%9$7$^$7$?!#(B

--- boss $B$N(B /etc/rc.conf $B$N@_Dj(B ---
#ntpdate_enable="NO"            # Run the ntpdate to sync time (or NO).
#ntpdate_flags=""               # Flags to ntpdate (if enabled).
ntpdate_enable="YES"            # Run the ntpdate to sync time (or NO).
ntpdate_flags="-s -b 133.100.9.2" # Flags to ntpdate (if enabled).
#xntpd_enable="NO"              # Run xntpd Network Time Protocol (or NO).
#xntpd_flags=""                 # Flags to xntpd (if enabled).
xntpd_enable="YES"              # Run xntpd Network Time Protocol (or NO).
xntpd_flags=""                  # Flags to xntpd (if enabled).
----------------

--- boss $B$N(B /etc/ntp.conf $B$N@_Dj(B ---
server          133.100.9.2
driftfile       /etc/ntp.drift
----------------
$B's$=$7$F!"(B/etc/ntp.drift $B$,L5$$$N$G(B # cat /dev/null > /etc/ntp.drift $B$7$F!"%^%7%s$r:F5/F0$7$F$"$2$^$9!#$3$l$G%^%7%s%?%$%`$,(B 133.100.9.2 $B$H0l=o$K$J$j$^$9!#$=$7$F!"(BLAN $BFb$N(B NTP $B%5!<%P$,=PMh$^$7$?!#(B

$B'sB3$$$F!"(BLAN $BFb$N%/%i%$%"%s%H$G$"$k!"(Bpochi $B$NJ}$N@_Dj$G$9$,!"$3$l$b --- pochi $B$N(B /etc/rc.conf $B$N@_Dj(B --- #ntpdate_enable="NO" # Run the ntpdate to sync time (or NO). #ntpdate_flags="" # Flags to ntpdate (if enabled). ntpdate_enable="YES" # Run the ntpdate to sync time (or NO). ntpdate_flags="-s -b 192.168.1.4" # Flags to ntpdate (if enabled). #xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO). #xntpd_flags="" # Flags to xntpd (if enabled). xntpd_enable="YES" # Run xntpd Network Time Protocol (or NO). xntpd_flags="" # Flags to xntpd (if enabled). ---------------- --- boss $B$N(B /etc/ntp.conf $B$N@_Dj(B --- server 192.168.1.4 driftfile /etc/ntp.drift ---------------- $B's$3$l$G$d$O$j%j%V!<%H$9$k$H!"(B xntpd $B$,F0$-=P$7$^$9!#8e!" $B's$5$F!"!VKM$N%^%7%s$OK\Ev$K;~4V$O$@$$$8$g!<$V$J$N!)!W$H$+;W$&$N$G!"@5$7$/F0$$$F$$$k$+3NG'$7$F$_$^$7$g$&!#(B

----------------
% ntpq -p
     remote           refid      st t when poll reach   delay   offset    disp
==============================================================================
*clock.nc.fukuok .GPS.            1 u   52  128  377    84.63   -3.416    7.20
 sutns.sut.ac.jp rfws.ryukoku.ac  3 u  468 1024  377    41.93   14.319   19.61
----------------
$B's$F$J46$8$GI=<(=PMh$F$$$?$i(B OK $B$G$7$g$&(B(^^)V$B!#(B

$B's$H!"8@$&;v$G(B FreeBSD $B$O3N$+!"(B2.2.5-RELEASE $B$+$i(B ntp $B$,I8=`%P%s%I%k$K$J$C$?$H;W$$$^$9!#$J$N$G:#$O;~4VJ;$;$,4JC1$K=PMh$^$9!#;~4V$,0lHV5$$K$J$k$N$O!"%a!<%k$rAw$C$?;~$G$7$g$&$+!)Aj $B's$A$K$_$K(B NTP $B%5!<%P$H8F$P$l$k%b%N$O(B GPS $B$rMxMQ$7$F?M9)1R@1$+$i;~4V$r


Copyright (c) 1997-2004 takachan@running-dog.net All Rights Reserved.