how to config NTP server ?

I tried setting up the NTP client . When i try to test the time servers i always get “Server is unreachable or does not respond properly”. In light of this i killed the firewall (…the system firewall) and I switched off my ADSL router’s firewall as well and tried again.
No result though…Any clues?

NTP works on TCP port 123, so your firewall (router) should let this port through.

It could be your current system time & date are to far off to be set.
Try opening a terminal console and stop the ntp daemon so you can synchronize manually (1st time).

in the console enter;
su - (and root pw)
service ntpd stop
ntpdate <your ntp server - e.g. ntp.pool.org, ntp1.nl.net or server of choice>

What does this return?

when i run the command: “service ntpd stop”
this is returned:“service: no such service ntpd”

zeidoon w wiadomo¶ci do grupy opensuse.org.help.howto napisa³(a):

> when i run the command: “service ntpd stop”
> this is returned:“service: no such service ntpd”

Can you show us what this command returns?

rpm -qa | grep ntp

Tomasz Lewicki

zeidoon wrote:
> I tried setting up the NTP client . When i try to test the time servers
> i always get “Server is unreachable or does not respond properly”. In
> light of this i killed the firewall (…the system firewall) and I
> switched off my ADSL router’s firewall as well and tried again.
> No result though…Any clues?
>
>
Moving thread to Applications from Howto.

Thread has been moved.

when I run “rpm -qa|grep ntp”
this is returned:
xntp-4.2.0a-70.14
yast2-ntp-client-2.13.17-0.10

Sorry for the long delay in my reply, I was away for the weekend.

The service name I gave you is not correct for openSUSE… the NTP client service is plain ntp.
The command should have been ’ service ntp stop '.

Please retry the commands and see if you get any significant errors when using ntpdate. Also try different ntp servers.

After opening the console commands should be:

in the console enter;
su - (and root pw)
service ntp stop
ntpdate <your ntp server - e.g. ntp.pool.org, ntp1.nl.net or server of choice>

luckily my problem is over!
thank you.