NTP!!!!!!!!cant find it

hii want to setup a NTP server but i did not fine the /etc/init.d/xntpdplus how to make a ntp.conf file in the /etc/inet ?what should it containany help please!!!!Thanks
[204 byte] By [astroveny.suna] at [2007-11-26 15:29:41]
# 1

> hi

>

> i want to setup a NTP server but i did not fine the

> /etc/init.d/xntpd

Maybe you didn't install ntp when you loaded Solaris. (You don't mention what version of Solaris you're working with.)

>

> plus how to make a ntp.conf file in the /etc/inet

If you install ntp, you will find an example ntp.conf file in that directory.

timevansa at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 2
i am using solaris 10 x86at the installation of the solaris i used the costume packages and i marked the NTP packagein the /etc/inet i can find the ntp.server and ntp.client so can i installa the ntp?Thanks
astroveny.suna at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 3
In Solaris 10 the NTP service moved into SMF, so to start it you should edit your /etc/inet/ntp.conf accordingly and then type;svcadm enable ntpto check the status, run:svcs ntp .7/M.
mAbrantea at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 4
there is no /etc/inet/ntp.conf here is the output of the "svcs ntp":STATE STIMEFMRImaintenance14:46:09 svc:/network/ntp:defaultwhat should i do!!!ThanksMessage was edited by: astroveny.sun
astroveny.suna at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 5
svcs -x ntp
mAbrantea at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 6

well the ntp is online now

at machine1 i did copy the ntp.server to ntp.conf but i don't know what to edit

here is the ntp.conf:

server 127.127.1.0

#fudge 127.127.1.0 stratum 13

#ip of the other machine

server192.168.0.61

broadcast 224.0.1.1 ttl 4

enable auth monitor

driftfile /var/ntp/ntp.drift

statsdir /var/ntp/ntpstats/

filegen peerstats file peerstats type day enable

filegen loopstats file loopstats type day enable

filegen clockstats file clockstats type day enable

#keys /etc/inet/ntp.keys

trustedkey 0

requestkey 0

controlkey 0

and at the machine2 i did copy the ntp.client to ntp.conf

i didn't find any manual about ntp on solaris 10 because i think it differ from solaris 9 to solaris 10

Thanks

astroveny.suna at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...
# 7

If the machine is not a public-facing system (e.g. at home behind firewall), you can easily simplify your ntp configuration.

Here's what I use at home:

: titan; cat /etc/inet/ntp.conf

server 192.5.41.209

server 192.5.41.40

server 192.5.41.41

server 207.153.221.89

server 64.95.101.100

server 64.95.101.101

peer 192.168.1.5

peer 192.168.1.7

peer 192.168.1.153

peer 192.168.1.47

peer 192.168.1.82

driftfile /var/ntp/ntp.drift

broadcast 224.0.1.1

====

You can make one "universal" ntp.conf and copy it around. ntpd is smart enough to ignore "peer" entries that resolve to itself.

WRWindsora at 2007-7-8 21:46:05 > top of Java-index,General,Sun Networking Services and Protocols...