Re: [SLE] quick question about checking time



On Sunday 01 October 2006 18:38, John wrote:
James Knott wrote:
John wrote:
If I want to get my server to periodically check against a time server,
is it just a question of adding ntpd into cronjob or is there more to it
(parameters, gotchas, etc?)

It's a lot easier than that. Just configure NTP in Yast to point to
your favourite time server and save the settings. There is nothing more
to do. NTP will determine how often it has to phone home.

Thanks, James. I'd hoped that it would be simple and half thought there
might already be some automation of the process!

I'll just let YaST get on with the job

A potential 'gotcha': You can't test your remote time server with the ntp
client configuration module in YaST when the firewall is running. This is
because the service hasn't been enabled yet and the port is still closed by
the firewall.

'Stop' the firewall using 'expert mode' in YaST's runlevel editor. The
lower-left control lets you 'stop' and 'start' processes at will, as opposed
to the enable/disable controls on the lower-right.

Keep the runlevel editor window open after you've dropped the firewall and
launch YaST's ntp client configuration module. Test your remote ntp server
and enable the ntp client configuration, which will open the appropriate port
in the firewall.

Bring the firewall back up and close the runlevel editor.

hth & regards,

Carl

--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx



Relevant Pages

  • Re: servers address in ntp payload?
    ... >> with all the stateful firewalls now in place if the response to a packet ... >> the address and the requestor will never receive a response. ... > Which is a flaw in such a firewall and a violation of RFC 2979. ... appears to only discuss TCP and it's layered protocols which NTP isn't. ...
    (comp.protocols.time.ntp)
  • IPTable Rule to allow NTP thru ?
    ... I am hoping that someone can explain to me what I need to add or change to my firewall settings to allow ntp to synchronize to an outside time source. ... My objective is to have a server in my office synchronize to an outside time server, then the desktop PC's would synchronize to the server. ... It appears that the IPtables rules on the server is blocking the ntp communication. ...
    (comp.protocols.time.ntp)
  • Re: IPTable Rule to allow NTP thru ?
    ... to my firewall settings to allow ntp to synchronize to an outside time ... My objective is to have a server in my office synchronize to ... properly if I had the right firewall setting. ... The stock RHEL 3 comes with an old version of nptd and a script that ...
    (comp.protocols.time.ntp)
  • Re: Setting Up NTP for Time Sync
    ... >>Why can't I synch off of the NTP machine from linux? ... >>I deliberately set the clock off by 15 seconds. ... Your personal or network firewall prevents clock synchronization. ...
    (comp.os.linux.networking)
  • Re: [SLE] quick question about checking time
    ... is it just a question of adding ntpd into cronjob or is there more to it ... (parameters, gotchas, etc?) ... NTP will determine how often it has to phone home. ...
    (SuSE)