View previous topic :: View next topic |
Author |
Message |
Farnsworth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 04 Feb 2003 Posts: 355 Location: Aix en Pce, France
|
Posted: Sat Apr 12, 2003 9:42 pm Post subject: ntpdate |
|
|
Hello,
J'aimerai mettre ma machine a l'heure a chaque demarrage (et oui, quand je l'enteind, elle a tendance a prendre beaucoup d'avance ).
j'ai donc emerge ntpdate et recherche un serveur de temps: time.nist.gov
mais quand je fais le ntpdate ca m'insulte:
Code: | tetram root # ntpdate time.nist.gov
12 Apr 23:41:17 ntpdate[12941]: no server suitable for synchronization found |
qqun a une idee ou un lien vers une doc, j'ai pas trouve gd chose d'interessant...
Merci d'avance. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SuperTomate Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
Joined: 02 Jun 2002 Posts: 392 Location: France
|
Posted: Sat Apr 12, 2003 10:51 pm Post subject: |
|
|
Essaie avec un autre serveur, ntp.tuxfamily.net par exemple. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Farnsworth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 04 Feb 2003 Posts: 355 Location: Aix en Pce, France
|
Posted: Sun Apr 13, 2003 10:18 am Post subject: |
|
|
ah ben ca c'est plutot une bonne idee, en regardant les differents forums, j'aivais trouve time.nist.gov et un ou deux autres mais tous me repondaient la meme chose, donc je mettais plutot en cause ntpdate...
reste plus qu'a configurer ntp.conf et ca roule.
Merci SuperTomate ![Cool 8)](images/smiles/icon_cool.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Farnsworth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 04 Feb 2003 Posts: 355 Location: Aix en Pce, France
|
Posted: Mon Apr 14, 2003 4:06 pm Post subject: |
|
|
bon alors il y a des news, je n'ai pas configure ntp.conf, j'ai simplement ajoute la ligne 'ntpdate ntp.tuxfamily.net' dans le fichier /etc/ppp/ip-up afin que la machine se mette a l'heure a la connexion!
MAIS:
si j'eteinds la machine un petit moment et lorsque je la rallume je vais dans le bios, elle est a l'heure, mais apres avoir boote sous gentoo... hop, elle gagne qqs minutes ou qqs heures (tt depends du temps qu'elle est restee enteinte)?????? donc c l'os qui me modifie l'horloge systeme!?!?!?
qqun a deja eu ce probleme? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Farnsworth Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_farnsworth_2.gif)
Joined: 04 Feb 2003 Posts: 355 Location: Aix en Pce, France
|
Posted: Tue Apr 15, 2003 9:07 am Post subject: |
|
|
personne ne voit de solution??
j'ai regarde du cote de hwclock mais je n'ai rien trouve de convainquant... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cylgalad Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 18 Apr 2003 Posts: 1327 Location: France
|
Posted: Fri Apr 18, 2003 10:04 am Post subject: |
|
|
As-tu /etc/init.d/ntpd ?
Si oui, essaye de le lancer (ou de le stopper *avant* de faire un ntpdate).
Perso, j'utilise ntp1.nl.net, mieux vaut éviter les .gov ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
arlequin l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/c1fd32733dd67e8e5736a.jpg)
Joined: 16 Nov 2002 Posts: 707 Location: grep $USER /etc/passwd | cut -d':' -f6
|
Posted: Fri Apr 18, 2003 10:12 am Post subject: |
|
|
En fait, pour configurer Ntp, il faut éditer le fichier /etc/conf.d/ntpd.
Tu as juste à décommenter la ligne:
Code: | NTPDATE_OPTS="-b canon.inria.fr" |
Et a ajouter ntp dans les scripts de boot...
De plus, vérifie que tu as bien:
dans le fichier /etc/rc.conf.
Voilà... quand tu lances Ntp, ton horloge est mise à l'heure dans les 10 secondes (magique). _________________ J'vous dis ciao !
Au fait, ciao ça veut dire bye en anglais. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|