> > I have a raspberry pi system. This is a computer without a real time > > clock. So everytime I power it on, it uses starts where it left off > > which might be days earlier. It is connected only very occasionally to > > the internet so syncing to that won't work. It does have, however, a gps > > connected. But as it is switched mostly for less than an hour, ntpd > > won't have the time to adjust the time to what the gps returns to it. > > So I was wondering: is there a utility/a trick out there that picks the > > current time from a gps and then "jumps" the time to what it should be? > > It does not need to be very accurate - a couple of seconds off is ok > > (just not hours or days). > > > > Any ideas? > > How do you access the GPS receiver? Via gpsd?
Via gpsd indeed. But it that is a problem I can do other things first before I start gpsd. Folkert van Heusden -- MultiTail är ett flexibel redskap för att följa en eller flera logfiler, utföra kommandon, filtrera, färglägga, sammanfoga, o.s.v... ---------------------------------------------------------------------- Phone: +31-6-41278122, PGP-key: 1F28D8AE, www.vanheusden.com _______________________________________________ questions mailing list [email protected] http://lists.ntp.org/listinfo/questions
