[ntp:questions] Tobit LAN!Time DCF77 receiver not working

Marc-Andre Alpers m-a.alpers at web.de
Thu Dec 24 10:08:58 UTC 2009


Es schrieb David Lord:

> You may want to try radioclkd2 which decodes DCF ok and uses
> the SHM refclock driver. 

Yes radioclkd2 does the job.

marc-andre at lanserver:~/radioclkd2-0.06$ sudo ./radioclkd2 -d ttyS0:-cts
version 0.06
Added clock unit 0 on line 'ttyS0:-cts'
pid 8421 for device /dev/ttyS0
Warning: failed to decode DCF77
DCF77 time: 2009-11-24 (day 4) 11:01 CET main ant
clock: radio time 1261648860.000000, pc time 1261648859.494195
DCF77 time: 2009-11-24 (day 4) 11:02 CET main ant
clock: radio time 1261648920.000000, pc time 1261648919.481707

Signal come on the cts line inverted.

I have try to compile ntp with SHM support on my Linux Box but i have a
error:

ntp_loopfilter.c: In function ‘local_clock’:
ntp_loopfilter.c:520: error: ‘MOD_NANO’ undeclared (first use in this function)
ntp_loopfilter.c:520: error: (Each undeclared identifier is reported only once
ntp_loopfilter.c:520: error: for each function it appears in.)
make[3]: *** [ntp_loopfilter.o] Error 1
make[3]: Leaving directory `/home/marc-andre/ntp-4.2.6/ntpd'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/marc-andre/ntp-4.2.6/ntpd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/marc-andre/ntp-4.2.6'
make: *** [all] Error 2
marc-andre at lanserver:~/ntp-4.2.6$

I use Ubuntu 9.10 32 Bit.

MfG Marc-Andre




More information about the questions mailing list