From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,129ca20c0c47dcd6 X-Google-Attributes: gid111c93,public From: bubble Subject: Re: CMOS set on SRM Date: 2000/05/07 Message-ID: <39156660.1F70D0A7@hccnet.nl>#1/1 X-Deja-AN: 620261609 Content-Transfer-Encoding: 7bit References: <39151691.B3B41BC3@hccnet.nl> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@hccnet.nl X-Trace: news.hccnet.nl 957704053 1409 193.173.112.109 (7 May 2000 12:54:13 GMT) Organization: Hobby Computer Club News Network Mime-Version: 1.0 Reply-To: Xperience@cyberjunkie.com NNTP-Posting-Date: 7 May 2000 12:54:13 GMT Newsgroups: comp.os.linux.alpha Ian Wilkinson wrote: > > bubble wrote in message > news:39151691.B3B41BC3@hccnet.nl... > > Hello there, > > > > I need some help to set system time and date on srm console. > > Because it seems linux get's it's timestamp from booting and reading the > > cmos. > > But my cmos seems to think that it's 2020. That isn't not to good to get > > timestamps in your system that are from the future. > > > > I have tried to set the time using "set time 22:00:00" and date "set > > date 05/05/00". But all that seems to do is add time and date to the > > list shown when I do show *. But it has no effect on the cmos time and > > date. > > Thanks for your trouble > > > > there are two commands the first is hwclock and the second is date, > look at the man pages (man hwclock and man date) for these and if you can't > work it out come back and ask again. > > Ian. > -- > Are those my feet? > - Father Jack > > Uptime at 1:35pm up 6 days, 23:54, 6 users, Hi Thanks for your reply I used date --set=00:00:00 '+%T' and date --set=00/00/00 '+%D' to reset it to the wright values. See the ressetting to the wright values is my problem. After I reboot or shutdown files like ioctl.save and the date are changed back to 2020(year) "something". So I asked around and looked and I got told that cmos is read for the system time when linux boots. So I need to change that and how do I change that in SRM is there an envar setting which handles that. Thanks for your trouble. greetz Jigal