Atomic Clock App

Perhaps this is covered in the ‘rdate’ app, but are there any apps out
there for QNX where, with a click of a button, it updates the OS and
hardware clock to a known atomic clock server? Thanks.

–Charles

If you download ntp for QNX there is a simpile utility
ntpdate which will grab the date and time from a none
server. There is a hierarchy of servers and generally
you should go to a secondary or teriery server. I use
cuckoo.nevada.edu.

Once your system time is set, you can use “rtc” to set
your local hardware clock.

Previously, Sir Charles wrote in qdn.public.qnxrtp.applications:

Perhaps this is covered in the ‘rdate’ app, but are there any apps out
there for QNX where, with a click of a button, it updates the OS and
hardware clock to a known atomic clock server? Thanks.

–Charles
\


Mitchell Schoenbrun --------- maschoen@pobox.com

If you download ntp for QNX there is a simpile utility
ntpdate which will grab the date and time from a none
server. There is a hierarchy of servers and generally
you should go to a secondary or teriery server. I use
cuckoo.nevada.edu.

Is that QNX 4.25 or RTP? I have been using it on my
4.25 system for a while but I haven’t been able to get it to
work on RTP.

QDN only shows 3 hits for ‘ntp’ and they all are for 4.25.

I downloaded the xntp and tried to compile the ntpdate but
got lots of errors under RTP…:frowning:

Thanks.

I was thinking of QNX 4, however it should port fairly easily.


Previously, Lee R. Copp wrote in qdn.public.qnxrtp.applications:

If you download ntp for QNX there is a simpile utility
ntpdate which will grab the date and time from a none
server. There is a hierarchy of servers and generally
you should go to a secondary or teriery server. I use
cuckoo.nevada.edu.

Is that QNX 4.25 or RTP? I have been using it on my
4.25 system for a while but I haven’t been able to get it to
work on RTP.

QDN only shows 3 hits for ‘ntp’ and they all are for 4.25.

I downloaded the xntp and tried to compile the ntpdate but
got lots of errors under RTP…> :frowning:

Thanks.
\


Mitchell Schoenbrun --------- maschoen@pobox.com

Except for those of us lacking porting skills :confused: My C/++ is
rusty-worn-through-with-holes at best.

I was thinking of QNX 4, however it should port fairly easily.


Previously, Lee R. Copp wrote in qdn.public.qnxrtp.applications:
If you download ntp for QNX there is a simpile utility
ntpdate which will grab the date and time from a none
server. There is a hierarchy of servers and generally
you should go to a secondary or teriery server. I use
cuckoo.nevada.edu.

Is that QNX 4.25 or RTP? I have been using it on my
4.25 system for a while but I haven’t been able to get it to
work on RTP.

QDN only shows 3 hits for ‘ntp’ and they all are for 4.25.

I downloaded the xntp and tried to compile the ntpdate but
got lots of errors under RTP…> :frowning:

Thanks.



\

Mitchell Schoenbrun --------- > maschoen@pobox.com

“Mitchell Schoenbrun” <maschoen@pobox.com> wrote in message
news:Voyager.010517144227.1447D@schoenbrun.com

I was thinking of QNX 4, however it should port fairly easily.

I was hoping someone had already done this…:slight_smile:

Lee,

Send me an email with your real return address and I’ll see if I can
do this in the next day or so.

Mitchell

Previously, Lee R. Copp wrote in qdn.public.qnxrtp.applications:

“Mitchell Schoenbrun” <> maschoen@pobox.com> > wrote in message
news:> Voyager.010517144227.1447D@schoenbrun.com> …
I was thinking of QNX 4, however it should port fairly easily.

I was hoping someone had already done this…> :slight_smile:
\


Mitchell Schoenbrun --------- maschoen@pobox.com

Oppse, nevermind, I see you do have a real address here.

Previously, Lee R. Copp wrote in qdn.public.qnxrtp.applications:

“Mitchell Schoenbrun” <> maschoen@pobox.com> > wrote in message
news:> Voyager.010517144227.1447D@schoenbrun.com> …
I was thinking of QNX 4, however it should port fairly easily.

I was hoping someone had already done this…> :slight_smile:
\


Mitchell Schoenbrun --------- maschoen@pobox.com

Lee,

Ok, I downloaded the latest version of NTP and I can say
that it is not adjusted for NTO, however I was able to get
ntpdate to compile and it appears to work ok. You, or anyone
else can download it from:

ftp://schoenbrun.com/pub/ntpdate_nto.pax.F

You might want to look around at http://www.ntp.org for
a proper URL to grab time from.

Mitchell Schoenbrun --------- maschoen@pobox.com

Ok, I downloaded the latest version of NTP and I can say
that it is not adjusted for NTO, however I was able to get
ntpdate to compile and it appears to work ok. You, or anyone
else can download it from:

ftp://schoenbrun.com/pub/ntpdate_nto.pax.F

Thanks. I grabbed it and after using QNX 4.25 to extract it from
the *.F file (RTP doesn’t seem to have a /etc/install file) I copied
it over to my RTP machine and it seems to be working fine.

One more nice utility to have down…many more to go…:slight_smile:

Thanks again.

Previously, Lee R. Copp wrote in qdn.public.qnxrtp.applications:

Thanks. I grabbed it and after using QNX 4.25 to extract it from
the *.F file (RTP doesn’t seem to have a /etc/install file) I copied
it over to my RTP machine and it seems to be working fine.

Sorry, RTP does have “melt” and “pax” with which you can:

melt <ntpdate.pax.F | pax -rv





Mitchell Schoenbrun --------- maschoen@pobox.com

Sorry, RTP does have “melt” and “pax” with which you can:

melt <ntpdate.pax.F | pax -rv

Yeah it does. I’m not on my RTP machine right now, but I know it’s

there. Perhaps it came in another package or in an update?

–Charles

Greetings,

Does it update the hardware clock? If so, how do you tell if the hardware
clock is UTC?

]{


“Mitchell Schoenbrun” <maschoen@pobox.com> wrote in message
news:Voyager.010518164923.768A@schoenbrun.com

Lee,

Ok, I downloaded the latest version of NTP and I can say
that it is not adjusted for NTO, however I was able to get
ntpdate to compile and it appears to work ok. You, or anyone
else can download it from:

ftp://schoenbrun.com/pub/ntpdate_nto.pax.F

You might want to look around at > http://www.ntp.org > for
a proper URL to grab time from.

Mitchell Schoenbrun --------- > maschoen@pobox.com