Date: Mon, 06 Nov 2000 08:42:01 -0800 From: Kent Stewart <kstewart@urx.com> To: j mckitrick <jcm@freebsd-uk.eu.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ntp servers? Message-ID: <3A06DF59.245982D8@urx.com> References: <20001103042510.A27062@dogma.freebsd-uk.eu.org> <3A024325.3D8776BB@urx.com> <20001106151618.A66974@dogma.freebsd-uk.eu.org>
next in thread | previous in thread | raw e-mail | index | archive | help
j mckitrick wrote: > > I can't seem to figure out why the method I have always used until now > doesn't work. I have a laptop, so it doesn't make sense to run a > time-keeping daemon, does it? I used to just su to root and run ntpdate > every once in a while, with the name of one of the servers on the list. Now > I keep getting the 'no suitable server for syncronization found' or > something similar. Has the behavior of ntpdate changed without me realizing > it? I didn't want to go through the trouble of lots of config files since > my system is not up all the time, and this method had always worked before. I don't know. I never used that method. What I did was add the port /usr/ports/sysutils/rdate. Then, I added the following aliases to root adjdate (/usr/local/sbin/rdate -a time.u.washington.edu) setdate (/usr/local/sbin/rdate -s time.u.washington.edu) You have to set the date first to get it accurate. Then, you run adjdate and each time you run it, it adjusts the clock to keep your system more accurate. I used a modem back then to access the Internet and the aliases made it easy to invoke. I thought about adding the setdate to the ppp.linkup but never got around to it. Once I had a DSL line installed, I added ntpd to my gateway and firewall system. It can get out past the firewall and everything else can get to it. There is a program called Automachrom from http://oneguycoding.com/ that I use to keep my Windows machines syncronized. Until I had a ntpd, it was a one shot deal because I didn't want it to force the dial and then timeout. A change of several minutes wasn't uncommon. Once I had an ntpd, I linked Automachrom on my Windows machines to my FreeBSD ntpd and have it check the time every 1800 seconds. The deltas I see are on the order of 0.5 seconds. If 2 minutes was fine, 0.5 seconds is ultra accurate :). Kent > > jcm > -- > "That depends on what the meaning of the word 'is' is." -President Bill Clinton > > "I don't know what you mean by the word 'ask.'" -CEO Bill Gates -- Kent Stewart Richland, WA mailto:kbstew99@hotmail.com http://kstewart.urx.com/kstewart/index.html FreeBSD News http://daily.daemonnews.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A06DF59.245982D8>