Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ucdavis!quack!mrapple From: mrapple@quack.sac.ca.us (Nick Sayer) Newsgroups: comp.protocols.time.ntp Subject: Once more .. dosynctodr=0, Sun clock drifts Message-ID: Date: 24 May 91 05:14:26 GMT Organization: The Duck Pond, Stockton, CA Lines: 23 xntpd is unhappy with dosynctodr on. That's fine, I turned dosynctodr off. Now the problem is that the Sun battery clock drifts from real time and is never corrected. Is there a way to set the real time clock from the soft clock? Is it as simple as: #include main() { struct timeval tv; nice(-20); gettimeofday(&tv); settimeofday(&tv); } Is there a problem running this program on a regular basis (say, hourly)? How 'bout adding it to the xntpd code that updates the driftfile? -- Nick Sayer | Think of me as a recombinant | RIP: Mel Blanc mrapple@quack.sac.ca.us | Simpson: Homer's looks, Lisa's | 1908-1989 N6QQQ | brains, Bart's manners, and | May he never 209-952-5347 (Telebit) | Maggie's appetite for TV. --Me | be silenced.