View previous topic :: View next topic |
Author |
Message |
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Fri Oct 10, 2003 11:52 am Post subject: [ntp-client] configurer ? |
|
|
salut,
j'essaye de configurer ntp-client en demon
mais j'y arrive pas, je ne sais pas ou mettre l'adresse du serveur ntp?
ma question est simple: ou mettre cette option ?
j'a iregarder dans la doc rien
merci
za+ moon |
|
Back to top |
|
|
kwenspc Advocate
Joined: 21 Sep 2003 Posts: 4954
|
Posted: Fri Oct 10, 2003 12:41 pm Post subject: |
|
|
bon je vais passer pour un inculte mais c quoi ntp?
ça sert à quoi? |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Fri Oct 10, 2003 2:34 pm Post subject: |
|
|
J'viens de le faire,
grmbl,
Code: |
nano /etc/conf.d/ntp-client
|
La tu as un joli fichier de conf
Code: |
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/net-misc/ntp/files/ntp-client.confd,v 1.2 2003/09/19 17:50:37 vapier Exp $
# Command to run to set the clock initially
# Most people should just leave this line alone ...
# however, if you know what you're doing, and you
# want to use ntpd to set the clock, change this to 'ntpd'
NTPCLIENT_CMD="ntpdate"
# Options to pass to the above command
# Most people should just uncomment this variable and
# change 'someserver' to a valid hostname which you
# can aquire from the URL's below
NTPCLIENT_OPTS="-b someservers"
##
# A list of available servers is available here:
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
# Please follow the rules of engagement and use a
# Stratum 2 server (unless you qualify for Stratum 1)
##
|
( C'est marquer quand tu as finis de télécharger que tu dois matter la, et donc ton esprit d'initiative te fait dire, ah bah tiens si j'allais trouver un server sur :
Code: |
# http://www.eecis.udel.edu/~mills/ntp/clock2a.html
# http://www.eecis.udel.edu/~mills/ntp/servers.html
|
Et la tu te trouves un servers tout pret de chez toi, tinky winky.
Et par la suite à la place de NTPCLIENT_OPTS="-b someservers" tu mets ton servers, par la suite tu lances /etc/init.d/ntp-client, et je dirais même si tu veux le lancer au démarrage, c'est par la commande rc-update add ntp-client default que ca se passe.
A pluche |
|
Back to top |
|
|
moon69 Guru
Joined: 30 Aug 2003 Posts: 444
|
Posted: Sat Oct 11, 2003 10:25 am Post subject: |
|
|
merci
en fait j'avais pas le fichier le fichier de conf, donc 's'etait difficile pour moi de le trouver!
merci encore
proverbe chinois: on trebuche sur une pierre, pas sur une montagne!
za+ moon |
|
Back to top |
|
|
knarf Guru
Joined: 20 Feb 2003 Posts: 338 Location: Geneva, Switzerland
|
Posted: Sun Oct 12, 2003 6:28 am Post subject: |
|
|
Hehe |
|
Back to top |
|
|
strawberrix Tux's lil' helper
Joined: 21 Sep 2003 Posts: 87 Location: Marseille, Fr
|
Posted: Mon Oct 13, 2003 4:01 pm Post subject: |
|
|
Quote: | bon je vais passer pour un inculte mais c quoi ntp? |
Network Time Protocol (http://www.ntp.org/) , c'est pour être à l'heure (de l'horloge atomique la plus proche de chez toi ) _________________ bash: unexpected end of life |
|
Back to top |
|
|
|