Operating System - HP-UX
1833347 Members
2964 Online
110051 Solutions
New Discussion

Re: Can 11i (workstation) use a Win2k as a NTP server?

 
SM_3
Super Advisor

Can 11i (workstation) use a Win2k as a NTP server?

I have a B180L 11i workstation.
Can I use a Win2k as a time sever?

I have used the search utility to no avail.

I have setup the /etc/ntp.conf to include the Win2k ip address.

ntpdate returns with:
ntpdate[6091]: no server suitable for synchronization found

18 REPLIES 18
Pete Randall
Outstanding Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

Aside from the obvious humor about the reliability of such a configuration, it should work fine.

In your case, you need to supply the server on the ntpdate command line. See man ntpdate.

Pete

Pete
Jeff Schussele
Honored Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

Hi SM,

Sure....BUT the Win 2k box MUST have NTP server SW installed & that service up, running & broadcasting or responding to client requests.

I'd highly recommend that the Win box sync out to an external source for it's time as Win boxes are notorious for their ability to drift time quickly.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Chris Fadrowski
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

easy way to do this;

1. Edit /etc/ntp.conf (as you have) to include
server
2. run ntpdate (make sure xntpd is not running)
3. start xntpd
and edit /etc/rc.config.d/netdaemons and set the following lines;
export NTPDATE_SERVER= ip of time server
export XNTPD=1
/sbin/init.d/xntpd start
4. run ntpq -p to make sure it works

have your NT server get time externally from time.nist.gov
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

lol
i know.... the humour

which software do i need for the win2k
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

chris I've tried that

also ntpdate returns with:
ntpdate[6091]: no server suitable for synchronization found
Pete Randall
Outstanding Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

# ntpdate 130.1.0.251
12 Feb 14:10:15 ntpdate[29694]: adjust time server 130.1.0.251 offset 0.239177 sec


Pete

Pete
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

the workstation does not have an outside line to the net.

that's why i need to use the win2k as the ntp server
Pete Randall
Outstanding Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

I know, I know - but when you issue the ntpdate command, are you giving it the name or ip address of the Win2k server? I believe that ntpdate does not read that info from the ntp.conf file, you have to tell it.

Pete

Pete
Chris Fadrowski
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

what happens when you run ntpq -p?

try to kill ntp and then restart it.

ps -ef | grep -i ntp
kill it's PID

also, add "version 3 prefer"
in your ntp.conf file after the server entry.

do you have W2k sync'ing time and broadcasting it?

Make sure xntpd is not running when you run ntpdate.
Jeff Schussele
Honored Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

Hi,

Here's a couple of candidates:

http://www.ntp-time-server.com/ntp-server/ntp-server.htm

http://www.nextag.com/serv/main/buyer/outpdir.jsp?doSearch=y&search=ntp+software

Search google with "Windows NTP server software" for more.

Rgds,
Jeff

PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

i'm using
ntpdate 168.141.170.70

& no, the xntp daemon is not running when I issue the above
Chris Fadrowski
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

http://www.microsoft.com/windows2000/techinfo/howitworks/security/wintimeserv.asp

look at this link. You will need an SNTP service running on your W2K box if you Unix system doesn't have access to outside resources.
John Poff
Honored Contributor

Re: Can 11i (workstation) use a Win2k as a NTP server?

Hi,

All our HP servers have their NTP served from a Windows box. Our Windows guys wanted to do NTP and of course it doesn't come with Windows, so they got some software and installed it on a Windows box to be an NTP server to the rest of the Windows boxes. Since they were doing that we just configured our HP boxes to pick the NTP for free.

Our guys are using Domain Time II. They said they got it from greyware.com.

It may sound backwards but it works for us. Besides, if the time gets wrong we can blame it on our Windows people! ;)

JP


Chris Fadrowski
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

what about ntpq -p ? what is the result?

also, just to confirm, your unix system has access to a W2K server that can go outside, but the unix server can't? Is this something your firewall is blocking? Cuz in a sense, if unix can talk to an NT server, and the NT server can get outside, why not the unix server as well. then you could just sync with time.nist.gov and everything should work.
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

#ntpq -p
remote refid st t when poll reach delay offset disp
==============================================================================
pluto 0.0.0.0 16 - - 64 0 0.00 0.000 16000.0
Brian Kinney
Frequent Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

Your problem is NOT on the HPUX box. Win2K and its brethren use SNTP (nettime32) to sync. Once again, Micro$oft prevents compatibility outside of M$.

There's a simple tool called Tardis 2000, which would run on your Win2k box. Tardis can broadcast NTP time information, as well as sync your Win2k box to an appropriate source. Use it if there are no NTP time broadcasts on your LAN.

Set it to broadcast NTP on your LAN, otherwise it will broadcast to the universe. Since it is an application, you want Win2k to load it on startup.

Change your NTP configuration on your HPUX box to accept NTP broadcasts, and you should be ticking away in no time.

Lastly, talk with your network admin. Make sure he/she doesn't have a cow because you brought up an NTP server in broadcast mode. They may have a different solution for you.
"Any sufficiently advanced technology can be indistinguishable from magic" Arthur C. Clarke. My corollary - "Any advanced technology can be crushed with a sufficently large enough rock."
Brian Kinney
Frequent Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

More data:

Tardis now has a Service version!

http://www.kaska.demon.co.uk

It's $20 US for the shareware license.
"Any sufficiently advanced technology can be indistinguishable from magic" Arthur C. Clarke. My corollary - "Any advanced technology can be crushed with a sufficently large enough rock."
SM_3
Super Advisor

Re: Can 11i (workstation) use a Win2k as a NTP server?

I'm no longer using the Win2k as a time sever.

I now have a connection from the hp-ux box to the internet.

Thanks to all!