From owner-freebsd-questions Mon Nov 6 8:42:52 2000 Delivered-To: freebsd-questions@freebsd.org Received: from 2711.dynacom.net (2711.dynacom.net [206.107.213.3]) by hub.freebsd.org (Postfix) with ESMTP id CDD3737B479 for ; Mon, 6 Nov 2000 08:42:48 -0800 (PST) Received: from urx.com (dsl1-160.dynacom.net [206.159.132.160]) by 2711.dynacom.net (Build 101 8.9.3/NT-8.9.3) with ESMTP id IAA10090; Mon, 06 Nov 2000 08:42:01 -0800 Message-ID: <3A06DF59.245982D8@urx.com> Date: Mon, 06 Nov 2000 08:42:01 -0800 From: Kent Stewart Reply-To: kstewart@urx.com Organization: Dynacom X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: j mckitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: ntp servers? References: <20001103042510.A27062@dogma.freebsd-uk.eu.org> <3A024325.3D8776BB@urx.com> <20001106151618.A66974@dogma.freebsd-uk.eu.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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