Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntp-4.1.1b-r3 Broken?
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
SpanKY
Developer
Developer


Joined: 18 Apr 2002
Posts: 321
Location: Somerville, MA

PostPosted: Fri Aug 22, 2003 5:34 am    Post subject: Reply with quote

Mnemia wrote:
Prior to the 4.1.2 build, I had to comment out the entire /etc/conf.d/ntpd file as the settings in it were wrong if you use ntpd and not ntpdate.

actually they werent, you just had to set NTPDATE_WARN="n" and leave the other NTPDATE vars commented out and it would run ntpdate before running ntpd ...
if you wanted to use ntpdate functionality of ntpd, then you could, that was the point of allowing ppl to specify the command

Quote:
I commented it all to prevent the init script from starting ntpd twice.

it only ran it twice if you told it to

Quote:
What has changed in the new 4.1.2 version?

the init.d script has been split (dunno why i didnt do it in the first place ...)
ntp-client for ppl (like me) who just want the client and ntpd for ppl (like you i guess) who just want the ntp daemon
Back to top
View user's profile Send private message
Mnemia
Guru
Guru


Joined: 17 May 2002
Posts: 476

PostPosted: Fri Aug 22, 2003 5:42 am    Post subject: Reply with quote

OK, thanks a lot for clarifying that. I was mostly just using my init file completely commented because it worked fine like that for ntpd.

I'll check out the new version - sounds like you made some good changes to it.
Back to top
View user's profile Send private message
DancesWithWords
Guru
Guru


Joined: 29 Jun 2002
Posts: 347
Location: ottawa, canada

PostPosted: Tue Aug 26, 2003 3:59 pm    Post subject: Reply with quote

SpanKY wrote:
Decibels wrote:
Wrote a little tutorial on ntpd and ntpdate at:http://webpages.charter.net/decibelshelp/LinuxHelp_NTP.html#ntp


you should update it for 4.1.2 :)
things are very different but imo, a lot easier


So I followed how-to and have done removal of ntpd "so it doesn't start before ntpdate: rc-update del ntpd default"

Now a bit confused from here... at this point neither ntpd or ntpdate start at boot up, even with the changes specified previously in the how-to?

You see my IBM T/P 600E just started keeping really, really bad time. As an amateur astronomer I need accurate time and in the field I don't have access to my network ;-) I'm not super obsessive about time, I just need it to be close.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


Joined: 16 Aug 2002
Posts: 1630
Location: U.S.A.

PostPosted: Tue Aug 26, 2003 7:47 pm    Post subject: Reply with quote

Did you read it with the new tutorial? I haven't finished the ntpd one yet. But the client is up. I have big orange headers showing which tutorial to use for which version.

Seems you may have skipped this part:
Code:
 Installing NTP: (NTP-CLIENT Section)

At the time of this writing you have to implicitly imply ntp-4.1.2 if you want it. It will also upgrade swig and libcap. After you emerge ntp you need to get it to work at boot. Add to default run-levels (as root): rc-update add ntp-client default . Now it will load at boot, but you don't have a server picked yet. So go to NTP Servers and read the info if you want and at the bottom of the page is the servers urls. Find a server(s) in your Time Zone, several incase one is down, preferably in stratum 2. Then as root, open up the /etc/conf.d/ntp-client file. It looks like this:


Specifically this:
Quote:
After you emerge ntp you need to get it to work at boot. Add to default run-levels (as root): rc-update add ntp-client default .

Then don't forget to pick a server(s) on the NTP server site and add to the ntp-client in /etc/conf.d .

I am going to be looking at the ntpd part today. I will reread the other (ntp-client). If something doesn't seem quite readable let me know.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
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
Goto page Previous  1, 2
Page 2 of 2

 
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