Re: Date Problems...

2001-07-18 Thread Calvin Chong
on 7/18/01 11:34 AM, Leonard Leblanc at [EMAIL PROTECTED] wrote:

 Hey All,
 
 This is probably going to be an easy question for most of you, but I can't
 seem to get a grasp on what the problem is...
 
 # hwclock
 Tue Jul 17 22:38:11 2001  -0.044470 seconds
 # hwclock --localtime
 Wed Jul 18 03:37:34 2001  -0.558978 seconds
 # uname -a
 Sat Nov 18 18:47:15 EST 2000
 
 This one completely has me baffled and I can't seem to find any information
 on it.  Any help is greatly appreciated.

This may be a problem due to timezone settings - but 'm quite SURE that you
get it wrong - use ntpdate



RE: Date Problems...

2001-07-18 Thread Ian Perry
The #uname -a  command also gives you the version and date of compilation
(installation ?)
eg one our old machines gives
Linux router1 2.0.36 #1 Thu Sep 2 09:28:09 EST 1999 i686 unknown
one of the newer gives
Linux router2 2.2.17 #1 Sun Jun 25 09:24:41 EST 2000 i586 unknown

I often use the command 'hwclock --systohc' to set the clock to the system
time after a date command.

Ian


-Original Message-
From: Ari Pollak [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 1:53 PM
To: debian-user@lists.debian.org
Subject: Re: Date Problems...


First of all, I don't think that's the real 'uname -a' output. uname -a
has more than just the date. Second of all, the hardware clock and the
system (Linux) clock are different. if you type the command 'date',
you'll probably get the same output as uname. To transfer the hardware
clock to the system clock, use the command 'hwclock --hctosys'.

On Tue, Jul 17, 2001 at 10:34:55PM -0500, Leonard Leblanc wrote:
 Hey All,

 This is probably going to be an easy question for most of you, but I can't
 seem to get a grasp on what the problem is...

 # hwclock
 Tue Jul 17 22:38:11 2001  -0.044470 seconds
 # hwclock --localtime
 Wed Jul 18 03:37:34 2001  -0.558978 seconds
 # uname -a
 Sat Nov 18 18:47:15 EST 2000

 This one completely has me baffled and I can't seem to find any
information
 on it.  Any help is greatly appreciated.


--
   ___   ___
  / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com
 / __ |/ ___/
/_/ |_/_/ A man needs a good memory after he has lied.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]




Re: Date Problems...

2001-07-17 Thread Ari Pollak
First of all, I don't think that's the real 'uname -a' output. uname -a
has more than just the date. Second of all, the hardware clock and the
system (Linux) clock are different. if you type the command 'date',
you'll probably get the same output as uname. To transfer the hardware
clock to the system clock, use the command 'hwclock --hctosys'.

On Tue, Jul 17, 2001 at 10:34:55PM -0500, Leonard Leblanc wrote:
 Hey All,
 
 This is probably going to be an easy question for most of you, but I can't 
 seem to get a grasp on what the problem is...
 
 # hwclock
 Tue Jul 17 22:38:11 2001  -0.044470 seconds
 # hwclock --localtime
 Wed Jul 18 03:37:34 2001  -0.558978 seconds
 # uname -a
 Sat Nov 18 18:47:15 EST 2000 
   
 This one completely has me baffled and I can't seem to find any information 
 on it.  Any help is greatly appreciated.
 

-- 
   ___   ___ 
  / _ | / _ \   Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com
 / __ |/ ___/  
/_/ |_/_/ A man needs a good memory after he has lied.



Re: Date Problems and more

1999-03-05 Thread D Richards
First off thanks to everyone who replied to my first problem.  I was actually 
trying to just change the hour and nothing else using the 'date' command.  Duh!

Ok my brother is wanting to install Debian on his home machine, after I've been 
telling him how great the support is from you guys and how cool and efficient 
the Linux OS is.

He has a old i386 with a 1mg+ HD that his BIOS and Windows doesn't see all of.  
Well we ran a floppy I prepared from my machine and we quickly had Debian up 
and running. I tried to just use the part of the drive that Windows doesn't see 
and everything seemed Ok from the Linux side with fdisk.  However from the BIOS 
and Windows the Partition Table was messed up in such a way as to make Windows 
unbootable.  I had to run a rescue disk and do a fdisk /mbr to get it back to 
normal.  I've been following this list for a while and someone somewhere 
mentioned that you could write the root partition to the lower part of the HD 
and make it work OK.  If so can you do this without screwing up his existing 
Windows partition? Also his computer has a Sony cdrom (CDU-33A) which is 
supported by the kernal already.  But the installation program wouldn't 
recognize it.  I've got the hamm dist.  Any one have any ideas?  I don't think 
he had any problems with the cdrom from Windows although I didn't check it out 
while I was there.

TIA Duane

BTW  I converted from Slack to Debian after I tried to get support from them 
and while doing a search for some file I thought was broken ran accross this 
mailing list and saw a lot of my questions answered just by reading the 
archives.  Just one thing though. is there a way to search just the mailing 
list archives for answers to specific problems? That would sure be a BIG 
timesaver for a lot of people.


Re: Date Problems

1999-03-01 Thread wtopa

Subject: Date Problems
Date: Wed, Jul 07, 2004 at 01:10:08AM -0500

In reply to:D Richards

Quoting D Richards([EMAIL PROTECTED]):
 
 Hello
 
 I've just reinstalled debian hamm on my new 2.5 gig HD with no problems.  
 Except I can't seem to understand the correct syntax for setting my system 
 date and time using 'date'.
 
 Can anyone give me an example with an explanation
 
 TIA
 
 Duane Richards 
 
man date, man clock, man hwclock.  Clock-HOWTO


-- 
Real Programmers don't write in PL/I.  PL/I is for programmers who
can't decide whether to write in COBOL or FORTRAN.
___
Wayne T. Topa [EMAIL PROTECTED]


Re: Date Problems

1999-03-01 Thread Eric Gillespie, Jr.
On Wed, Jul 07, 2004 at 01:10:08AM -0500,
D Richards [EMAIL PROTECTED] wrote:
 
 I've just reinstalled debian hamm on my new 2.5 gig HD with no problems.  
 Except I can't seem to understand the correct syntax for setting my system 
 date and time using 'date'.
 
 Can anyone give me an example with an explanation
 
 TIA
 
 Duane Richards 

The GNU date command is pretty smart. You can use most common date
formats with the -s option. For example, date -s 'Mar 1 8:55am 1999' is
the same as date -s '3/1/1999 8:55:00'.

-- 
/---\
|  Eric Gillespie, Jr.|  [EMAIL PROTECTED]   |
|*|
| Between depriving a man of one hour from his life and|
|  depriving him of his life there exists only a difference |
|  of degree.  |
|  --Emperor Paul Muad'dib (Frank Herbert's Dune Messiah)   |
\---/


Re: Date Problems

1999-02-28 Thread Stephen Pitts
On Wed, Jul 07, 2004 at 01:10:08AM -0500, D Richards wrote:
 Hello
 
 I've just reinstalled debian hamm on my new 2.5 gig HD with no problems.  
 Except I can't seem to understand the correct syntax for setting my system 
 date and time using 'date'.
 
 Can anyone give me an example with an explanation
 
 TIA
 
 Duane Richards 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
This works for me:
date -s Sun Feb 28 15:38:13 CST 1999
You were probably missing the quotes.
-- 
Stephen Pitts
[EMAIL PROTECTED]
webmaster - http://www.mschess.org