Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get NTPD to work for...PLEASE HELP! SLOVED FINALY!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Thu Jun 24, 2004 9:28 am    Post subject: Can't get NTPD to work for...PLEASE HELP! SLOVED FINALY! Reply with quote

Ok...

I emerged ntp, got the config files, added ntp-client and ntpd to default with rc-update.
i edited ntp.conf to look like so....

Code:

# NOTES:
#  - you should only have to update the server line below
#  - if you start getting lines like 'restrict' and 'fudge'
#    and you didnt add them, AND you run dhcpcd on your
#    network interfaces, be sure to add '-Y -N' to the
#    dhcpcd_ethX variables in /etc/conf.d/net
 
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server         ntp.example.tld         iburst
server ntp-2.mcs.anl.gov
server ntp-0.cso.uiuc.edu
##
# A list of available servers is available here:
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
# Please follow the rules of engagement and use a
# Stratum 2 server (unless you qualify for Stratum 1)
##
 
# you should not need to modify the following paths
driftfile       /var/lib/ntp/ntp.drift
logfile         /var/log/ntp.log
#server ntplocal.example.com prefer
#server timeserver.example.org
 
# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.
 
# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#
#restrict default ignore
 
 
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict default noquery nomodify
restrict 127.0.0.1
restrict 192.168.1.21
 
# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.1.0 mask 255.255.255.0 notrust nomodify notrap


and this is how my /etc/conf.d/ntp-client file looks like

Code:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.confd,v 1.4 2004/06/02 01:44:14 vapier Exp $
 
# Command to run to set the clock initially
# Most people should just leave this line alone ...
# however, if you know what you're doing, and you
# want to use ntpd to set the clock, change this to 'ntpd'
NTPCLIENT_CMD="ntpdate"
 
# Options to pass to the above command
# Most people should just uncomment this variable and
# change 'someserver' to a valid hostname which you
# can aquire from the URL's below
NTPCLIENT_OPTS="-b ntp-0.cso.uiuc.edu"
NTPCLIENT_OPTS="-b ntp-2.mcs.anl.gov"
 
##
# A list of available servers is available here:
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
# Please follow the rules of engagement and use a
# Stratum 2 server (unless you qualify for Stratum 1)
##


and this is my /etc/conf.d/ntpd ....

Code:

# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/ntp/files/ntpd.confd,v 1.14 2004/02/15 00:35:56 vapier Exp $
 
# Options to pass to the ntpd process
# Most people should leave this line alone ...
# however, if you know what you're doing, feel free to tweak
NTPD_OPTS="-c /etc/ntp.conf -u ntp:ntp"


( the -c tag is for the config file which i specified hopeing to fix something still nothing )

Now when i look in the /var/log/ntp.log there are no errors no nothing... when i do ntpq -p heres the output.... also the /var/log/messages posts that no IPv6 interfaces found when ntpd is loaded.

Code:

root@r00tw3rkz mortici # ntpq -p
Name or service not known


and here is an output of netstat ....

Code:

root@r00tw3rkz mortici # netstat -anp |grep 123
udp        0      0 192.168.1.21:123        0.0.0.0:* 8494/ntpd
udp        0      0 127.0.0.1:123           0.0.0.0:* 8494/ntpd
udp        0      0 0.0.0.0:123             0.0.0.0:* 8494/ntpd


I have no idea what the problem is, my router is configed to forward the port 123 to my ip which is listed so i dunno what the problem is ntp-client syncs my clock just fine but ntpd does not do anything at all i even waited more than an hour. The /var/lib/ntp/ntp.drift file also shows no activity so i dunno whats going on. If anyone can help me out please it would be greatly appreciated. If you need any more info id be happy to give it.


Then ntpd version is ntpd 4.2.0@1.1161-r
Kernel = 2.6.7-mm1 non ebuild version - No IPv6 support in the kernel

Please help me out here... Thank you in advance


Last edited by MortICi on Sun Jul 04, 2004 5:14 am; edited 2 times in total
Back to top
View user's profile Send private message
Rafje
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 109
Location: .be

PostPosted: Thu Jun 24, 2004 2:53 pm    Post subject: Reply with quote

For wat it's worth:

When I used ntp-4.2.0, I couldn't get ntpd to sync my clock either. ntpdate worked OK, but ntpd never did. I have never found why it didn't work, and I have not been able to solve it.
My workaround has been to emerge ntp-4.1.2. Now ntpd works fine.

R.
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Thu Jun 24, 2004 4:52 pm    Post subject: Reply with quote

Is this a flaw with ntpd 4.2 or something? Plus is there a way to force ntpd 4.1.2 to emerge or would i just have to download it and compile it?
Back to top
View user's profile Send private message
renfrew
n00b
n00b


Joined: 14 Jun 2004
Posts: 3

PostPosted: Thu Jun 24, 2004 5:24 pm    Post subject: Reply with quote

to force emerge to merge 4.1.2 instead of the 4.2.0 you can use the path to the ebuild file
Code:
emerge /usr/portage/net-misc/ntp/ntp-4.1.2.ebuild

or in general you can put an 'equals sign' in front of the name of the package and then sepcify the version number
Code:
emerge =ntp-4.1.2

the two code segments above should be equivilent
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Fri Jun 25, 2004 2:43 am    Post subject: Reply with quote

Ok i emerged ntp 4.1.2 and got rid of 4.2.0. Now i have the configs and everything is ok i guess....

My ntp.conf looks the same as before and so does my /etc/conf.d/ntp-client my only change i guess that i have is in /etc/conf.d/ntpd for the line it's changed from "-u ntp:ntp" to "-U ntp"

Now like i said ntp-client syncs my clock just fine initially, but ntpd for some reason refuses to KEEP my clock synced.

Here is the output of ntpq -p:

Code:

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 mcs.anl.gov     clepsydra.dec.c  2 u   58   64  377  2542.81  -334851 28811.9
 ntp-0.gw.uiuc.e truechimer.cso.  2 u   58   64  373  1950.44  -334946 56786.0


Heres a snipit from /var/log/ntp.log (i have logconfig =all enabled for verbose logging)

Code:

24 Jun 22:08:45 ntpd[30354]: running as uid(123)/gid(123) euid(123)/egid(123).
24 Jun 22:08:45 ntpd[30354]: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
24 Jun 22:08:58 ntpd[30354]: peer 130.126.24.53 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)
24 Jun 22:09:03 ntpd[30354]: peer 140.221.9.6 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0x8014)


And my /var/lib/ntp/ntp.drift file is still blank... as you can see...

Code:

root@r00tw3rkz mortici # cat /var/lib/ntp/ntp.drift
0.000


My router is configed for port 123 and udp i still have no idea whats causeing ntpd to not sync my clock if someone can help me out please it's driving me nuts! within an hour time im already drifted an hour ahead in my clock....

One more thing heres an interesting snipit from dmesg... i heard it could be related to the bios battery... ill post a few lines before the end....

I have Enhanced Realtime Clock in the kernel enabled and built in if that helps....

Code:

set_rtc_mmss: can't update from 59 to 6
set_rtc_mmss: can't update from 58 to 3
set_rtc_mmss: can't update from 58 to 4
set_rtc_mmss: can't update from 59 to 5
set_rtc_mmss: can't update from 59 to 6
MCE: The hardware reports a non fatal, correctable incident occurred on CPU 0.
Bank 2: 940040000000017a


NTP ver. 4.1.2
Kernel ver. 2.6.7-mm1 non ebuild, custom compile
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Fri Jun 25, 2004 4:14 pm    Post subject: Reply with quote

Anyone?
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Fri Jun 25, 2004 5:58 pm    Post subject: Reply with quote

i just use ntp-client to sync on boot

works for me
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Fri Jun 25, 2004 7:33 pm    Post subject: Reply with quote

ntp-client works fine when it runs it syncs my clock just fine at boot but my clock drifts like mad practically every normal min my clock moves forward about 2 mins thats why i want ntpd to KEEP my clock synced.... and it's not doing it for some reason..... im still messing with it i think i might be getting somewhere, if i could only get it to write to my ntp.drift file.....

any help would be greatly appreciated....
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Sat Jun 26, 2004 7:26 am    Post subject: Reply with quote

Is it possible that i have my hwclock wayyyy off thats causeing the problem? When i look at my /proc/driver/rtc it gives me a clock that is about 3 hours ahead of what it's soposed to be. Another question should i have my /etc/localtime set to UTC or my timezone? if i have it at UTC my hwlock and my sysclock and my rtc all are alligned? could this be causing my clock not sync? if i have it set for my timezone the hwlock jumps back a few hours and my hwclock goes into the 4th demension of another paradox... ill have to test this cause ntp-client syncs the clock it's way off... more testing to be done....

help...
Back to top
View user's profile Send private message
jrz
Apprentice
Apprentice


Joined: 19 Mar 2003
Posts: 272
Location: Sacramento, CA USA

PostPosted: Sat Jun 26, 2004 3:15 pm    Post subject: Reply with quote

i have mine set to local o_o
_________________
Press F1 for Help.
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Mon Jun 28, 2004 12:19 am    Post subject: SOLVED!!! Reply with quote

I have always had problems with 4.2.0, but I finally figured it out.

If you comment out all of your "restrict" lines in ntp.conf, ntpd works.

I need to investigate further into my restrict settings, so I have at least _some_ security, but at least I got it working! ;)
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Mon Jun 28, 2004 9:29 pm    Post subject: Reply with quote

Is it just my ntp or what i seriously don't know what to do i tried everything ntp 4.2.0 didn't post any info with ntpq -p.

It seems as the servers are running but its not syncing against them. I changed it all to local even my hwclock and rtc and my sysclock so they are all aligned but i seriously don't know why they won't sync.... ill try ntpd 4.2.0 again see if maybe that will work there has to be a way. Maybe im missing something in the kernel or my router is getting in the way i dunno anymore....

Help....
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


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

PostPosted: Tue Jun 29, 2004 1:48 am    Post subject: Reply with quote

What happens when you run /etc/init.d/ntp-client restart

Does it say 'Setting clock via the ntp client 'ntpdate'.... ?

Also, like Exdaix says, try comminting out your ntp.conf 'restrict' lines and restart ntp. They can give you trouble, been a long time and not at home, but think had to comment part of mine out to get it working.

Also: /etc/rc.conf
Code:
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then set CLOCK
# to "local".  This setting is used by the /etc/init.d/clock script.

CLOCK="local"

_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Thu Jul 01, 2004 2:03 am    Post subject: Reply with quote

Yes when i run the restart is says by ntpdate and it finds the server fine and sets the clock back just fine as well.... and i have my rc.conf set to local not utc so i dunno anymore, as far as i can tell it is recognizing the servers but it's not syncing against them, i even set up my router to accept port 123 for udp and everything i dunno any more...........

Help....

Im gonna try commenting everything out.....
Back to top
View user's profile Send private message
Quantumstate
Apprentice
Apprentice


Joined: 26 May 2004
Posts: 270
Location: Dallas

PostPosted: Fri Jul 02, 2004 2:46 pm    Post subject: Reply with quote

FWIW exactly the same problem with ntp4.2.0-r2.

Even made a thread called "NTP Deaf & Dumb"
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Fri Jul 02, 2004 9:44 pm    Post subject: Re: SOLVED!!! Reply with quote

Exdaix wrote:
I have always had problems with 4.2.0, but I finally figured it out.

If you comment out all of your "restrict" lines in ntp.conf, ntpd works.

I need to investigate further into my restrict settings, so I have at least _some_ security, but at least I got it working! ;)


Ok, I figured it out.

You can't have 2 restrict lines like so, in the default config file:

Code:
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict default notrust nomodify
restrict 127.0.0.1


You have to put 127.0.0.1 into the first restrict line like so:

Code:
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict 127.0.0.1 default notrust nomodify


That is what I did, and it seems to be fine. I hope I set it up ok, but it makes sense to me.

As for the other settings for restriction besides the one I use, I do not know.
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


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

PostPosted: Sat Jul 03, 2004 12:20 am    Post subject: Reply with quote

Thanks, you figured out something that I stopped looking at a long time back. I just commented all the restricts out cause wouldn't work with way config file was written. The lines seperately didn't work, but together they do. It doesn't know what 'default' is, take that out and works like before but with better security!! Note: still worked with 'default', just got that error.

Code:
 2 Jul 19:11:56 ntpd[7813]: configure: keyword "default" unknown, line ignored


So I confirm that this works (cept took out the 'default'):
Code:
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict 127.0.0.1 notrust nomodify
#restrict 127.0.0.1


Not sure what the 'default' setting are, but also added 'ignore' to the above.

Now to correct the tutorial. Again, Thanks Exdaix!
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Sat Jul 03, 2004 12:27 am    Post subject: Reply with quote

Decibels wrote:
Thanks, you figured out something that I stopped looking at a long time back. I just commented all the restricts out cause wouldn't work with way config file was written. The lines seperately didn't work, but together they do. It doesn't know what 'default' is, take that out and works like before but with better security!! Note: still worked with 'default', just got that error.

Code:
 2 Jul 19:11:56 ntpd[7813]: configure: keyword "default" unknown, line ignored


So I confirm that this works (cept took out the 'default'):
Code:
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict 127.0.0.1 notrust nomodify
#restrict 127.0.0.1


Not sure what the 'default' setting are, but also added 'ignore' to the above.

Now to correct the tutorial. Again, Thanks Exdaix!


No problem. ;)

I tried your settings with "ignore" added, but it won't work for me... not a big deal.

Also, where did you see that error about "default"? When I run the ntpd init script, it seems fine. Is there some log file I al not thinking to check?
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


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

PostPosted: Sat Jul 03, 2004 1:48 am    Post subject: Reply with quote

Watching: /var/log/ntpd.log

is where saw the error.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Sat Jul 03, 2004 3:04 am    Post subject: Reply with quote

Decibels wrote:
Watching: /var/log/ntpd.log

is where saw the error.


Ahh, I see it now, I removed it from mine too.

Thanks for catching that, I never would have. ;)
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Sat Jul 03, 2004 3:52 am    Post subject: Reply with quote

I hope this works....... ive tried everything else already....... im so lost and angry.......

Heres the odd part when i look at dmesg heres a weird error...

Code:

set_rtc_mmss: can't update from 59 to 7
set_rtc_mmss: can't update from 58 to 3
set_rtc_mmss: can't update from 58 to 4
set_rtc_mmss: can't update from 59 to 5
set_rtc_mmss: can't update from 56 to 1


And theres a bunch of those in dmesg heres a snipit from my ntpd.log file i have logconfig =all set in the ntp.conf to log all activity by ntp to see whats going on and i don't get anything.... but here it is ....

Code:

 2 Jul 22:32:02 ntpd[1303]: system event 'event_restart' (0x01) status 'sync_alarm, sync_unspec, 1 event, event_unspec' (0xc010)
 2 Jul 22:32:03 ntpd[1303]: peer 140.221.9.20 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0xa014)
 2 Jul 22:32:04 ntpd[1303]: peer 140.221.9.6 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0xa014)
 2 Jul 22:32:05 ntpd[1303]: peer 130.126.24.44 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0xa014)
 2 Jul 22:32:06 ntpd[1303]: peer 209.51.161.238 event 'event_reach' (0x84) status 'unreach, conf, 1 event, event_reach' (0xa014)


Now when i run ntpq -p heres the out put....

Code:

root@r00tw3rkz mortici # ntpq -p
Name or service not known


and heres the my ntp.conf as of right now tell me if somethings wrong here....

Code:

root@r00tw3rkz mortici # cat /etc/ntp.conf
# NOTES:
#  - you should only have to update the server line below
#  - if you start getting lines like 'restrict' and 'fudge'
#    and you didnt add them, AND you run dhcpcd on your
#    network interfaces, be sure to add '-Y -N' to the
#    dhcpcd_ethX variables in /etc/conf.d/net
 
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server         ntp.example.tld         iburst
#fudge clock.nyc.he.net stratum 2
#server 127.127.1.0
server ntp-1.mcs.anl.gov
server ntp-2.mcs.anl.gov
server ntp-2.cso.uiuc.edu
server clock.nyc.he.net prefer
##
# A list of available servers is available here:
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
# Please follow the rules of engagement and use a
# Stratum 2 server (unless you qualify for Stratum 1)
##
 
# you should not need to modify the following paths
driftfile       /var/lib/ntp/ntp.drift
logfile         /var/log/ntp.log
server clock.nyc.he.net prefer
server ntp-2.mcs.anl.gov
 
# Warning: Using default NTP settings will leave your NTP
# server accessible to all hosts on the Internet.
 
# If you want to deny all machines (including your own)
# from accessing the NTP server, uncomment:
#
#restrict default ignore
 
 
# To only deny other machines from changing the
# configuration but allow localhost uncomment:
#
restrict 127.0.0.1 notrust nomodify
#restrict 127.0.0.1
#restrict 192.168.1.21
#restrict 192.168.1.22
# To allow machines within your network to synchronize
# their clocks with your server, but ensure they are
# not allowed to configure the server or used as peers
# to synchronize against, uncomment this line.
#
#restrict 192.168.1.0 mask 255.255.255.0 nopeer nomodify


Just for your info heres what it is....

Code:

root@r00tw3rkz mortici # uname -a
Linux r00tw3rkz 2.6.7-mm1 #5 Tue Jun 29 00:58:49 CDT 2004 i686 AMD Athlon(tm)  AuthenticAMD GNU/Linux

root@r00tw3rkz mortici # ntpd --version
ntpd: ntpd 4.2.0@1.1161-r Mon Jun 28 18:14:05 CDT 2004 (1)


Help me please.....

Im still waiting to see if the last tips help.
Back to top
View user's profile Send private message
MortICi
n00b
n00b


Joined: 24 Jun 2004
Posts: 14

PostPosted: Sat Jul 03, 2004 4:49 am    Post subject: Reply with quote

OMG! You guys are gods! Holy sweet baby jebus! it works it really works finally i spent 3 weeks tying to get this thing to work and it finally works! THANK YOU THANK YOU! THANK YOU!

/me is very happy now!

/me bows to the super nice gentoo users!

/me shows much love!
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Sat Jul 03, 2004 1:36 pm    Post subject: Reply with quote

MortICi wrote:
OMG! You guys are gods! Holy sweet baby jebus! it works it really works finally i spent 3 weeks tying to get this thing to work and it finally works! THANK YOU THANK YOU! THANK YOU!

/me is very happy now!

/me bows to the super nice gentoo users!

/me shows much love!


/me gives a big bear-hug to MortlCi ;)

Now do us all a favor and change the topic to "[SOLVED]". 8)
Back to top
View user's profile Send private message
Decibels
Veteran
Veteran


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

PostPosted: Sat Jul 03, 2004 3:43 pm    Post subject: Reply with quote

Yes, very good point. Change to solved.
_________________
Support bacteria – they’re the only culture some people have.”

– Steven Wright
Back to top
View user's profile Send private message
Exdaix
n00b
n00b


Joined: 08 Aug 2003
Posts: 40

PostPosted: Sat Jul 03, 2004 4:01 pm    Post subject: Reply with quote

Also, MortlCi, I noticed in your ntp.conf you set two of your servers twice:

MortICi wrote:

Code:
root@r00tw3rkz mortici # cat /etc/ntp.conf
# NOTES:
#  - you should only have to update the server line below
#  - if you start getting lines like 'restrict' and 'fudge'
#    and you didnt add them, AND you run dhcpcd on your
#    network interfaces, be sure to add '-Y -N' to the
#    dhcpcd_ethX variables in /etc/conf.d/net
 
# Name of the servers ntpd should sync with
# Please respect the access policy as stated by the responsible person.
#server         ntp.example.tld         iburst
#fudge clock.nyc.he.net stratum 2
#server 127.127.1.0
server ntp-1.mcs.anl.gov
server ntp-2.mcs.anl.gov
server ntp-2.cso.uiuc.edu
server clock.nyc.he.net prefer


That was the first time you set them...

Quote:
Code:
##
# A list of available servers is available here:
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
# Please follow the rules of engagement and use a
# Stratum 2 server (unless you qualify for Stratum 1)
##
 
# you should not need to modify the following paths
driftfile       /var/lib/ntp/ntp.drift
logfile         /var/log/ntp.log
server clock.nyc.he.net prefer
server ntp-2.mcs.anl.gov


That was the second time you set them.

Just remove those two server sets at the bottom, since you already have them set at the top of the file.

And I'm not sure what that "prefer" setting is... can you explain it?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 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