Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problema orario
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Maialovic
Apprentice
Apprentice


Joined: 25 Apr 2006
Posts: 255

PostPosted: Mon Nov 13, 2006 9:28 pm    Post subject: problema orario Reply with quote

ogni volta che spengo il pc , e lo riaccendo dopo un po di tempo l'rario è sempre sfasato e devo risincarlo con rdate.

ho provato di tutto mache settare il file clock nel seguente modo

Code:
# /etc/conf.d/clock

# Set CLOCK to "UTC" if your system clock is set to UTC (also known as
# Greenwich Mean Time).  If your clock is set to the local time, then
# set CLOCK to "local".  Note that if you dual boot with Windows, then
# you should set it to "local".

CLOCK="local"

# If you wish to pass any other arguments to hwclock during bootup,
# you may do so here.

CLOCK_OPTS=""

# If you want to set the Hardware Clock to the current System Time
# during shutdown, then say "yes" here.

CLOCK_SYSTOHC="yes"


### ALPHA SPECIFIC OPTIONS ###

# If your alpha uses the SRM console, set this to "yes".
SRM="no"

# If your alpha uses the ARC console, set this to "yes".
ARC="no"


niente....sempre settato in maniera errata...


se invece riavvio, nessuno problema (o forse visto ke ci sta meno di 30 a riavviare la differenza è minima????)
Back to top
View user's profile Send private message
HoX
Guru
Guru


Joined: 11 Nov 2006
Posts: 385

PostPosted: Mon Nov 13, 2006 10:21 pm    Post subject: Reply with quote

probabilmente il mio suggerimento è inutile, ma hai copiato /usr/share/zoneinfo/Europe/Rome in /etc/localtime?
Back to top
View user's profile Send private message
X-Drum
Advocate
Advocate


Joined: 24 Aug 2003
Posts: 2517
Location: ('Modica','Trieste','Ferrara') Italy

PostPosted: Tue Nov 14, 2006 12:41 am    Post subject: Reply with quote

se hai windows oltre a linux sulla tua macchina settare il clock a "local"
va benissimo, ma dovresti anche fare le seguenti cose
dopo aver settato correttamente l'ora:

Code:
rm /etc/localtime

Code:
ln -s /usr/share/zoneinfo/Europe/Rome /etc/localtime

Code:
rm /etc/adjtime

Code:
hwclock --systohc

reboot
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Tue Nov 14, 2006 9:15 am    Post subject: Reply with quote

la soluzione definitiva è poi installare openntpd e in
Code:
etc/conf.d/clock
settare systohc a yes
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Wed Nov 15, 2006 5:30 pm    Post subject: Reply with quote

Stesso identico problema, lo risettavo addirittura nel bios e niente da fare, sclerava sempre!!
Ho cancellato /etc/adjtime di netto, riavviato e settato l'ora nel bios.
Da quel giorno non sgarra più e i miei guai sono finiti (o meglio, i miei ritardi cronici!!).
Buona fortuna...
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Wed Nov 15, 2006 6:31 pm    Post subject: Reply with quote

sinceramente io ho avuto il vostro identico problema di orario sfalsato ( sia con windows che con gentoo ) cioè ogni volta che lo spegnevo e lo riaccendo vedevo l'orario sfalsato.... ho risolto il problema in maniera "hardware" .. ovvero ho cambiato la pila del bios.. e ora l'orario è sempre perfetto! sembra una kavolata ma esiste una piccola pila sulla scheda madre ke va cambiata in caso si abbiano problemi di questo tipo!
Back to top
View user's profile Send private message
skypjack
l33t
l33t


Joined: 05 Aug 2006
Posts: 884
Location: Italia - Firenze

PostPosted: Fri Nov 17, 2006 7:19 pm    Post subject: Reply with quote

Ahahah...
No, tranquillo, non sembra una cavolata e da perito tecnico ti giuro che ci ho pensato, ho controllato, e notato che il problema non era di tipo HW.
Pertanto, ho ripiegato, felicemente, sul SW...
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Fri Nov 17, 2006 7:38 pm    Post subject: Reply with quote

io senza pila nuova del bios non sono riuscito a ripiegare in nessuna maniera e dato che anche la pila del bios puo' arrivare al limite l'ho cambiata e ora l'orario va bene!
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Fri Sep 14, 2007 11:11 pm    Post subject: Reply with quote

skypjack wrote:
Stesso identico problema, lo risettavo addirittura nel bios e niente da fare, sclerava sempre!!
Ho cancellato /etc/adjtime di netto, riavviato e settato l'ora nel bios.
Da quel giorno non sgarra più e i miei guai sono finiti (o meglio, i miei ritardi cronici!!).
Buona fortuna...


Ecco, ho seguito il tuo consiglio (senza saperlo... infatti l'ho letto dopo...) e ora riavviando l'orario non sgarra.... ma perchè poi fa così??
Boh!
_________________
Il numero di post non fa di me un esperto! Anzi!
Back to top
View user's profile Send private message
102376
l33t
l33t


Joined: 19 Mar 2005
Posts: 608

PostPosted: Sat Sep 15, 2007 6:35 pm    Post subject: Reply with quote

sto usando ntpd al boot,
ma ho un problema con il portatile, come faccio a sistemare l'ora dopo che mi connetto ad internet???
uso knetworkmanager, diciamo che il demone dovrebbe partire dopo che mi connetto ad internet,

qualche soluzione?
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sun Sep 16, 2007 9:07 am    Post subject: Reply with quote

zocram wrote:
sto usando ntpd al boot,
ma ho un problema con il portatile, come faccio a sistemare l'ora dopo che mi connetto ad internet???
uso knetworkmanager, diciamo che il demone dovrebbe partire dopo che mi connetto ad internet,

qualche soluzione?


non sò se ho capito bene il tuo problema, vorresti ke ntpd parte dopo che ti sei collegato ad internet giusto ???
se la tua risposta è si, allora lo togli dal runlevel boot, e ti crei uno script da lanciare con cron che verifica se la rete è partita, se è partita allora lanci ntpd, viceversa rilanci lo script.

spero di aver più o meno centrato il problema.

ciauz
Back to top
View user's profile Send private message
Kernel78
Moderator
Moderator


Joined: 24 Jun 2005
Posts: 3654

PostPosted: Sun Sep 16, 2007 10:28 am    Post subject: Reply with quote

zocram wrote:
sto usando ntpd al boot,
ma ho un problema con il portatile, come faccio a sistemare l'ora dopo che mi connetto ad internet???
uso knetworkmanager, diciamo che il demone dovrebbe partire dopo che mi connetto ad internet,

qualche soluzione?

Siamo un po' OT visto che non è più un problema di orario ma di come lanciare eseguire qualcosa solo durante la connessione a internet ...
knetworkmanager non permette di specificare un'azione da compire dopo la connessione ?
_________________
Le tre grandi virtù di un programmatore: pigrizia, impazienza e arroganza. (Larry Wall).
Prima di postare un file togli i commenti con
Code:
grep -vE '(^[[:space:]]*($|(#|!|;|//)))'
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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