View previous topic :: View next topic |
Author |
Message |
SpanKY Developer
![Developer Developer](/images/ranks/rank-dev.gif)
![](images/avatars/13150300335e6b153702193.png)
Joined: 18 Apr 2002 Posts: 321 Location: Somerville, MA
|
Posted: Fri Aug 22, 2003 5:34 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Mnemia Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12493602223fdea58407e4e.jpg)
Joined: 17 May 2002 Posts: 476
|
Posted: Fri Aug 22, 2003 5:42 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
DancesWithWords Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 29 Jun 2002 Posts: 347 Location: ottawa, canada
|
Posted: Tue Aug 26, 2003 3:59 pm Post subject: |
|
|
SpanKY wrote: |
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 |
|
![](templates/gentoo/images/spacer.gif) |
Decibels Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/11158278024af5f41017fbf.jpg)
Joined: 16 Aug 2002 Posts: 1630 Location: U.S.A.
|
Posted: Tue Aug 26, 2003 7:47 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|