[time-nuts] Set time on Solaris computer from HP 58503A
Dr. David Kirkby (Kirkby Microwave Ltd)
drkirkby at kirkbymicrowave.co.uk
Sun Dec 14 07:42:43 EST 2014
On 14 December 2014 at 11:57, Hal Murray <hmurray at megapathdsl.net> wrote:
>
> drkirkby at kirkbymicrowave.co.uk said:
>> Can anyone advise if this is possible, and if so what software is needed?
>> Any idea what sort of accuracy would be achievable?
>
> I'm not familiar with Solaris. I've never worked with a 58503A, but I have
> worked with the Z3801A and KS-24361.
>
> I'd try ntpd. There is probably a version that comes with Solaris.
I
1) Downloaded ntp-4.2.6p5
2) Configured with as ./configure --enable-HPGPS
3) Built it, without any problems.
4) Switched user to root
4) Disabled the ntpd which was already running
# svcadm disable ntp
4) Installed it. I found it created a number of files in /usr/local/bin
drkirkby at buzzard:~$ ls -lrt /usr/local/bin/ | grep "Dec 14"
-rwxr-xr-x 1 root root 1394 Dec 14 12:19 ntp-wait
-rwxr-xr-x 1 root root 2029 Dec 14 12:19 ntptrace
-rwxr-xr-x 1 root root 466252 Dec 14 12:19 sntp
-rwxr-xr-x 1 root root 2253412 Dec 14 12:19 ntpd
-rwxr-xr-x 1 root root 299696 Dec 14 12:19 ntpdate
-rwxr-xr-x 1 root root 604280 Dec 14 12:19 ntpdc
-rwxr-xr-x 1 root root 606312 Dec 14 12:19 ntpq
-rwxr-xr-x 1 root root 176496 Dec 14 12:19 ntptime
-rwxr-xr-x 1 root root 23288 Dec 14 12:19 tickadj
-rwxr-xr-x 1 root root 460120 Dec 14 12:19 ntp-keygen
and also the directory /dev/fd
drkirkby at buzzard:~$ ls /dev/fd
0 112 127 141 156 170 185 2 213 228 242 27 41 56 70 85
1 113 128 142 157 171 186 20 214 229 243 28 42 57 71 86
10 114 129 143 158 172 187 200 215 23 244 29 43 58 72 87
100 115 13 144 159 173 188 201 216 230 245 3 44 59 73 88
101 116 130 145 16 174 189 202 217 231 246 30 45 6 74 89
102 117 131 146 160 175 19 203 218 232 247 31 46 60 75 9
103 118 132 147 161 176 190 204 219 233 248 32 47 61 76 90
104 119 133 148 162 177 191 205 22 234 249 33 48 62 77 91
105 12 134 149 163 178 192 206 220 235 25 34 49 63 78 92
106 120 135 15 164 179 193 207 221 236 250 35 5 64 79 93
107 121 136 150 165 18 194 208 222 237 251 36 50 65 8 94
108 122 137 151 166 180 195 209 223 238 252 37 51 66 80 95
109 123 138 152 167 181 196 21 224 239 253 38 52 67 81 96
11 124 139 153 168 182 197 210 225 24 254 39 53 68 82 97
110 125 14 154 169 183 198 211 226 240 255 4 54 69 83 98
111 126 140 155 17 184 199 212 227 241 26 40 55 7 84 99
drkirkby at buzzard:~$
> USB probably doesn't support PPS. I'd expect time to be within ballpark of
> 10s of ms, roughly what you would expect with a good network connection so
> use that as a sanity check.
>
> You will need to setup your ntp.conf to use the HP driver, 26.
That I am not sure how to configure ntp.conf - a case of RTFM.
> You will need to setup your 58503A to use UTC in T2 mode.
> :diag:gps:utc 1 (and reboot?)
That command works.
How do you reboot - apart from of course powering the thing off?
> :ptime:tcode:format F2
That command works too.
> You can check the GPS/UTC setting on the status page, and check the T2
> setting by sending:
> :PTIME:TCODE?
E-101> :PTIME:TCODE?
T2201412141234413000037
(remember I have not rebooted)
Dave
More information about the time-nuts
mailing list