On 2011-04-29, Cristian Seres <cristia...@contrasec.fi> wrote: > How would you implement an NTP server which would need to offer a time > set deliberately in past/future, say 365*86400 seconds, or even better - > first set the freely chosen date on NTP server and then keep the hours, > minutes and seconds in sync with the real time?
If you're not concerned with clock stability just configure ntpd with only the Undisciplined Local Clock driver (127.127.1.x) and set the kernel clock to what ever time you need. If you need a stable clock add PPS source and mark the Undisciplined Local Clock as the prefer source. Another approach is External Clock Discipline and the Local Clock Driver http://doc.ntp.org/4.2.6p3/extern.html -- Steve Kostecke <koste...@ntp.org> NTP Public Services Project - http://support.ntp.org/ _______________________________________________ questions mailing list questions@lists.ntp.org http://lists.ntp.org/listinfo/questions