Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ntpdate] can't find host (résolu)
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
qlsinclair
n00b
n00b


Joined: 19 Sep 2004
Posts: 17

PostPosted: Fri Oct 29, 2004 9:11 am    Post subject: [ntpdate] can't find host (résolu) Reply with quote

J'ai suivi : https://forums.gentoo.org/viewtopic.php?t=234246&highlight=heure
Mais au démarrage, je peux lire :
ntpdate : can't find host ntp.obspm.fr
Ce qui est normal, puisque mon speedtouch ne se met en route qu'après.
Pourriez vous m'aider, a avoir enfin l'heure sur ma Gentoo ?
Car en fait je ne suis jamais arrivé a avoir l'heure, avec windows XP sur le meme PC avec Gentoo.


Last edited by qlsinclair on Fri Oct 29, 2004 10:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Fri Oct 29, 2004 9:17 am    Post subject: Reply with quote

Fais un /etc/init.d/ntp-client restart une fois le système démarré et la connexion Internet active.

Tu peux aussi bidouiller /etc/init.d/ntp-client pour qu'il se lance après la connexion (pas évident...)
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 11:23 am    Post subject: Reply with quote

cylgalad wrote:
Fais un /etc/init.d/ntp-client restart une fois le système démarré et la connexion Internet active.

Tu peux aussi bidouiller /etc/init.d/ntp-client pour qu'il se lance après la connexion (pas évident...)

si c'est super évident:
dans le /etc/init.d/ntp-client, dans la section
Code:
depend{
}

tu rajoutes à la fin de la section
Code:
after speedtouch

donc ton depend doit passer de cette tête là :
Code:
depend{ need ..
}

à un truc du type:
Code:
depend{ need ..
             after speedtouch
}


ATTENTION j'ai mis speedtouch car n'ayant pas de speedtouch je ne connais pas le nom du script init qui lui est consacré, alors j'ai choisi un truc parlant, mais il faut mettre à la place le nom exact du script qui gère le démarrage du speedtouch
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Argian
l33t
l33t


Joined: 01 May 2004
Posts: 682
Location: Nîmes

PostPosted: Fri Oct 29, 2004 11:42 am    Post subject: Reply with quote

sireyessire wrote:
ATTENTION j'ai mis speedtouch car n'ayant pas de speedtouch je ne connais pas le nom du script init qui lui est consacré, alors j'ai choisi un truc parlant, mais il faut mettre à la place le nom exact du script qui gère le démarrage du speedtouch
Rien à changer, ça s'appelle bien speedtouch. Ils sont forts ces vétérans quand même :lol:
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 11:45 am    Post subject: Reply with quote

Argian wrote:
sireyessire wrote:
ATTENTION j'ai mis speedtouch car n'ayant pas de speedtouch je ne connais pas le nom du script init qui lui est consacré, alors j'ai choisi un truc parlant, mais il faut mettre à la place le nom exact du script qui gère le démarrage du speedtouch
Rien à changer, ça s'appelle bien speedtouch. Ils sont forts ces vétérans quand même :lol:

:lol: c'est surtout les développeurs qui sont bons pour choisir des noms intelligents et intuitifs :wink:
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Oct 29, 2004 12:27 pm    Post subject: Reply with quote

Ou alors tu pourrais faire tout connement :

rc-update del speedtouch
rc-update add speedtouch boot

Vouala!
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 1:10 pm    Post subject: Reply with quote

Trevoke wrote:
Ou alors tu pourrais faire tout connement :

rc-update del speedtouch
rc-update add speedtouch boot

Vouala!

c 'est pas sur car il faut vérifier que speedtouch ne recquiert pas des services qui sont en runlevel default 8)
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Oct 29, 2004 1:15 pm    Post subject: Reply with quote

Bah c'est une connection internet non?
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 1:16 pm    Post subject: Reply with quote

Trevoke wrote:
Bah c'est une connection internet non?

et alors sil a besoin du cron ou du logger tu es baisé car ils sont en runlevel default, donc plutôt que de le changer de runlevel, on le laisse en default mais on lui dit de démarrer après untel
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
Trevoke
Advocate
Advocate


Joined: 04 Sep 2004
Posts: 4099
Location: NY, NY

PostPosted: Fri Oct 29, 2004 1:22 pm    Post subject: Reply with quote

Bien vu, bien vu.. Vieux mais pas senile, hein? :twisted:
_________________
Votre moment detente
What is the nature of conflict?
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 1:27 pm    Post subject: Reply with quote

Trevoke wrote:
Bien vu, bien vu.. Vieux mais pas senile, hein? :twisted:

attention, les vieux, c'est super suceptibles et ça a souvent des cannes pour taper de plus loin :)

nb: 8ème degré évidement
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
Back to top
View user's profile Send private message
qlsinclair
n00b
n00b


Joined: 19 Sep 2004
Posts: 17

PostPosted: Fri Oct 29, 2004 10:05 pm    Post subject: [ntpdate] can't find host (résolu) Reply with quote

J'ai modifié le fichier ntp-client comme indiqué par sireyessire et cela marche.
Merci pour vos réponses.
Back to top
View user's profile Send private message
sireyessire
Advocate
Advocate


Joined: 20 Mar 2003
Posts: 2991
Location: back in Paris, France

PostPosted: Fri Oct 29, 2004 10:05 pm    Post subject: Re: [ntpdate] can't find host (résolu) Reply with quote

qlsinclair wrote:
J'ai modifié le fichier ntp-client comme indiqué par sireyessire et cela marche.
Merci pour vos réponses.

de rien :wink:

ce qui serait parfait ce serait que tu mettes un (résolu) dans le titre du thread :D
_________________
I never think of the future. It comes soon enough.
Albert Einstein

Try simpler first
Shockley
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