From owner-freebsd-questions@FreeBSD.ORG Mon May 8 04:10:31 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 998ED16A401 for ; Mon, 8 May 2006 04:10:31 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp101.sbc.mail.mud.yahoo.com (smtp101.sbc.mail.mud.yahoo.com [68.142.198.200]) by mx1.FreeBSD.org (Postfix) with SMTP id 0C5BD43D6D for ; Mon, 8 May 2006 04:10:27 +0000 (GMT) (envelope-from jekillen@prodigy.net) Received: (qmail 75710 invoked from network); 8 May 2006 04:10:27 -0000 Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp101.sbc.mail.mud.yahoo.com with SMTP; 8 May 2006 04:10:26 -0000 Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <8e6875284479b938892d255182f50ac8@prodigy.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions From: jekillen Date: Sun, 7 May 2006 21:10:55 -0700 X-Mailer: Apple Mail (2.622) Subject: 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:10:31 -0000 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