Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NTP setup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 12:49 am    Post subject: NTP setup Reply with quote

OK, I think I've figured out what to do to setup ntp.
Create a config file 'commonly called' ntp.conf (I'm assuming under /etc) to look something like this:
Code:
server foo.bar.com
driftfile /etc/ntp.drift

1. Any recommendations for choosing a server? There aren't any local stratum2 server's in Colorado.
Which is surprising considering the stratum1 servers that are here. Anyway, reading over this list looks
like many of the stratum2 servers are for customers or certain service areas.
2. Did I miss something, or is the /etc/ntp.drift file empty?
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 12:53 am    Post subject: Reply with quote

Huh... I had an ntp.conf and a drift file without doing anything. Maybe you're weird. ;)

1. Check your ISP. My ISP (which I [url=distro@distrowatch.com]really like[/url]) has a time server called ntp.visi.com, another ISP I'm forced to use (:()is timesync.___.com, and yet another is sntp.___.com. Just poke around with ping, if any of those resolve to anything they'll probably let you sync.

2. It's empty until ntpd has been running for a while and collects statistics on how much your clock drifts relative to the timeserver. That lets ntpd adjust your clock when you're disconnected from the 'net or whatever.
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 1:18 am    Post subject: Reply with quote

I did a find, looks like /etc/conf.d/ntpd is the installed config file.
I didn't find mention of where it would be, so I guessed /etc.
Code:
/ect/conf.d # more ntpd
# Config file for /etc/init.d/ntpd


# Name of the server ntpd should sync with

#NTPDATESERVER=ntp.ctr.columbia.edu

_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 1:39 am    Post subject: Reply with quote

No luck with ping or finding anything on their Technical Assistance Center.
That certainly sounds helpful tho, don't it? :D I'll wade through the list I mentioned earlier.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 1:46 am    Post subject: Reply with quote

kanuslupus wrote:
_________________
RTFM, Docs, FAQ, Forum Search, Google.


Yeah, use Google yourself!

From http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x7c42ec08252fd611abd50090277a778c,00.html:

Quote:
US CO utcnist.colorado.edu (128.138.140.44)
Location: JILA Laboratory, University of Colorado
Synchronization: ACTS dial-up using lockclock algorithm; DEC Alpha UNIX
Service Area: Western US
Access Policy: Open to All Colorado users, other stratum-2 servers; others by arrangement
Contact: Judah Levine (jlevine@boulder.nist.gov) 303 492-7785

_________________
I don't believe in witty sigs.


Last edited by delta407 on Fri Jul 05, 2002 4:03 am; edited 1 time in total
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 2:11 am    Post subject: Reply with quote

I never asked for anyone to tell me a server to use :wink: I was mainly amused at my ISP's
support site and thought I'd pass it on. My main mistake was assuming that the NTP site
had an accurate list of servers. I should have known better. I did just try a search, but
didn't find anything (yet). Guess I need to work on my search technique.

Thanks for the link.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Naan Yaar
Bodhisattva
Bodhisattva


Joined: 27 Jun 2002
Posts: 1549

PostPosted: Fri Jul 05, 2002 2:53 am    Post subject: Reply with quote

FWIW, I use ntp0.cornell.edu and ntp-0.cso.uiuc.edu. Open access for both of them.

kanuslupus wrote:
I never asked for anyone to tell me a server to use :wink: I was mainly amused at my ISP's
support site and thought I'd pass it on. My main mistake was assuming that the NTP site
had an accurate list of servers. I should have known better. I did just try a search, but
didn't find anything (yet). Guess I need to work on my search technique.

Thanks for the link.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 2:54 am    Post subject: Reply with quote

Well, I still haven't found a server using Google, so I entered yours (delta407).
Now my clock is an hour behind.
:lol: Fun stuff!

EDIT: Time is correct now, but don't think it is recognizing daylight savings time.
I wish we'd just quit wasting time jacking clocks back and forth.
_________________
Quis separabit? Quo animo?


Last edited by pjp on Fri Jul 05, 2002 3:23 am; edited 1 time in total
Back to top
View user's profile Send private message
carboxylman
n00b
n00b


Joined: 28 Jun 2002
Posts: 34
Location: minneapolis, mn

PostPosted: Fri Jul 05, 2002 3:03 am    Post subject: Reply with quote

Here's a link to ntp servers:

http://boulder.nist.gov/timefreq/service/time-servers.html.

I also use clock.isc.org
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Fri Jul 05, 2002 3:05 am    Post subject: Reply with quote

OK, what did you guys search for? I used +ntp +server +"colorado springs" and came up with nothing useful.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum