> On Wed, Oct 30, 2002 at 10:44:12PM -0600, christopher j bottaro wrote: > > ok, i got a couple computers behind a linksys cable router. the way i setup > > ntp is really simple. on each computer, i set the step-ticker to > > clock.via.net in /etc/ntp/step-tickers. then i just had the service startup > > at boot time by using redhat's setup utility. >
You know in rereading this initial portion of the original message, I was struck by the fact that no mention of ntp.conf was made. Isn't step tickers just used by the redhat init scripts at startup? I always add something like server my.time.server.name to /etc/ntp.conf Seems like there is an issue with the broadcast client being enabled too so I think I have had to comment it out. here is the ntp.conf on my local time server that all the other local machines look to. [bhughes@bretsony bhughes]$ ssh gateway1 'cat /etc/ntp.conf' # # Undisciplined Local Clock. This is a fake driver intended for backup # and when no outside source of synchronized time is available. The # default stratum is usually 3, but in this case we elect to use stratum # 0. Since the server line does not have the prefer keyword, this driver # is never used for synchronization, unless no other other # synchronization source is available. In case the local host is # controlled by some external source, such as an external oscillator or # another protocol, the prefer keyword would cause the local host to # disregard all other synchronization sources, unless the kernel # modifications are in use and declare an unsynchronized condition. # #server now.okstate.edu prefer server sushi.compsci.lyon.edu #server ntp-wustl.usno.navy.mil prefer #server constellation.ecn.uoknor.edu #OU timeserver #server ntp1.kansas.net server ntp-0.cso.uiuc.edu prefer server ntp2.kansas.net #server tock.greyware.com #server tick.greyware.com #server finch.cc.ukans.edu #server ntp.cox.smu.edu server ntp5.tamu.edu server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 10 broadcast 192.168.0.255 # # Drift file. Put this in a directory which the daemon can write to. # No symbolic links allowed, either, since the daemon updates the file # by creating a temporary in the same directory and then rename()'ing # it to the file. # driftfile /etc/ntp/drift #multicastclient # listen on default 224.0.1.1 broadcastdelay 0.008 # # Authentication delay. If you use, or plan to use someday, the # authentication facility you should make the programs in the auth_stuff # directory and figure out what this number should be on your machine. # authenticate no # # Keys file. If you want to diddle your server at run time, make a # keys file (mode 600 for sure) and define the key number to be # used for making requests. # #keys /etc/ntp/keys #trustedkey 43565 #requestkey 83767 #controlkey 95024 here is the reuslts of ntpq -p against the machine running the above ntp.conf [bhughes@bretsony bhughes]$ ntpq -p gateway1 remote refid st t when poll reach delay offset jitter ============================================================================== LOCAL(0) LOCAL(0) 10 l - 64 377 0.000 0.000 10.010 192.168.0.255 0.0.0.0 16 u - 64 0 0.000 0.000 16000.0 sushi.compsci.l navobs1.wustl.e 16 u - 512 377 134.890 3.632 288.500 *ntp-0.gw.uiuc.e truechimer.cso. 2 u - 64 377 120.970 -36.845 74.430 +cisco1-mhk.kans navobs1.wustl.e 2 u - 64 377 57.250 -58.423 71.850 +ntp3.tamu.edu ntp1.tamu.edu 2 u - 64 367 67.550 -40.857 44.010 and for grins here is the same thing only with -n (numbers) added [bhughes@bretsony bhughes]$ ntpq -pn gateway1 remote refid st t when poll reach delay offset jitter ============================================================================== 127.127.1.0 127.127.1.0 10 l - 64 377 0.000 0.000 10.010 192.168.0.255 0.0.0.0 16 u - 64 0 0.000 0.000 16000.0 150.208.72.154 128.252.19.1 16 u - 512 377 134.890 3.632 288.500 *130.126.24.53 128.174.38.133 2 u - 64 377 120.970 -36.845 54.030 +199.240.130.1 128.252.19.1 2 u - 64 377 57.250 -58.423 43.000 +128.194.254.9 128.194.254.7 2 u - 64 357 65.510 -33.780 38.910 [bhughes@bretsony bhughes]$ HTH Bret -- redhat-list mailing list unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list