Jump to content

ntptrace


Guest ump
 Share

Recommended Posts

I ran ntptrace to see what timeserver I was using all i get back is my internet provider and it tomeout I ran ntpq -p to check what backup timeservers I could use but I don't get any

 

So how do I set one up to use

 

I did man ntptrace and man ntpq but there is no entry.

 

When I first installed MDK 9.0 it asked if I wanted to use a time server to keep my computer in sync I chose yes and it seem to set it up just trying to confirm it's still working.

Link to comment
Share on other sites

Hi

Dont know anything about a mcc wizard setup.

 

On a 8.1 machine in /etc/ncp.conf

I have

...

# Public Canadian meteorological ... at Dorval, Québec, Canada

server ntp1.cmc.ec.gc.ca

(and that is it for setup)

 

I found the public time server reading:

http://www.eecis.udel.edu/~mills/ntp/servers.html

then

http://www.eecis.udel.edu/~mills/ntp/clock2a.html

(probably some public ones in there closer to you)

 

service ntpd.../chkconfig.../wizard... to taste.

 

The 8.1 setup does a ntpdate ... to sync gross time differences

before launching the ntpd daemon.

 

The other machine not mandrake I manually launch ntpdate... before

launching the daemon(about same setup as 8.1).

 

Have not tried yet syncing second machine from other syncing on

public web time server.

Link to comment
Share on other sites

  • 6 months later...
Guest monkey2

My system clock is very fast, eg in a 24 hour period it will be 2 hours ahead of any other clock. So I installed ntp through mcc .

It seems to run fine, however it doesn't seem to maintain my clock

to the correct time.

 

my ntp.conf looks like :

 

server time.optusnet.com.au

#server 127.127.1.0 # local clock

#fudge 127.127.1.0 stratum 10

 

server ntp.adelaide.edu.au

 

#

# Drift file. Put this in a directory which the daemon can write to.

# No symbolic links allowed, either, since the daemon updates the file

# by creating a temporary in the same directory and then rename()'ing

# it to the file.

#

driftfile /etc/ntp/drift

multicastclient # listen on default 224.0.1.1

broadcastdelay 0.008

 

#

# Authentication delay. If you use, or plan to use someday, the

# authentication facility you should make the programs in the auth_stuff

# directory and figure out what this number should be on your machine.

#

authenticate no

 

#

# Keys file. If you want to diddle your server at run time, make a

# keys file (mode 600 for sure) and define the key number to be

# used for making requests.

# PLEASE DO NOT USE THE DEFAULT VALUES HERE. Pick your own, or remote

# systems might be able to reset your clock at will.

#

#keys /etc/ntp/keys

#trustedkey 65535

#requestkey 65535

#controlkey 65535

 

#restrict default ignore

 

 

A ntpq -p gives:

 

$ ntpq -p

remote refid st t when poll reach delay offset jitter

==============================================================================

*LOCAL(0) LOCAL(0) 10 l 55 64 377 0.000 0.000 10.010

tftp02.syd.optu murgon.cs.mu.OZ 2 u 158 1024 377 22.050 -34076. 14904.7

 

 

from this it seems that ntp is using localhost as the timeserver ?? is this right ?

 

any clues appreciated.

cs

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...