Sco OpenServer 5.0.4
Is there some way to keep time acuracy using an
external ntp server.
I found timed, ntpd and xntpd
The two last ones seem's to act as tme server and
I didn't find my way with timed
Any clues from somebody?
--
Michel Donais
Printable View
Sco OpenServer 5.0.4
Is there some way to keep time acuracy using an
external ntp server.
I found timed, ntpd and xntpd
The two last ones seem's to act as tme server and
I didn't find my way with timed
Any clues from somebody?
--
Michel Donais
----- Original Message -----
From: "Michel Donais" <donais@telupton.com>
Newsgroups: comp.unix.sco.misc
To: <distro@jpr.com>
Sent: Monday, March 12, 2007 1:20 AM
Subject: time acuracy
[color=blue]
> Sco OpenServer 5.0.4
>
> Is there some way to keep time acuracy using an
> external ntp server.
>
> I found timed, ntpd and xntpd
>
> The two last ones seem's to act as tme server and
> I didn't find my way with timed
>
> Any clues from somebody?
>
> --
> Michel Donais[/color]
ntpd is both client and server of the ntp protocol.
disregard xntpd and timed.
There is also a client-only for ntp called ntpdate.
In my opinion it's about exactly as easy or simple to use ntpdate in a cron
job as to configure ntpd to run all the time.
Nor is there any cpu/ram penalty by having ntpd running.
In either case, you need to look up an appropriate 2nd or 3rd tier ntp
server that is geographically close to you, perhaps your isp provides one.
Then for ntpd just create /etc/ntpd.conf with one line in it "server
tock.jrc.us"
Then "tcp stop ; tcp start" or reboot, or run ntpd -g manually. It will also
run at boot simply because ntpd.conf exists
Except you're going to want to reboot anyways for the new daylight savings
adjustment. more on that below.
For ntpdate there is no config file, just run this any time any where
ntpdate -b tock.jrc.us
or if you're behind a firewall or nat router you might need to add -u
ntpdate -bu tock.jrc.us
...and which can be placed in a cron job to reset the time once a day (or
however often you want)
22 2 * * * ntpdate -bu tock.jrc.us
Remember to vi /etc/TIMEZONE and append ",M3.2.0/2,M11.1.0/2" to TZ.
ie:
TZ='EST5EDT'
becomes
TZ='EST5EDT,M3.2.0/2,M11.1.0/2'
Then reboot the box so that init reads the new TZ, which means you don't
really have to bother starting ntpd manually above since you'll want to
reboot for this anyways.
Brian K. White [email]brian@aljex.com[/email] [url]http://www.myspace.com/KEYofR[/url]
+++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
filePro BBx Linux SCO FreeBSD #callahans Satriani Filk!
On Mar 12, 12:10 am, "Brian K. White" <b...@aljex.com> wrote:[color=blue]
> ----- Original Message -----
> From: "Michel Donais" <don...@telupton.com>
>
> Newsgroups: comp.unix.sco.misc
> To: <dis...@jpr.com>
> Sent: Monday, March 12, 2007 1:20 AM
> Subject: time acuracy
>[color=green]
> > Sco OpenServer 5.0.4[/color]
>[color=green]
> > Is there some way to keep time acuracy using an
> > external ntp server.[/color]
>[color=green]
> > I found timed, ntpd and xntpd[/color]
>[color=green]
> > The two last ones seem's to act as tme server and
> > I didn't find my way with timed[/color]
>[color=green]
> > Any clues from somebody?[/color]
>[color=green]
> > --
> > Michel Donais[/color]
>
> ntpd is both client and server of the ntp protocol.
> disregard xntpd and timed.
>
> There is also a client-only for ntp called ntpdate.
> In my opinion it's about exactly as easy or simple to use ntpdate in a cron
> job as to configure ntpd to run all the time.
> Nor is there any cpu/ram penalty by having ntpd running.
>
> In either case, you need to look up an appropriate 2nd or 3rd tier ntp
> server that is geographically close to you, perhaps your isp provides one.
>
> Then for ntpd just create /etc/ntpd.conf with one line in it "server
> tock.jrc.us"
> Then "tcp stop ; tcp start" or reboot, or run ntpd -g manually. It will also
> run at boot simply because ntpd.conf exists
> Except you're going to want to reboot anyways for the new daylight savings
> adjustment. more on that below.
>
> For ntpdate there is no config file, just run this any time any where
> ntpdate -b tock.jrc.us
> or if you're behind a firewall or nat router you might need to add -u
> ntpdate -bu tock.jrc.us
>
> ..and which can be placed in a cron job to reset the time once a day (or
> however often you want)
> 22 2 * * * ntpdate -bu tock.jrc.us
>
> Remember to vi /etc/TIMEZONE and append ",M3.2.0/2,M11.1.0/2" to TZ.
> ie:
> TZ='EST5EDT'
> becomes
> TZ='EST5EDT,M3.2.0/2,M11.1.0/2'
>
> Then reboot the box so that init reads the new TZ, which means you don't
> really have to bother starting ntpd manually above since you'll want to
> reboot for this anyways.
>
> Brian K. White b...@aljex.com [url]http://www.myspace.com/KEYofR[/url]
> +++++[>+++[>+++++>+++++++<<-]<-]>>+.>.+++++.+++++++.-.[>+<---]>++.
> filePro BBx Linux SCO FreeBSD #callahans Satriani Filk![/color]
xntpd is the version of ntpd that you'll find on 5.0.5 and earlier.
Usage and setup is about the same.
It may be heresy but if there's a Windows system on the network you
can use the domain controllers as time sources for (x)ntpd or ntpdate.
--Ray Robert
Three Star Software
In article <007a01c76475$8974e880$861fa8c0@tv>,
Brian K. White <brian@aljex.com> wrote:[color=blue]
>
>----- Original Message -----
>From: "Michel Donais" <donais@telupton.com>
>Newsgroups: comp.unix.sco.misc
>To: <distro@jpr.com>
>Sent: Monday, March 12, 2007 1:20 AM
>Subject: time acuracy
>
>[color=green]
>> Sco OpenServer 5.0.4
>>
>> Is there some way to keep time acuracy using an
>> external ntp server.
>>
>> I found timed, ntpd and xntpd
>>
>> The two last ones seem's to act as tme server and
>> I didn't find my way with timed
>>
>> Any clues from somebody?
>>
>> --
>> Michel Donais[/color]
>
>
>ntpd is both client and server of the ntp protocol.
>disregard xntpd and timed.
>
>There is also a client-only for ntp called ntpdate.
>In my opinion it's about exactly as easy or simple to use ntpdate in a cron
>job as to configure ntpd to run all the time.
>Nor is there any cpu/ram penalty by having ntpd running.
>
>In either case, you need to look up an appropriate 2nd or 3rd tier ntp
>server that is geographically close to you, perhaps your isp provides one.
>
>Then for ntpd just create /etc/ntpd.conf with one line in it "server
>tock.jrc.us"
>Then "tcp stop ; tcp start" or reboot, or run ntpd -g manually. It will also
>run at boot simply because ntpd.conf exists
>Except you're going to want to reboot anyways for the new daylight savings
>adjustment. more on that below.
>
>For ntpdate there is no config file, just run this any time any where
> ntpdate -b tock.jrc.us
>or if you're behind a firewall or nat router you might need to add -u
> ntpdate -bu tock.jrc.us[/color]
[color=blue]
>..and which can be placed in a cron job to reset the time once a day (or
>however often you want)
>22 2 * * * ntpdate -bu tock.jrc.us[/color]
One of the prefered servers for time is a pool of ntp servers.
You get them by using ntpdate north-America.pool.ntp.org.
I actually run from the pool on an hourly basis.
Bill
--
Bill Vermillion - bv @ wjv . com
>Remember to vi /etc/TIMEZONE and append ",M3.2.0/2,M11.1.0/2" to TZ.[color=blue]
>ie:[/color]
TZ have been done a week ago.
Thank's a lot for your explanations about ntp; it's a lot easier than I think it was after reading the man pages.
---
Michel Donais