Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ntp-client] configurer ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
moon69
Guru
Guru


Joined: 30 Aug 2003
Posts: 444

PostPosted: Fri Oct 10, 2003 11:52 am    Post subject: [ntp-client] configurer ? Reply with quote

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
View user's profile Send private message
kwenspc
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 4954

PostPosted: Fri Oct 10, 2003 12:41 pm    Post subject: Reply with quote

bon je vais passer pour un inculte mais c quoi ntp?
ça sert à quoi? :oops:
Back to top
View user's profile Send private message
knarf
Guru
Guru


Joined: 20 Feb 2003
Posts: 338
Location: Geneva, Switzerland

PostPosted: Fri Oct 10, 2003 2:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
moon69
Guru
Guru


Joined: 30 Aug 2003
Posts: 444

PostPosted: Sat Oct 11, 2003 10:25 am    Post subject: Reply with quote

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
View user's profile Send private message
knarf
Guru
Guru


Joined: 20 Feb 2003
Posts: 338
Location: Geneva, Switzerland

PostPosted: Sun Oct 12, 2003 6:28 am    Post subject: Reply with quote

Hehe ;)
Back to top
View user's profile Send private message
strawberrix
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 87
Location: Marseille, Fr

PostPosted: Mon Oct 13, 2003 4:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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