MaD dUCK wrote:
i am running xntp version 3 on one of my machines and updates from various time servers work perfectly. i would like to use this server as a time server for my internal network (192.168.14.0) and have added the appropriate lines to /etc/ntp.conf:
restrict default ignore restrict 192.168.14.0 mask 255.255.255.0 nomodify notrap notrust
however, trying it out with ntpdate, i get an error:
fishbowl:~ # ntpdate -b -p8 -u albatross 17 Jan 00:35:50 ntpdate[20159]: no server suitable for synchronization found fishbowl:~ # ntpdate albatross 17 Jan 00:35:57 ntpdate[20172]: no server suitable for synchronization found fishbowl:~ #
so i went ahead and tested the server with a windoze client, running dimension 4 (prolly the best ntp client for windoze), and it states that the server (albatross) returns a wrong ntp packet.
how do i enable the ntp server to be used by ntpdate on the internal network?
Firstly, did you restart the ntp server after you changed the config file? Another problem that I can see is that you have made any entries allowing your time server (albatross) to synchronise with those other external time servers. Hence if you did restart xntpd and waited a while before trying ntpdate, you may find that albatross hasn't been able to contact a time server for a while and has decided to significantly increase its stratum number to show that it is unsynchronised. Other possibilities would be to try removing the notrap option and see if it works after that, or try removing (commenting out) both restrict lines and see if you can get the client to connect. Also check /var/log/messages and /var/log/ntp (on both client and server) to see if you can get more details. Bye, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\