[ntp:questions] Re: sntp hangs if network not available

Christopher Nelson cnelson at nycap.rr.com
Thu Dec 1 13:16:36 UTC 2005


Harlan Stenn wrote:
> Have you seen/tried the '-d' option to sntp?

I think so but I'll verify.

> Do you have *any* persistent storage on the device?

Yes.

> If you will be running
> ntpd anyway, as long as you can get the time to within 32 years (it might be
> 64 years but I have not tested this) ntpd will be able to set the time.

My epoch starts in 1999 so without doing anything I'm within 32 years
already.

> You can get the time to within 32 years from the timestamp on the drift file

Neat idea!  Thanks.

> or even using a timestamp from a filesystems or a timestamp stored in a file
> somewhere.

I've considered that and I'll work on it to handle sntp startup
failures but I want to get sntp working first.




More information about the questions mailing list