Mailinglist Archive: opensuse (2731 mails)
| < Previous | Next > |
Re: [SLE] Manually setting the time
- From: michael stone <mailguy@xxxxxxxxxxxxxxxxx>
- Date: Thu, 28 Aug 2003 17:22:44 -0500 (CDT)
- Message-id: <Pine.LNX.4.33.0308281713390.13598-100000@xxxxxxxxxxxxxxxxx>
The easiest way I have found to set the time is to use ntp. Put the
following lines in your /etc/ntp.conf file:
server ntp.cc.utexas.edu
server ntp2.cs.utexas.edu
server timex.peachnet.edu
I don't know where you are at, but you can probably google for some ntp
servers closer to your area. These servers should get you close enough
for government work.
Finally, start ntp with:
/etc/init.d/xntpd start
And you can make it start every time you boot the machine with:
insserv xntpd
ntp will check that the clock is in sync every few minutes, and it will
set the hardware clock at boot and shutdown.
hth,
--
Michael Stone
Linux / High Performance Computing Administrator
The University of Texas at Austin
Mechanical Engineering Department
ETC 3.130 ph: 471.5951
agentsmith[at]mail.utexas.edu
http://hpc.me.utexas.edu
On Fri, 29 Aug 2003, William Westfall wrote:
> My time and date are totally screwed up. When I try and use YaST it
> comes up with an error.
>
> Is there a bash command to force a time date change upon the system?
>
> If you didn't notice... this was a message from the future!
>
>
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx
>
>
following lines in your /etc/ntp.conf file:
server ntp.cc.utexas.edu
server ntp2.cs.utexas.edu
server timex.peachnet.edu
I don't know where you are at, but you can probably google for some ntp
servers closer to your area. These servers should get you close enough
for government work.
Finally, start ntp with:
/etc/init.d/xntpd start
And you can make it start every time you boot the machine with:
insserv xntpd
ntp will check that the clock is in sync every few minutes, and it will
set the hardware clock at boot and shutdown.
hth,
--
Michael Stone
Linux / High Performance Computing Administrator
The University of Texas at Austin
Mechanical Engineering Department
ETC 3.130 ph: 471.5951
agentsmith[at]mail.utexas.edu
http://hpc.me.utexas.edu
On Fri, 29 Aug 2003, William Westfall wrote:
> My time and date are totally screwed up. When I try and use YaST it
> comes up with an error.
>
> Is there a bash command to force a time date change upon the system?
>
> If you didn't notice... this was a message from the future!
>
>
>
> --
> Check the headers for your unsubscription address
> For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
> Also check the archives at http://lists.suse.com
> Please read the FAQs: suse-linux-e-faq@xxxxxxxx
>
>
| < Previous | Next > |