Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Data e ora che si salvano [RISOLTO]
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
MacPhisto
n00b
n00b


Joined: 25 Nov 2004
Posts: 2

PostPosted: Thu Nov 25, 2004 7:49 pm    Post subject: Data e ora che si salvano [RISOLTO] Reply with quote

innanzitutto saluto tutti.. e il primo messaggio che scrivo (non ne ho mai avuto bisogno perche ho sempre trovato con il Cerca tutto quello che mi serviva) perche non sono riuscito a trovare (soprattutto a cercare) un topic riguardante il mio problema...
ho 2 macchine con gentoo una PPC (iBook) e un Athlon XP
questo problema mi si presenta SOLO su iBook sebbene sw installati sono praticamente gli stessi e anche i servizi di avvio ecc.. (a parte quelli dipendenti dall'architettura diversa)

il problema riguarda la data: sull'ibook sembra che non la legga da bios ma salva da qualche parte (file) quella dell'ultimo spegnimento e al primo avvio la ripristina sballando tutto

es.: se avvio adesso gentoo mi setta data e ora al 15 novembre alle 22
setto la data a quella attuale e spengo
utilizzo solo os x per 4-5 giorni e tutto funziona bene ma non appena avvio gentoo la data mi torna a quella di oggi...

sul PC questo problema sarebbe stato sopportabile (lo spengo al massimo per 10 minuti ogni settimana) ma su portatile che uso 4 giorni alla settimana circa è alquanto fastidioso

P.S.: non penso sia un problema dipendente dall'architettura per questo ho postato qua e non nell'area PPC (anche perche scrivere sto msg in inglese... lasciamo perdere :P )

Grazie a tutti
_________________
Talk Less, Surf More


Last edited by MacPhisto on Thu Dec 16, 2004 8:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Rulez
Tux's lil' helper
Tux's lil' helper


Joined: 06 Nov 2004
Posts: 119
Location: Rome

PostPosted: Thu Nov 25, 2004 7:56 pm    Post subject: Reply with quote

forse ti server questo ...

https://forums.gentoo.org/viewtopic.php?t=247567

:roll:

p.s= cmq prova a impostare la data anche dal bios ...cmq nn sei l'unico che ha sto problema ...pure a me lo fa ...ogni volta lo devo impostare con il comando fatto da root
Code:
date -s "data_attuale"
:roll:
_________________
Account jabber: Rulez@jabber.org

:lol: -=[ - Gentoo Power - ]=- :lol:
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: Thu Nov 25, 2004 8:03 pm    Post subject: Reply with quote

avete mai provato a settare la data corretta (con il metodo che preferite)
e poi a dare da root:
Code:
# /sbin/hwclock -r          ---> legge l'ora del computer
# /sbin/hwclock --adjust    ---> regola i meccanismi di controllo dell'orologio
                                 del computer in modo da migliorarne la precisione
# /sbin/hwclock --systohc   ---> setta la data del computer a quella di sistema


forse forzando con systohc riuscite a risolvere il problema.....
........i hope
_________________
"...There are two sort of lies, lies and benchmarks..."
Back to top
View user's profile Send private message
MacPhisto
n00b
n00b


Joined: 25 Nov 2004
Posts: 2

PostPosted: Thu Dec 16, 2004 8:24 am    Post subject: Reply with quote

il problema l'ho risolto con

Code:

# /sbin/hwclock -r          ---> legge l'ora del computer
# /sbin/hwclock --adjust    ---> regola i meccanismi di controllo dell'orologio
                                 del computer in modo da migliorarne la precisione
# /sbin/hwclock --systohc   ---> setta la data del computer a quella di sistema


come consigliava X-Drum

ma prima ho dato un

Code:

echo "0.0 0 0.0" > /etc/adjtime


Grazie
_________________
Talk Less, Surf More
Back to top
View user's profile Send private message
saxtro
Apprentice
Apprentice


Joined: 28 Nov 2004
Posts: 153

PostPosted: Thu Dec 16, 2004 10:52 am    Post subject: Reply with quote

io risolsi con il demone ntpd
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Fri Dec 17, 2004 6:49 pm    Post subject: Reply with quote

io ho risolto eliminando /etc/adjtime
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