xntpd for Solaris 2.6

xntpd for Solaris 2.6

Post by Myron Freema » Mon, 16 Mar 1998 04:00:00




Quote:> I wanted to setup the xntpd on a SPARCclassic running Solaris 2.6.
> I've already got this running on a Linux box, but I think the
> versions are a bit different, so I can't really use the existing
> file I have from there.  I'm moving all the services I run on the
> Linux box to the SPARC.
> There's no ntp.conf file distributed in 2.6, and so I am looking for
> an example.

Actually, there are example ntp.conf files shipped with Solaris 2.6.
They are /etc/inet/ntp.client and ntp.server.  Just copy one to
/etc/inet/ntp.conf and modify it to your needs.

Since you want to keep things simple, as long as you aren't doing
anything spectacular in your ntp.conf file, just copy the one from the
Linux box and try that for a while.  I'm using one from an ancient
version of xntpd running on an even more ancient MicroVAX III and it
works just fine for my needs.

----------------------------------------------------------------------
Myron Freeman                           voice: 617-253-4650
Computer Systems Manager                fax:   617-258-7354

77 Mass Ave.
Mailstop 38-376
Cambridge, MA 02139

 
 
 

xntpd for Solaris 2.6

Post by Lars Josephse » Mon, 16 Mar 1998 04:00:00


[snip]

Quote:> All I want is a simple server that queries an external one periodically,
> so my small LAN can sync off that.

[snip]

Unless you need extreme synchronization, you might consider
using rdate instead.

HTH, HAND

Lars
--
Do not reply to this address!
To find my real address try a search for my name on AltaVista.
Hint: My user name is hunter.

 
 
 

xntpd for Solaris 2.6

Post by Ian Fitche » Mon, 16 Mar 1998 04:00:00




> > I wanted to setup the xntpd on a SPARCclassic running Solaris 2.6.
> Since you want to keep things simple, as long as you aren't doing
> anything spectacular in your ntp.conf file, just copy the one from the
> Linux box and try that for a while.  I'm using one from an ancient

 The only caveat being that your name service might not be up and
running by the time xntpd queries it if you use hostnames in ntp.conf.

 In reply to Lars' suggestion about rdate, if you're building across
multiple machines then it's handy to have them all within a second of
each other as make(1) doesn't then throw a wobbly.

Cheers,

        Ian
--

 Fujitsu Telecommunications Europe ltd., Birmingham Business Park, B37 7YU, UK

 
 
 

xntpd for Solaris 2.6

Post by Ian G Batte » Tue, 17 Mar 1998 04:00:00


-----BEGIN PGP SIGNED MESSAGE-----


Quote:> > Since you want to keep things simple, as long as you aren't doing
> > anything spectacular in your ntp.conf file, just copy the one from the
> > Linux box and try that for a while.  I'm using one from an ancient

>  The only caveat being that your name service might not be up and
> running by the time xntpd queries it if you use hostnames in ntp.conf.

It might not be quite that simple, Ian --- recall that we aren't running
the Solaris shipped binary.  I had an exchange with the guy who did the
2.6 ntp work during the beta, complaining that my pre-existing configs
for xntpd 3.4y didn't work.  It turns out that the version shipped with
the beta would only do hostname translation if you have authentication
turned on and a key specified for that hostname translation.  I don't
recall if the production binaries have the same property --- (a) we're
not running them and (b) we've got authentication working anyway!

ian
--

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQB1AwUBNQzIP8oy0yij3IvtAQHZuQMArrAXPNXGWvucwLU/wsoAUu6GUyeutLNb
GJNP6BHXVjcESvdvI7lPtdyx2g1apX3mxm2AUeG0+sx9/IiTq8WWNDEnWcyPM5FQ
kXr07+eSAVAvvVeunoHZT+0A7pCs45r4
=0EYH
-----END PGP SIGNATURE-----

 
 
 

xntpd for Solaris 2.6

Post by Dustin » Tue, 17 Mar 1998 04:00:00



Quote:> I wanted to setup the xntpd on a SPARCclassic running Solaris 2.6.
> I've already got this running on a Linux box, but I think the
> versions are a bit different, so I can't really use the existing
> file I have from there.  I'm moving all the services I run on the
> Linux box to the SPARC.
> There's no ntp.conf file distributed in 2.6, and so I am looking for
> an example.

I found /usr/sbin/ntpdate - an alternative to xntpd on Solaris 2.6

--
Dustin Fu
Software Systems Specialist
Academic Computing Services
University of Texas at Arlington

817-272-2208

 
 
 

xntpd for Solaris 2.6

Post by Evgeny Mirono » Thu, 19 Mar 1998 04:00:00






> >> I wanted to setup the xntpd on a SPARCclassic running Solaris 2.6.
> >> I've already got this running on a Linux box, but I think the
> >> versions are a bit different, so I can't really use the existing
> >> file I have from there.  I'm moving all the services I run on the
> >> Linux box to the SPARC.
> >> There's no ntp.conf file distributed in 2.6, and so I am looking for
> >> an example.

> > I found /usr/sbin/ntpdate - an alternative to xntpd on Solaris 2.6

> My main reason for wanting to use and configure the 2.6 ntpd was
> I was more interested in how the multicast worked (without the need for cron)
> and experimenting with the setup.  I now have mcast rwhod running
> and wanted ntp to perform likewise!

> I *think* I have it working now, but do not know a safe way to test it.
> Any ideas?

As I know: multicat used only for distribution of information of
avalable timeservers. After client receives this information
it can sync with server. No time syncronisation performed via multicast.
If you want "safe environment" you will nedd to install keys
(or access lists). In this case - why you need to use mcast mode?
I am using the same ntp.config ant ntp.keys on clients
and 3 servers which have aliases timeserver1, timeserver2, timeserve3.

If you will use mcast mode - change mcast group, otherwise
you will receive a lot of information about "foreigh" servres.

--EM

 
 
 

1. xntpd (FreeBSD 2.2.6) + xntpd (SPARC Solaris 2.6)

Hi all

I'm trying to use xntpd with a Pentium FreeBSD box & a Sun SPARC IPC
with Solaris 2.6 to synchronise both their clocks. For some reason this
doesn't seem to work with any of the modes in the manpages (Multicast
server/client, Broadcast server and client, peer). Can anyone give me a
few hints as to what I may be doing wrong? How long do the machines take
to synchronise, for example?
Since I'm not permanently connected to the internet, I only want local
clock synchronisation - I'm not particularly interested in keeping
perfect universal time.
I suppose I might add that I'm trying to get an account using Kerberos
to authenticate to a server on the FreeBSD machine and I get the error
message "time out of bounds". I know secure RPC uses synchronised clocks
in its authentication scheme and I've heard somewhere that Kerberos does
this too. Anyone got any ideas?

cheers

Gerald

2. Wanted: Invoicing sw for Linux

3. Quetions on xntpd on Solaris 2.6

4. linux -> freebsd

5. xntpd on Solaris 2.6

6. File name substitution at command line

7. Solaris 2.6, Sun's xntpd

8. dat drive detection problem

9. Solaris 2.6 kernel PLL and xntpd

10. Problems with Solaris 2.6 xntpd

11. XNTPD 3.5.90 and Solaris 2.6

12. How to get the version of "xntpd" which came with Solaris 2.6

13. can't read Solaris 2.6 x86 hard disk on Solaris 2.6 Ultra-1 ?!?