Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntpd
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
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 24, 2003 12:57 pm    Post subject: ntpd Reply with quote

ou est-ce qu'on peux spécifier les serveur ntp?
Back to top
View user's profile Send private message
DuF
Advocate
Advocate


Joined: 09 Dec 2002
Posts: 2687
Location: Paris

PostPosted: Sat May 24, 2003 12:59 pm    Post subject: Reply with quote

dans :
Code:
/etc/conf.d/ntpd
Code:
NTPDATE_OPTS="-b ntp.via.ecp.fr ntp2.via.ecp.fr"
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 24, 2003 1:10 pm    Post subject: Reply with quote

je l'ai mis, mais quand je lance ntpdate il me dit
Code:

20 May 03:03:46 ntpdate[8229]:no servers can be used, exiting
Back to top
View user's profile Send private message
Paule.Green
n00b
n00b


Joined: 14 Aug 2002
Posts: 42
Location: paris

PostPosted: Sat May 24, 2003 2:16 pm    Post subject: Reply with quote

dans /etc/ntp.conf

server ntp.via.ecp


si ntp.conf existe pas, tu le cré
quand tu fais "rc-update add ntpd default"
ça mettra ton /etc/conf.d/ntpd tout comme y faut tout seul...
@+
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sat May 24, 2003 2:20 pm    Post subject: Reply with quote

oui intéressant je l'ai fait mais ça change rien :cry:
Je vais quand même regarder à gauche à droite si je trouve pas qqch.
Back to top
View user's profile Send private message
Paule.Green
n00b
n00b


Joined: 14 Aug 2002
Posts: 42
Location: paris

PostPosted: Sat May 24, 2003 2:31 pm    Post subject: Reply with quote

j'oubliais : quand tu lance ntpd et que tu fais ntpdate dans la foulée,
ba c'est normal qu'il te renvoie
"20 May 03:03:46 ntpdate[8229]:no servers can be used, exiting"

simplement parceque il a pas eu le temps de se synchroniser....
cela demande environ 10mn (enfin chez moi)
mais pour voir tout de suite si cela marche :
ntptrace
la réponse :
localhost: stratum 16, offset 0.000023, synch distance 0.00334
0.0.0.0: *Not Synchronized*

tu peux le tapper plusieurs fois, tu remarquera que "synch distance" augmente et puis à un moment c'est bon et tu deviens stratum 3 ou 4 (en gros un client/serveur aussi si tu le veux de 3 ou 4 ème génération
Back to top
View user's profile Send private message
fb99
l33t
l33t


Joined: 09 Apr 2003
Posts: 998
Location: Le Locle (Suisse,Neuchâtel)

PostPosted: Sun May 25, 2003 9:24 am    Post subject: Reply with quote

donc ensuite la date se règle automatiquement.
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