From owner-freebsd-questions@FreeBSD.ORG Mon May 8 04:19:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4327916A426 for ; Mon, 8 May 2006 04:19:20 +0000 (UTC) (envelope-from andrew.chace@gmail.com) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3098D43D62 for ; Mon, 8 May 2006 04:19:17 +0000 (GMT) (envelope-from andrew.chace@gmail.com) Received: by nz-out-0102.google.com with SMTP id i11so1074021nzi for ; Sun, 07 May 2006 21:19:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=AZrR2kfvxd7aTK0k3oZE/Zdr0UyZ+5SY3zDEKLeGXszABd4fL7lP0tNHEpK2oIFI2H5gJo8YmganSayeFsICO1GLLjZMViQOXL46M1Q+agVqHiMSJyDEcc+6CV4pvdMEPaHn2vr0/I84/0B6N2GYjU/fc0X1n6YIK5H9liM1MOI= Received: by 10.36.121.11 with SMTP id t11mr901999nzc; Sun, 07 May 2006 21:19:17 -0700 (PDT) Received: from ?192.168.0.6? ( [70.56.4.48]) by mx.gmail.com with ESMTP id i5sm1554167nzi.2006.05.07.21.19.15; Sun, 07 May 2006 21:19:17 -0700 (PDT) From: Andrew To: jekillen In-Reply-To: <8e6875284479b938892d255182f50ac8@prodigy.net> References: <8e6875284479b938892d255182f50ac8@prodigy.net> Content-Type: text/plain Date: Sun, 07 May 2006 23:17:28 -0500 Message-Id: <1147061848.3352.58.camel@LatitudeFC5.network> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 (2.6.1-1.fc5.2) Content-Transfer-Encoding: 7bit Cc: freebsd-questions Subject: Re: resetting clock after power outage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 May 2006 04:19:20 -0000 On Sun, 2006-05-07 at 21:10 -0700, jekillen wrote: > Hello; > I have a problem that I can't, so far find and answer to. > How do you reset the system clock after a power outage > has caused it to loose time? > I have a machine that went down a month or so ago and > since have noticed that the time stamp on such things > as mail to the root account, and log entries is way behind > what it should be. > The system is FreeBSD v6.0 and does not have Xwindows > installed on it. So I need to find out how to reset the clock > from the command line. I thought I could do it with sysinstall > but I don't see an option for actually setting the time, > only the time zone. > I presume that it is important, now, as I am running named > on it as a master server and I believe it is important that > it be in sync with the slave server running on another > machine that was off at the time of the outage. > I thought maybe the bios had something to do with it > but haven't seen a way to reset the time in the bios > either. > Thanks for assistance in advance; > JK Hello, See 'man ntpdate(8)'. Pretty sure that it's included with a basic installation; i.e. it's part of the system, not a port. -Andrew