[comp.protocols.time.ntp] Once more .. dosynctodr=0, Sun clock drifts

mrapple@quack.sac.ca.us (Nick Sayer) (05/24/91)

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 <time.h>
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.