On 2014-06-26 12:46, holden87 wrote:
>
> Code:
> --------------------
> nenad@openSUSE:~> date
> Thu Jun 26 14:40:57 CEST 2014
> nenad@openSUSE:~> date --utc
> Thu Jun 26 12:41:17 UTC 2014
> nenad@openSUSE:~> su -
> Password:
> -bash: warning: setlocale: LC_TIME: cannot change locale (sl_SI-UTF.8): No such file or directory
>
> openSUSE:~ # hwclock --debug
> hwclock from util-linux 2.23.2
> Hardware clock is on UTC time
> Assuming hardware clock is kept in UTC time.
> Waiting for clock tick...
>
> ...got clock tick
> Time read from Hardware Clock: 2014/06/26 12:43:19
> Hw clock time : 2014/06/26 12:43:19 = 1403786599 seconds since 1969
> Thu Jun 26 14:43:19 2014 -0.531985 seconds
> openSUSE:~ # date
> Thu Jun 26 14:44:08 CEST 2014
> openSUSE:~ # date --utc
> Thu Jun 26 12:44:31 UTC 2014
>
>
> --------------------
Well, both root and user get the same clock time, and the local to utc
time difference is correct, 2 hours. Cmos clock is consistent with the
settings.
What was the clock on the kitchen wall showing? 12:44?
My guess at this point is that you simply have set the time wrong on the
computer and that you have to correct it, simple as that.
DO NOT SET IT UP USING KDE.
Use YaST - I don't remember this moment if you can "write" the hour in
there. If not, use the command "date" to set the hour, on the command
line, as root. "man date" says how. (1)
Once done, run:
Code:
rm /etc/adjtime
hwclock --systohc --utc
hwclock --debug
date
The last two commands should sow the correct time and date.
(1) Alternative:
.... assuming there are some time servers defined in /etc/ntp.conf, like
this:
Code:
server 0.pool.ntp.org
server 1.pool.ntp.org
server 2.pool.ntp.org
server 3.pool.ntp.org
and that Internet works.
--
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)
Bookmarks