NTP installation help

From: Dinesh Kelvin Paul (dinduman14@hotmail.com)
Date: Mon Oct 28 2002 - 02:07:04 EST


hello,

i am trying to configure Network time protocol on my solaris ver. 8 sun
enterprise machine.
The gps receiver is directly connected to my sun machine via serial
connections.
the steps which i had taken to configure was initally to make a softlink
from the serial port to the GPS receiver . eg: ln -s /dev/ttya /dev/hpgps1.
then had configured /etc/inet/ntp.conf where the following was lines were
edited : server 127.127.26.1 prefer
server 127.127.1.0 #local clock
fudge 127.127.XType.0 stratum 12
broadcast 224.0.1.1 ttl 4
enable auth monitor
.....................etc..........

then i ran the xntpd deamon (/etc/init.d/xntpd). However when i type ntpq
-p: only the local time is running. the gps unit isnt working. i had checked
the serial port and its working fine. the "when" and "poll" for the gps unit
isnt running. its stationary at "t=0".
This is the output of what i got when i tyepd ntpq -p :

# ntpq -p
     remote refid st t when poll reach delay offset
disp
===============================================================
GPS_HP(1) .GPS. 0 - - 64 0 0.00 0.000
16000.0
*LOCAL(0) LOCAL(0) 3 l 32 64 377 0.00 0.000
10.03
ntp.mcast.net 0.0.0.0 16 - - 64 0 0.00 0.000
16000.0

And when i type xntpdc, i got :
# xntpdc -p
     remote local st poll reach delay offset disp
=======================================================================
^ntp.mcast.net 0.0.0.5 16 64 0 0.00000 0.000000 16.0000
*LOCAL(0) 127.0.0.1 3 64 377 0.00000 0.000000 0.01003
=GPS_HP(1) 0.0.0.5 0 64 0 0.00000 0.000000 16.0000

Also whenever i reboot the machine, i am getting this messages at the output
display:

Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 702911 daemon.notice] xntpd
3-5.93e Mon Sep 20 15:47:11 PDT 1999 (1)
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 301315 daemon.notice] tickadj =
5, tick = 10000, tvu_maxslew = 495, est. hz = 100
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 798731 daemon.notice] using
kernel phase-lock loop 0041
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 504011 daemon.error] getnetnum:
"127.127.XType.0" invalid host number, line ignored
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 798731 daemon.notice] using
kernel phase-lock loop 0041
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 269952 daemon.error] can't open
key file /etc/inet/ntp.keys: No such file or directory
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 132455 daemon.error] trusted key
0 unlikely
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 581490 daemon.error] 0 makes a
poor request keyid
Oct 28 11:24:51 nsmcunix1 xntpd[3249]: [ID 450285 daemon.error] 0 makes a
poor control keyid
Oct 28 12:24:24 nsmcunix1 xntpd[3244]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory
Oct 28 12:24:51 nsmcunix1 xntpd[3249]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory
Oct 28 13:24:24 nsmcunix1 xntpd[3244]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory
Oct 28 13:24:51 nsmcunix1 xntpd[3249]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory
Oct 28 14:24:24 nsmcunix1 xntpd[3244]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory
Oct 28 14:24:51 nsmcunix1 xntpd[3249]: [ID 990412 daemon.error] can't open
/var/ntp/ntp.drift.TEMP: No such file or directory

Can someone help me fix this problem or give me an alternative web site
where i can download a basic ntp SW and to run this HP gps receiver. thanks
and hope to hear from someone soon. regard, DInesh

note: i am suing ip address of 10.200.64.XXX and my subnet mask is
255.255.254.0
Also am running on TIME ZONE GMT+8 . Could this be giving the problems ?

_________________________________________________________________
Internet access plans that fit your lifestyle -- join MSN.
http://resourcecenter.msn.com/access/plans/default.asp
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:10 EDT