[root@lisa root]# uname -a Linux lisa.native6.com 2.6.8-1.521 #1 Mon Aug 16 09:01:18 EDT 2004 i686 i686 i386 GNU/Linux ------ results from ./configure ---------- [root@lisa ntp-4.2.0]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking if we should use /dev/clockctl... no checking sys/clockctl.h usability... no checking sys/clockctl.h presence... no checking for sys/clockctl.h... no checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking whether gcc needs -traditional... no checking for working volatile... yes checking for library containing strerror... none required checking for ranlib... ranlib checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for a BSD-compatible install... /usr/bin/install -c checking for nlist in -lelf... no checking for main in -lkvm... no checking for nlist in -lld... no checking for nlist in -lmld... no checking for gethostent... yes checking for openlog... yes checking for MD5Init in -lmd5... no checking for MD5Init in -lmd... no checking for MD5Init... no checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking readline/readline.h usability... yes checking readline/readline.h presence... yes checking for readline/readline.h... yes checking for readline in -lreadline... no configure: Trying again with -lcurses checking for readline in -lreadline... yes checking for setsockopt... yes checking for ANSI C header files... (cached) yes checking bstring.h usability... no checking bstring.h presence... no checking for bstring.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for memory.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking sgtty.h usability... yes checking sgtty.h presence... yes checking for sgtty.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking timepps.h usability... no checking timepps.h presence... no checking for timepps.h... no checking timex.h usability... no checking timex.h presence... no checking for timex.h... no checking for unistd.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking for net/if.h... yes checking net/if6.h usability... no checking net/if6.h presence... no checking for net/if6.h... no checking netinet/in_system.h usability... no checking netinet/in_system.h presence... no checking for netinet/in_system.h... no checking netinet/in_systm.h usability... yes checking netinet/in_systm.h presence... yes checking for netinet/in_systm.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for netinet/ip.h... yes checking netinfo/ni.h usability... no checking netinfo/ni.h presence... no checking for netinfo/ni.h... no checking sun/audioio.h usability... no checking sun/audioio.h presence... no checking for sun/audioio.h... no checking sys/audioio.h usability... no checking sys/audioio.h presence... no checking for sys/audioio.h... no checking sys/clkdefs.h usability... no checking sys/clkdefs.h presence... no checking for sys/clkdefs.h... no checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/lock.h usability... no checking sys/lock.h presence... no checking for sys/lock.h... no checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/modem.h usability... no checking sys/modem.h presence... no checking for sys/modem.h... no checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/ppsclock.h usability... no checking sys/ppsclock.h presence... no checking for sys/ppsclock.h... no checking sys/ppstime.h usability... no checking sys/ppstime.h presence... no checking for sys/ppstime.h... no checking sys/proc.h usability... no checking sys/proc.h presence... no checking for sys/proc.h... no checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/sched.h usability... no checking sys/sched.h presence... no checking for sys/sched.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking sys/signal.h usability... yes checking sys/signal.h presence... yes checking for sys/signal.h... yes checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking machine/soundcard.h usability... no checking machine/soundcard.h presence... no checking for machine/soundcard.h... no checking sys/soundcard.h usability... yes checking sys/soundcard.h presence... yes checking for sys/soundcard.h... yes checking for sys/stat.h... (cached) yes checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/stropts.h usability... yes checking sys/stropts.h presence... yes checking for sys/stropts.h... yes checking sys/sysctl.h usability... yes checking sys/sysctl.h presence... yes checking for sys/sysctl.h... yes checking sys/syssgi.h usability... no checking sys/syssgi.h presence... no checking for sys/syssgi.h... no checking sys/systune.h usability... no checking sys/systune.h presence... no checking for sys/systune.h... no checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/signal.h... (cached) yes checking sys/timers.h usability... no checking sys/timers.h presence... no checking for sys/timers.h... no checking sys/timex.h usability... yes checking sys/timex.h presence... yes checking for sys/timex.h... yes checking sys/tpro.h usability... no checking sys/tpro.h presence... no checking for sys/tpro.h... no checking for sys/types.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking whether time.h and sys/time.h may both be included... yes checking nlist.h usability... no checking nlist.h presence... no checking for nlist.h... no checking for resolv.h... yes checking for basic volatile support... (cached) yes checking for gcc option to accept ANSI C... none needed checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking if C compiler permits function prototypes... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking return type of signal handlers... void checking for off_t... yes checking for size_t... yes checking for time_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int8_t... yes checking for u_int64_t... yes checking for a fallback value for HZ... 100 checking if we need to override the system's value for HZ... no checking struct sigaction for sa_sigaction... yes checking for struct ppsclockev... no checking struct sockaddr for sa_len... no checking for ss_family field in struct sockaddr_storage... yes checking for __ss_family field in struct sockaddr_storage... no checking for struct snd_size... no checking struct clockinfo for hz... no checking struct clockinfo for tickadj... no checking for struct timespec... yes checking for struct ntptimeval... yes checking for struct ntptimeval.time.tv_nsec... no checking for inline... inline checking whether char is unsigned... no checking for signed char... yes checking size of signed char... 1 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for s_char... no checking for uid_t in sys/types.h... yes checking for __adjtimex... yes checking for __ntp_gettime... no checking for clock_gettime... no checking for clock_settime... no checking for daemon... yes checking for finite... yes checking for getbootfile... no checking for getclock... no checking for getdtablesize... yes checking for getrusage... yes checking for gettimeofday... yes checking for getuid... yes checking for hstrerror... yes checking for inet_ntop... yes checking for K_open... no checking for kvm_open... no checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for mkstemp... yes checking for mktime... yes checking for mlockall... yes checking for mrand48... yes checking for srand48... yes checking for nice... yes checking for nlist... no checking for ntp_adjtime... yes checking for ntp_gettime... yes checking for plock... no checking for pututline... yes checking for pututxline... yes checking for readlink... yes checking for rtprio... no checking for sched_setscheduler... yes checking for setlinebuf... yes checking for setpgid... yes checking for setpriority... yes checking for setsid... yes checking for setrlimit... yes checking for settimeofday... yes checking for setvbuf... yes checking for sigaction... yes checking for sigvec... yes checking for sigset... yes checking for sigsuspend... yes checking for stime... yes checking for strchr... yes checking for sysconf... yes checking for sysctl... yes checking for snprintf... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking for timegm... yes checking for timer_create... no checking for timer_settime... no checking for umask... yes checking for uname... yes checking for updwtmp... yes checking for updwtmpx... yes checking for vsprintf... yes checking number of arguments to gettimeofday()... 2 checking number of arguments taken by setpgrp()... 0 checking argument pointer type of qsort()'s compare function and base... void checking if we need to declare 'errno'... no checking if we may declare 'h_errno'... yes checking if declaring 'char *sys_errlist[]' is ok... no checking if declaring 'syscall()' is ok... no checking if we need extra room for SO_RCVBUF... no checking if we will open the broadcast socket... yes checking if we want the HPUX version of FindConfig()... no checking if process groups are set with -pid... yes checking if we need a ctty for F_SETOWN... no checking if we'll use clock_settime or settimeofday or stime... settimeofday() configure: WARNING: *** But clock_settime() would be better (if we had it) *** checking if we have a losing syscall()... no checking for Streams/TLI... no checking for SIGIO... yes checking if we want to use signalled IO... no checking for SIGPOLL... yes checking for SIGSYS... yes checking if we can use SIGPOLL for UDP I/O... no checking if we can use SIGPOLL for TTY I/O... no checking if nlist() values might require extra indirection... no checking for a minimum recommended value of tickadj... no checking if the TTY code permits PARENB and IGNPAR... yes checking if we're including debugging code... yes checking for a the number of minutes in a DST adjustment... 60 checking if we have the tty_clk line discipline/streams module... checking for the ppsclock streams module... no checking for kernel multicast support... yes checking availability of ntp_{adj,get}time()... libc checking if sys/timex.h has STA_FLL... yes checking if we have kernel PLL support... yes checking if SIOCGIFCONF returns buffer size in the buffer... no checking ioctl TIOCGPPSEV... no checking ioctl TIOCSPPS... no checking ioctl CIOGETEV... no checking linux/serial.h usability... yes checking linux/serial.h presence... yes checking for linux/serial.h... yes checking ioctl TIOCGSERIAL... no checking SHMEM_STATUS support... yes checking Datum/Bancomm bc635/VME interface... no checking TrueTime GPS receiver/VME interface... no checking for PCL720 clock support... no checking for default inclusion of all suitable non-PARSE clocks... yes checking if we have support for PARSE clocks... yes checking if we have support for audio clocks... yes checking if we have support for the SHM refclock interface... yes checking ACTS modem service... yes checking Arbiter 1088A/B GPS receiver... yes checking Arcron MSF receiver... yes checking Austron 2200A/2201A GPS receiver... yes checking ATOM PPS interface... yes checking Chrono-log K-series WWVB receiver... yes checking CHU modem/decoder... yes checking CHU audio/decoder... yes checking Datum Programmable Time System... yes checking Dumb generic hh:mm:ss local clock... yes checking Forum Graphic GPS... yes checking Heath GC-1000 WWV/WWVH receiver... yes checking for hopf serial clock device... yes checking for hopf PCI clock 6039... yes checking HP 58503A GPS receiver... yes checking IRIG audio decoder... yes checking for JJY receiver... yes checking Rockwell Jupiter GPS receiver... no checking Leitch CSD 5300 Master Clock System Driver... yes checking local clock reference... yes checking EES M201 MSF receiver... yes checking Magnavox MX4200 GPS receiver... no checking for NeoClock4X receiver... yes checking NMEA GPS receiver... yes checking for ONCORE Motorola VP/UT Oncore GPS... no checking for Palisade clock... yes checking Conrad parallel port radio clock... yes checking PST/Traconex 1020 WWV/WWVH receiver... yes checking PTB modem service... yes checking RIPENCC specific Trimble driver... no checking for SHM clock attached thru shared memory... yes checking Spectracom 8170/Netclock/2 WWVB receiver... yes checking KSI/Odetics TPRO/S GPS receiver/IRIG interface... no checking TRAK 8810 GPS receiver... yes checking Kinemetrics/TrueTime receivers... yes checking TrueTime 560 IRIG-B decoder... no checking Ultralink M320 WWVB receiver... yes checking USNO modem service... yes checking WWV receiver... yes checking for Zyfer receiver... yes checking for default inclusion of all suitable PARSE clocks... no checking Diem Computime Radio Clock... no checking ELV/DCF7000 clock... no checking HOPF 6021 clock... no checking Meinberg clocks... no checking DCF77 raw time code... no checking RCC 8000 clock... no checking Schmid DCF77 clock... no checking Trimble GPS receiver/TAIP protocol... no checking Trimble GPS receiver/TSIP protocol... no checking WHARTON 400A Series clock... no checking VARITEXT clock... no checking if we need to make and use the parse libraries... no checking for openssl library directory... /usr/lib checking for openssl include directory... /usr/include checking for EVP_md2... no checking for EVP_mdc2... no checking for the level of crypto support... openssl checking if we want to compile with ElectricFence... no checking if we want to try SNTP... no checking if we can make dcf parse utilities... no checking if we can build kernel streams modules for parse... no checking if we need basic refclock support... yes checking if we want HP-UX adjtimed support... no checking if we want QNX adjtime support... no checking if we can read kmem... no checking if adjtime is accurate... yes checking the name of 'tick' in the kernel... _tick checking for the units of 'tick'... usec checking the name of 'tickadj' in the kernel... _tickadj checking for the units of 'tickadj'... usec checking half-heartedly for 'dosynctodr' in the kernel... _dosynctodr checking half-heartedly for 'noprintf' in the kernel... _noprintf checking for a default value for 'tick'... txc.tick checking for a default value for 'tickadj'... 500/hz checking if we want and can make the ntptime utility... yes checking if we want and can make the tickadj utility... (cached) yes checking if we want and can make the timetrim utility... no checking if we want to build the NTPD simulator... no checking if we want UDP wildcard delivery... yes checking if we should always slew the time... no checking if we should step and slew the time... no checking if ntpdate should step the time... no checking if we should sync TODR clock every hour... no checking if we should avoid kernel FLL bug... no checking if we should use the IRIG sawtooth filter... no checking if we should enable NIST lockclock scheme... no checking for IPv6 structures... yes checking for struct if_laddrconf... no checking for struct if_laddrreq... no checking for in6_pktinfo... yes checking for in6addr_any... yes checking for interface list sysctl... no configure: creating ./config.status config.status: creating Makefile config.status: creating ElectricFence/Makefile config.status: creating adjtimed/Makefile config.status: creating clockstuff/Makefile config.status: creating include/Makefile config.status: creating include/isc/Makefile config.status: creating kernel/Makefile config.status: creating kernel/sys/Makefile config.status: creating libntp/Makefile config.status: creating libparse/Makefile config.status: creating ntpd/Makefile config.status: creating ntpdate/Makefile config.status: creating ntpdc/Makefile config.status: creating ntpdc/nl.pl config.status: creating ntpq/Makefile config.status: creating parseutil/Makefile config.status: creating scripts/Makefile config.status: creating scripts/calc_tickadj config.status: creating scripts/checktime config.status: creating scripts/freq_adj config.status: creating scripts/mkver config.status: creating scripts/ntp-wait config.status: creating scripts/ntpsweep config.status: creating scripts/ntptrace config.status: creating scripts/ntpver config.status: creating scripts/plot_summary config.status: creating scripts/summary config.status: creating util/Makefile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands ----------- end ---------- ------ ps -ef ------ [root@lisa ntp-4.2.0]# ps -ef | grep ntp root 315 1 0 09:03 ? 00:00:00 /usr/local/bin/ntpd -g root 26626 20514 0 10:32 pts/0 00:00:00 grep ntp ---------- end -------- ---------- ntp.conf --------- [root@lisa root]# more /etc/ntp.conf # Prohibit general access to this service. restrict 128.138.140.44 mask 255.255.255.255 nomodify notrap noquery restrict 131.107.1.10 mask 255.255.255.255 nomodify notrap noquery restrict 207.200.81.113 mask 255.255.255.255 nomodify notrap noquery restrict 10.128.0.0 mask 255.255.255.0 notrust nomodify notrap restrict 127.0.0.1 broadcast ff05::101 broadcast ff02::101 broadcast 224.0.1.1 #server time-b.timefreq.bldrdoc.gov server 128.138.140.44 # NIST, UC, Boulder server 131.107.1.10 # NIST, Microsoft, Redmond server 207.200.81.113 # NIST, AOL, Sunnyvail CA server 127.127.1.0 # local clock fudge 127.127.1.0 stratum 16 # # 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 /var/lib/ntp/drift 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 yes 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. # # PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote # systems might be able to reset your clock at will. Note also that # ntpd is started with a -A flag, disabling authentication, that # will have to be removed as well. # #keys /etc/ntp/keys ------------ end ----------- [root@lisa root]# ntpq -n -c peers;ntpq -n -c assoc remote refid st t when poll reach delay offset jitter ============================================================================== ff05::101 .MCST. 16 u - 64 0 0.000 0.000 4000.00 ff02::101 .MCST. 16 u - 64 0 0.000 0.000 4000.00 224.0.1.1 .MCST. 16 u - 64 0 0.000 0.000 4000.00 +128.138.140.44 .ACTS. 1 u 43 256 17 91.231 93.771 3.279 +131.107.1.10 .ACTS. 1 u 46 256 17 51.347 100.054 4.847 *207.200.81.113 .ACTS. 1 u 48 256 17 65.949 93.873 4.260 127.127.1.0 .INIT. 16 l 42 64 37 0.000 0.000 0.001 ind assID status conf reach auth condition last_event cnt =========================================================== 1 22532 8000 yes yes none reject 2 22533 8000 yes yes none reject 3 22534 8000 yes yes none reject 4 22535 b424 yes yes none candidat reachable 2 5 22536 b424 yes yes none candidat reachable 2 6 22537 b624 yes yes none sys.peer reachable 2 7 22538 9024 yes yes none reject reachable 2 -------- end ------- tail /var/log/messages Nov 24 12:21:21 lisa ntpd[18964]: ntpd 4.2.0@1.1161-r Tue Nov 23 22:14:48 PST 2004 (1) Nov 24 12:21:21 lisa ntpd[18964]: precision = 1.000 usec Nov 24 12:21:21 lisa ntpd[18964]: kernel time sync status 0040 Nov 24 12:21:21 lisa ntpd[18964]: frequency initialized -78.336 PPM from /var/lib/ntp/drift Nov 24 12:21:21 lisa ntpd[18964]: configure: keyword "authenticate" unknown, line ignored Nov 24 12:25:41 lisa ntpd[18964]: synchronized to 128.138.140.44, stratum=1 Nov 24 12:25:41 lisa ntpd[18964]: kernel time sync disabled 0041 Nov 24 12:26:45 lisa ntpd[18964]: sendto(ff05::101): Cannot assign requested address Nov 24 12:27:48 lisa ntpd[18964]: sendto(ff05::101): Cannot assign requested address Nov 24 12:28:51 lisa ntpd[18964]: sendto(ff05::101): Cannot assign requested address Nov 24 12:29:56 lisa ntpd[18964]: sendto(ff05::101): Cannot assign requested address Nov 24 12:31:01 lisa ntpd[18964]: sendto(ff05::101): Cannot assign requested address ----------- end ---------