RE: [leaf-user] hwclock error?

2002-07-12 Thread abriggs

The command is just

date hhnn[mmdd][]

where n = minutes

can't remember whether it's ddmm or mmdd I'm  guessing mmdd

TTFN

Antony Briggs

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of George
Georgalis
Sent: 12 July 2002 01:12
To: [EMAIL PROTECTED]
Subject: [leaf-user] hwclock error?


I tried to set the clock today, but I get this error, I must be looking
at the wrong man page.  Can't find any more doc. How does the syntax
belong? (Bering_rc2, soon to be rc3)
(also tried  hwclock --set --date=1026432127)


# hwclock --set --date='07/11/02 19:59:49'
date: invalid option -- -
BusyBox v0.60.2 (2002.04.04-20:23+) multi-call binary

Usage: date [OPTION]... [+FORMAT]

The date command issued by hwclock returned unexpected results.
The command was:
  date --date=07/11/02 19:59:49 +seconds-into-epoch=%s
The response was:
  
No usable set-to time.  Cannot set clock.



Thanks,
// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
File, Print, DB and DNS Servers.   http://www.galis.org/george 



---
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases  more
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] hwclock error?

2002-07-12 Thread George Georgalis

On Fri, Jul 12, 2002 at 09:30:30AM +0100, [EMAIL PROTECTED] wrote:
The command is just

date hhnn[mmdd][]

where n = minutes

can't remember whether it's ddmm or mmdd I'm  guessing mmdd


# date 09450007122002
date: invalid date `09450007122002'

also tried 
# date 094500071202
# date 094500
# date 0945

no go. The busybox home page was not much help either.

// George


TTFN

Antony Briggs

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of George
Georgalis
Sent: 12 July 2002 01:12
To: [EMAIL PROTECTED]
Subject: [leaf-user] hwclock error?


I tried to set the clock today, but I get this error, I must be looking
at the wrong man page.  Can't find any more doc. How does the syntax
belong? (Bering_rc2, soon to be rc3)
(also tried  hwclock --set --date=1026432127)


# hwclock --set --date='07/11/02 19:59:49'
date: invalid option -- -
BusyBox v0.60.2 (2002.04.04-20:23+) multi-call binary

Usage: date [OPTION]... [+FORMAT]

The date command issued by hwclock returned unexpected results.
The command was:
  date --date=07/11/02 19:59:49 +seconds-into-epoch=%s
The response was:
  
No usable set-to time.  Cannot set clock.



Thanks,
// George


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
File, Print, DB and DNS Servers.   http://www.galis.org/george 



---
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases  more
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html


-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
File, Print, DB and DNS Servers.   http://www.galis.org/george 



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] hwclock error?

2002-07-12 Thread Michael D. Schleif


George Georgalis wrote:
 
 On Fri, Jul 12, 2002 at 09:30:30AM +0100, [EMAIL PROTECTED] wrote:
 The command is just
 
 date hhnn[mmdd][]
 
 where n = minutes
 
 can't remember whether it's ddmm or mmdd I'm  guessing mmdd
 
 
 # date 09450007122002
 date: invalid date `09450007122002'

# date 071209452002.00
Fri Jul 12 09:45:00 CDT 2002

From woody:

# date --help
Usage: date [OPTION]... [+FORMAT]
  or:  date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]

hth

-- 

Best Regards,

mds
mds resource
888.250.3987

Dare to fix things before they break . . .

Our capacity for understanding is inversely proportional to how much we
think we know.  The more I know, the more I know I don't know . . .


---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] hwclock error?

2002-07-12 Thread Mike Noyes

On Fri, 2002-07-12 at 07:17, Charles Steinkuehler wrote:
 BTW:  A quick search for hwclock on my search page (which indexes my
 site and my c0wz mirror) would have found this quickly (that's how I
 found it, but it helps that I rememberd it was there in the first place
 :-)
 http://search.steinkuehler.net/
 
 I don't think the SF site search indexes anything other than the dynamic
 PHP content.

Charles,
You're correct. I believe this will change when we update our site to
phpWebSite 0.8.2. Until then Google site search is your friend.

http://www.google.com/
ntp site:leaf.sourceforge.net

-- 
Mike Noyes [EMAIL PROTECTED]
http://sourceforge.net/users/mhnoyes/
http://leaf-project.org/



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html



Re: [leaf-user] hwclock error?

2002-07-12 Thread George Georgalis

On Fri, Jul 12, 2002 at 09:17:52AM -0500, Charles Steinkuehler wrote:
 # date 09450007122002
 date: invalid date `09450007122002'

 also tried
 # date 094500071202
 # date 094500
 # date 0945

 no go. The busybox home page was not much help either.

I'm not sure the minimal busybox date command can be used by the hwclock
command.  The normal procedure is to set the system clock using date,
rdate, ntpclient, or whatever, then copy the system time to the CMOS
clock with the hwclock command.  Something like:

tempest: -root-
# rdate time-A.timefreq.bldrdoc.gov
Fri Jul 12 09:07:44 2002

tempest: -root-
# hwclock --systohc --utc

Yes, I routinely use rdate, and there appears to be systohc in the 
shutdown/startup scripts.

I just found date and hwclock and it seemed like the way on lrp.
Thanks for pointing out rdate.

// George



-- 
GEORGE GEORGALIS, System Admin/Architectcell: 347-451-8229 
Security Services, Web, Mail,mailto:[EMAIL PROTECTED] 
File, Print, DB and DNS Servers.   http://www.galis.org/george 



---
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf

leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html