Date: Tue, 08 Apr 1997 12:01:41 +0200 From: Burkard Meyendriesch <bum@malepartus.de> To: Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de> Cc: bum@malepartus.de, questions@freefall.freebsd.org Subject: Re: xntpd with PARSE and DCF77 receiver Message-ID: <199704081001.MAA09224@reineke.malepartus.de> In-Reply-To: Your Message from Mon, 07 Apr 1997 10:22:11 %2B0200. <199704070822.KAA07318@odie.physik2.uni-rostock.de>
next in thread | previous in thread | raw e-mail | index | archive | help
>
> You have to recompile xntpd with the following defines in the Makefile:
>
> /usr/src/usr.sbin/xntpd/Makefile.inc:
>
> DEFS_LOCAL=-DREFCLOCK -DPARSE
> NTPDEFS= -DSYS_FREEBSD -DSYS_44BSD
> AUTHDEFS= -DMD5
> CLOCKDEFS= -DLOCAL_CLOCK -DATOM -DDCF77 -DPPS -DFREEBSD_CONRAD
> #CLOCKDEFS= -DLOCAL_CLOCK -DPST -DWWVB -DAS2201 -DGOES -DGPSTM -DOMEGA \
> # -DLEITCH -DTRAK -DACTS -DATOM -DDATUM -DHEATH -DMSFEES \
> # -DMX4200 -DNMEA -DBOEDER
> CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${AUTHDEFS} ${CLOCKDEFS} ${COPTS}
> BINDIR?= /usr/sbin
>
> .if !defined(NOCRYPT) && exists(${.CURDIR}/../../../secure/usr.sbin/xntpd/lib)
> AUTHDEFS+= -DDES
> .endif
>
> Have a lock at the -DDCF77 define!
>
> After this a 'make install' in the directory above will bring you to a xntpd
> with raw DCF77 support via the serial line. Here is my /etv/ntp.conf file wich
> runs great with a DCF77 reciever!
>
> Regards
>
> Lars
>
Hi Lars,
thanks for your advice; I used your recipe and got my DCF77 receiver up
and running :-) BUT... the performance is very poor: more than 95% of
the time codes are unparseable! The same hardware with the same /etc/ntp.conf
works fine on my Linux box. There must be anything wrong with the serial
devices; I tried both, the /dev/tty* and /dev/cua*.
Any idea?
Burkard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704081001.MAA09224>
