Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem getting ntpd to work
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
Lazarus18
n00b
n00b


Joined: 01 May 2002
Posts: 38

PostPosted: Sat May 25, 2002 6:19 pm    Post subject: problem getting ntpd to work Reply with quote

I emerged ntpd, and added servers to ntp.conf from a list of stage2 public servers. Set it to run with boot and it does. Problem is I don't think it's working. Typing ntpdate or rdate (which I also emerged) returns error messages about not having any valid servers.

What setup do any home users have who have made this work? Are there any firewall changes to be made? My OS X box syncs just fine, and they're behind the same firewall, which has no forwarding set for port 123 so the Mac clearly doesn't need that for ntp, don't see why Gentoo would.

Thanks.
_________________
-Rob, Tired med student
Powermac G4 450 MHz (Sawtooth), 756 MB RAM, OS X.1.4
Powerbook G3 400 MHz (Pismo), 192 MB RAM, OS X.1.4, Gentoo Linux
Homebrew Athlon-xp 1800+ MHz, 512 MB DDR-RAM, GeForce 3Ti 500, Gentoo Linux, WinXP
Back to top
View user's profile Send private message
Jebus
n00b
n00b


Joined: 10 Apr 2002
Posts: 11
Location: Calgary, Canada

PostPosted: Sat May 25, 2002 11:19 pm    Post subject: Reply with quote

I think its working ok, i have my xp box synced to time.windows.com so i did the same with my gentoo box (set it in /etc/conf.d/ntpd) ran:

/etc/init.d/ntpd start
and
rc-update add ntpd default

if i try the manual way i get errors as well, but the clock is now within 1sec of my windows box so i assume the daemon works just fine!
_________________
The only difference between a brown-noser and a shithead is depth perception.
Back to top
View user's profile Send private message
Lazarus18
n00b
n00b


Joined: 01 May 2002
Posts: 38

PostPosted: Sun May 26, 2002 12:32 am    Post subject: Reply with quote

OK, that did work I think, thanks. I think my problem was in not modifying that file in conf.d. I just messed with the ntp.conf in /etc. Not sure why the difference, and ntpdate still gives me errors (although ntptime doesn't), but it shows the same time I get from the ntp server time.apple.com on my Mac, so methinks all is well.
_________________
-Rob, Tired med student
Powermac G4 450 MHz (Sawtooth), 756 MB RAM, OS X.1.4
Powerbook G3 400 MHz (Pismo), 192 MB RAM, OS X.1.4, Gentoo Linux
Homebrew Athlon-xp 1800+ MHz, 512 MB DDR-RAM, GeForce 3Ti 500, Gentoo Linux, WinXP
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Sun May 26, 2002 3:16 am    Post subject: Reply with quote

Lazarus18 wrote:
ntpdate still gives me errors


Try: ntpdate <timeserver>, make sure the daemon isn't running. You can't sync manually and run the daemon at the same time.
_________________
- Kyle Manna

Please, please SEARCH before posting.

There are three kinds of people in the world: those who can count, and those who can't.
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