I inherited a Kallisto GPS card and a site which is connected by a long wireless link in country Victoria. Between the poor power and the sufficiently variable quality of the link NTP would occasionally drift too far to recover or start in a poor state. As a result of this I unpacked the card and have now commissioned a new time server.
The Kallisto GPS Card (http://ion.le.ac.uk/kallisto/) is an ISA card mounting a Rockwell Jupiter GPS module which is manufactured by Greening Technology in the UK.
After installing the card and reserving the IRQ for the card it is necessary to have the startup scripts create the link that is used to find the GPS device by ntpd. This is done by adding the lines:
# GPSto the file
link cuau1 gps0
/etc/devfs.conf. In my case I have assigned the gps card as com2.
For convenience, it is often useful to be able to use tip to see the stream of
NMEA strings coming from the card. Modify the appropriate line in
/etc/remote to use 4800 baud eg:
tip uart1then connects you to the stream.
Finally, the time source needs to be added to the
# GPS cardI have added a small time correction to bring the GPS into line with the other time sources that I use when they are available
server 127.127.20.0 mode 3 minpoll 4 maxpoll 4 prefer
fudge 127.127.20.0 time1 2.170 flag1 1 flag3 1 refid PPS
The time source can be checked with the
ntpq -p command.
+22.214.171.124. 126.96.36.199 2 u 52 64 3 58.942 1.422 14.832
+188.8.131.52 184.108.40.206 3 u 49 64 3 52.482 -1.719 6.943
+warrane.connect 220.127.116.11 3 u 47 64 3 40.809 -0.866 19.531
-ntp.tourism.wa. 18.104.22.168 2 u 47 64 3 94.166 -18.254 18.530
LOCAL(0) .LOCL. 10 l 45 64 3 0.000 0.000 0.004
*GPS_NMEA(0) .PPS. 0 l 13 16 177 0.000 -6.040 7.123
When using NMEA mode and there is no fix the card returns NMEA sentences which ntpd treats regards as malformed. This can lead to much confusion if the antenna is not positioned well and the GPS has not had time to synchronise correctly.
A set of correctly formed sentences looks like:
$GPGGA,024313,3803.7438,S,14549.6286,E,1,04,0.91,128.9,M,-3.3,M,,*7CWhen not "tracking" the $GPGSA sentence becomes degenerate.