[ntp:questions] nmea stopped working all of a sudden
Nicola Berndt
nb at komeda-berlin.de
Sat Aug 23 16:51:30 UTC 2008
>> And here what I get with it:
>>
>> remote refid st t when poll reach delay offset jitter>==============================================================================> GPS_NMEA(0) .GPS. 0 l - 64 0 0.000 0.000 0.001
>>
>
> The 0 under reach says you aren't getting any data from that system.
>
>
>
>> nmea: gpsread 72 $GPGGA,151022.00,5225.83871,N,01316.84595,E,1,07,0.99,39.8,M,44.9,M,,*60
>>
>
> That says the unit is working and providing GPGGA info. The 1 after the E
> says it thinks the data is valid. (aka it is hearing enough satellites)
>
> Go back up and look at the config file. The default for the NMEA driver
> is to expect GPRMC sentences. So you should either fix your unit to
> send them (and not waste time with the GPGGA stuff) or fix your config
> file to use the GPGGA sentences. I think that takes a mode subcommand.
>
>
Thx a lot for that hint! Strangely the unit sometimes comes with GPRMC
sentenses and sometimes not, so I configured ntpd to use the GPGGA
sentenses. Just had to add 'mode 2' to the config line of the gps device.
Best regards,
../nico berndt
More information about the questions
mailing list