Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Set time with second

96 views
Skip to first unread message

ka

unread,
Feb 20, 2001, 6:25:31 AM2/20/01
to
Hello All.

I try correct time and man date.

/usr/bin/date [ -n ] [ -u ] [ Date ] [ +FieldDescriptor ... ]

date mmddHHMM[ccyy]

I need set time with second!

I do
> date 120000 + "%H%M%S" and get

date: 0551-402 Invalid character in date/time specification.
Usage: date [-u] [+"Field Descriptors"]

As correctly to set it's time?

Thanks.
Best regards.

Paul Bennett

unread,
Feb 20, 2001, 8:51:27 AM2/20/01
to

"ka" <k...@chspz.ru> wrote in message
news:1mk49t8u2cag6vetc...@4ax.com...

> Hello All.
>
> I try correct time and man date.
>
> /usr/bin/date [ -n ] [ -u ] [ Date ] [ +FieldDescriptor ... ]
>
> date mmddHHMM[ccyy]
>
> I need set time with second!
>
You need a 'point' before the "seconds" value:

# date mmddHHMM.SS

You also need to run the command with root authority.


HTH,


---
Paul Bennett - Strolling *ix sysadm, and polymath-for-hire.
The opinions expressed above are not those of my employer,
nor of my current or past clients. So there.

Who Knows?

unread,
Feb 20, 2001, 9:26:32 AM2/20/01
to
use simply:

date MMddhhmm.ssyy

MM- Month
dd-day
hh-hours
mm-minutes
ss-seconds
yy-year

Note the period between the minutes and seconds.

or use smitty date.

ka wrote:

> Hello All.
>
> I try correct time and man date.
>

> /usr/bin/date [ -n ] [ -u ] [šDateš] [š+FieldDescriptorš... ]

Adam Cioccarelli

unread,
May 10, 2001, 8:24:26 AM5/10/01
to
Hi,

I am trying to set up a synchronous modem on one of the 2 Port multi-protocol
adapter's ports but keep getting the following error;

Method error (/usr/lib/methods/cfgsx25):
0514-048 Error downloading microcode or software.
cfgsx25(config_link): Link request failed.
Error attaching hdlc layer to physical device (E_HATTACH).
cfgsx25: config_link() call failed

any ideas what I'm doing wrong? Is it maybe a modem problem?


regards,
Adam Cioccarelli


Paul Landay

unread,
May 10, 2001, 11:03:45 AM5/10/01
to Adam Cioccarelli
What are the levels of the sx25.*, devices.common.IBM.hdlc.*
and devices.pci.331121b9.* filesets that you are trying this on?
Can you put on the latest levels and reboot? If so, have the
cable & modem attached and ready before the reboot.

Paul Landay

Andreas Mueller

unread,
May 10, 2001, 6:21:54 PM5/10/01
to

Hello,


nothing is wrong. Its a bug.
if it is an ARTIC Adapter, there is an patch: IY12785
Anyhow, you should try
rmdev -l x25s0 (if you have comio)
rmdev -l sx25a0
rmdev -l hdlc0
rmdev -l hdlc1 (if you have it available)
rmdev -l dpmpa0
, and then the whole story backwards (with mkdev, of course). Worked for
me. Sorry, no other solution til now.

Andreas Mueller
unix/networkadmin
varetis AG
mailto:andreas...@varetis.de

0 new messages