Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kello ja aika
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Finnish
View previous topic :: View next topic  
Author Message
susa3
n00b
n00b


Joined: 26 Feb 2007
Posts: 4

PostPosted: Mon Feb 26, 2007 7:04 pm    Post subject: kello ja aika Reply with quote

mites toi nyt taas toimii.... kello oltava asetuksessa 19:03 jotta se naytta palkissa aikaa 21:03

maa-asetus on suomi vaikka jarjestelma on usa:ssa toimistossani, yhteys on proxyn kautta nettiin

kaikki viimeiset paivitykset on asennettu ja sama homma seka Gnome etta KDE poydalla
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Tue Feb 27, 2007 3:24 pm    Post subject: Re: kello ja aika Reply with quote

susa3 wrote:
mites toi nyt taas toimii.... kello oltava asetuksessa 19:03 jotta se naytta palkissa aikaa 21:03

maa-asetus on suomi vaikka jarjestelma on usa:ssa toimistossani, yhteys on proxyn kautta nettiin

kaikki viimeiset paivitykset on asennettu ja sama homma seka Gnome etta KDE poydalla



Mitäs näyttää:

Code:

date
date -u
grep CLOCK /etc/conf.d/clock



-- Markku
Back to top
View user's profile Send private message
Mat1as
n00b
n00b


Joined: 28 Jan 2007
Posts: 25

PostPosted: Tue Feb 27, 2007 5:09 pm    Post subject: Reply with quote

Itselläni on sama ongelma. Kello näyttää 17:00 kun sen pitäisi olla 19:00.

date
Code:
Tue Feb 27 17:04:27 EET 2007


date -u
Code:
Tue Feb 27 15:04:50 UTC 2007


grep CLOCK /etc/conf.d/clock
Code:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local".  Note that if you dual boot with Windows, then
CLOCK="local"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"


Eli asetuksena on local.

Käytössä on fluxbox ja samalla kiintolevyllä on myös ubuntu, jos sillä on jotain merkitystä.
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Tue Feb 27, 2007 5:25 pm    Post subject: Reply with quote

Mat1as wrote:

Code:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local".  Note that if you dual boot with Windows, then
CLOCK="local"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"


Eli asetuksena on local.

Käytössä on fluxbox ja samalla kiintolevyllä on myös ubuntu, jos sillä on jotain merkitystä.



Silloin BIOS:n kello pitäisi olla sama kuin date:n antama aika, onko näin?


-- Markku
Back to top
View user's profile Send private message
Mat1as
n00b
n00b


Joined: 28 Jan 2007
Posts: 25

PostPosted: Wed Feb 28, 2007 4:26 pm    Post subject: Reply with quote

Make wrote:
Mat1as wrote:

Code:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local".  Note that if you dual boot with Windows, then
CLOCK="local"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"


Eli asetuksena on local.

Käytössä on fluxbox ja samalla kiintolevyllä on myös ubuntu, jos sillä on jotain merkitystä.



Silloin BIOS:n kello pitäisi olla sama kuin date:n antama aika, onko näin?


-- Markku


Tarkistan asian mahdollisimman pian, kun en nyt ole pääkoneella. Ubuntun puolella kello ainakin näytti oikeaa, mutta voi hyvinkin johtua tuosta biosissta.
Back to top
View user's profile Send private message
susa3
n00b
n00b


Joined: 26 Feb 2007
Posts: 4

PostPosted: Thu Mar 01, 2007 3:43 pm    Post subject: Re: kello ja aika Reply with quote

Make kysyi:
>Mitäs näyttää:
>date
>date -u
>grep CLOCK /etc/conf.d/clock

localhost ~ # date
to maaliskuun 1. 15:42:07 UTC 2007
localhost ~ # date -u
to maaliskuun 1. 15:42:10 UTC 2007
localhost ~ # grep CLOCK /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local". Note that if you dual boot with Windows, then
CLOCK="UTC"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Thu Mar 01, 2007 6:51 pm    Post subject: Re: kello ja aika Reply with quote

susa3 wrote:
Make kysyi:

localhost ~ # date
to maaliskuun 1. 15:42:07 UTC 2007
localhost ~ # date -u
to maaliskuun 1. 15:42:10 UTC 2007
localhost ~ # grep CLOCK /etc/conf.d/clock
# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local". Note that if you dual boot with Windows, then
CLOCK="UTC"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"



Sulla on ainakin timezone asettamatta. Pitäisi löytyä linkki
Code:
/etc/localtime -> /usr/share/zoneinfo/EET

ja bios:n kello pitäisi käydä UTC:tä, eli kaksi tuntia vähemmän kuin meidän aika.


-- Markku
Back to top
View user's profile Send private message
susa3
n00b
n00b


Joined: 26 Feb 2007
Posts: 4

PostPosted: Fri Mar 02, 2007 4:44 pm    Post subject: Reply with quote

hmm.. oliko tama esimerkkikomento ?

/etc/localtime -> /usr/share/zoneinfo/EET
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Fri Mar 02, 2007 4:47 pm    Post subject: Reply with quote

susa3 wrote:
hmm.. oliko tama esimerkkikomento ?

/etc/localtime -> /usr/share/zoneinfo/EET



ei, eli komennot

Code:
rm /etc/localtime
ln -s /usr/share/zoneinfo/EET /etc/localtime




-- Markku
Back to top
View user's profile Send private message
susa3
n00b
n00b


Joined: 26 Feb 2007
Posts: 4

PostPosted: Fri Mar 02, 2007 7:56 pm    Post subject: Reply with quote

sain heti ekasta komennosta replyn:

localhost ~ # rm /etc/localtime
rm: tiedostoa "/etc/localtime" ei voi poistaa: On hakemisto
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Sat Mar 03, 2007 5:25 pm    Post subject: Reply with quote

Siinä tapauksessa


Code:
rm -f /etc/localtime



-- Markku
Back to top
View user's profile Send private message
Jormangeud
n00b
n00b


Joined: 05 Jul 2004
Posts: 24
Location: Finland

PostPosted: Mon Mar 05, 2007 11:51 am    Post subject: Reply with quote

Tuo localtime-asetus päivittyi jokin aika sitten baselayout-1.12.9:n kanssa ainakin.

Nyt se asetetaan /etc/conf.d/clock -tiedostossa.
Code:

CLOCK="UTC"

# Select the proper timezone.  For valid values, peek inside of the
# /usr/share/zoneinfo/ directory.  For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".

TIMEZONE="Europe/Helsinki"



tämä pätkä kellon asettamisesta quickinstall-asennusohjeesta.
Code:

Koodilistaus 2.17: Aikavyöhykkeen kopiointi
  (Esimerkkinä Helsinki)
livecd / # cp /usr/share/zoneinfo/Europe/Helsinki /etc/localtime
livecd / # date
Wed Mar  8 00:46:05 EET 2006
Back to top
View user's profile Send private message
Make
n00b
n00b


Joined: 17 Dec 2004
Posts: 48

PostPosted: Wed Mar 07, 2007 4:04 pm    Post subject: Reply with quote

Jormangeud wrote:
Tuo localtime-asetus päivittyi jokin aika sitten baselayout-1.12.9:n kanssa ainakin.

Nyt se asetetaan /etc/conf.d/clock -tiedostossa.
Code:

CLOCK="UTC"

# Select the proper timezone.  For valid values, peek inside of the
# /usr/share/zoneinfo/ directory.  For example, some common values are
# "America/New_York" or "EST5EDT" or "Europe/Berlin".

TIMEZONE="Europe/Helsinki"




joo, nähtävästi uusi timezone-data käyttää tuota tietoa hyväkseen, teki automaattisesti /etc/localtime:sta oikean, ilman, että sille tarvitsee itse tehdä mitään.



-- Markku
Back to top
View user's profile Send private message
Mat1as
n00b
n00b


Joined: 28 Jan 2007
Posts: 25

PostPosted: Mon Mar 19, 2007 5:34 pm    Post subject: Reply with quote

Make wrote:
Mat1as wrote:

Code:

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# set CLOCK to "local".  Note that if you dual boot with Windows, then
CLOCK="local"
CLOCK_OPTS=""
CLOCK_SYSTOHC="no"


Eli asetuksena on local.

Käytössä on fluxbox ja samalla kiintolevyllä on myös ubuntu, jos sillä on jotain merkitystä.



Silloin BIOS:n kello pitäisi olla sama kuin date:n antama aika, onko näin?


-- Markku


Haa, näin olikin ja biossin kelloa muokkaamalla kello näyttää nyt oikeaa. Kiitos avusta!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Finnish All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum