View previous topic :: View next topic |
Author |
Message |
qlsinclair n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Vohaul.gif)
Joined: 19 Sep 2004 Posts: 17
|
Posted: Fri Oct 29, 2004 9:11 am Post subject: [ntpdate] can't find host (résolu) |
|
|
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 |
|
![](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 Oct 29, 2004 9:17 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 11:23 am Post subject: |
|
|
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
tu rajoutes à la fin de la section
donc ton depend doit passer de cette tête là :
à 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 |
|
![](templates/gentoo/images/spacer.gif) |
Argian l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/13075990664140faffdd827.png)
Joined: 01 May 2004 Posts: 682 Location: Nîmes
|
Posted: Fri Oct 29, 2004 11:42 am Post subject: |
|
|
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 ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 11:45 am Post subject: |
|
|
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 ![Laughing :lol:](images/smiles/icon_lol.gif) |
c'est surtout les développeurs qui sont bons pour choisir des noms intelligents et intuitifs ![Wink :wink:](images/smiles/icon_wink.gif) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 29, 2004 12:27 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 1:10 pm Post subject: |
|
|
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 ![Cool 8)](images/smiles/icon_cool.gif) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 29, 2004 1:15 pm Post subject: |
|
|
Bah c'est une connection internet non? _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 1:16 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Trevoke Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/31218531845533c508386c.jpg)
Joined: 04 Sep 2004 Posts: 4099 Location: NY, NY
|
Posted: Fri Oct 29, 2004 1:22 pm Post subject: |
|
|
Bien vu, bien vu.. Vieux mais pas senile, hein? ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) _________________ Votre moment detente
What is the nature of conflict? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 1:27 pm Post subject: |
|
|
Trevoke wrote: | Bien vu, bien vu.. Vieux mais pas senile, hein? ![Twisted Evil :twisted:](images/smiles/icon_twisted.gif) |
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 |
|
![](templates/gentoo/images/spacer.gif) |
qlsinclair n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Space Quest/Space_Quest_-_Vohaul.gif)
Joined: 19 Sep 2004 Posts: 17
|
Posted: Fri Oct 29, 2004 10:05 pm Post subject: [ntpdate] can't find host (résolu) |
|
|
J'ai modifié le fichier ntp-client comme indiqué par sireyessire et cela marche.
Merci pour vos réponses. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
sireyessire Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/184146537040140c2d83e95.jpg)
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Fri Oct 29, 2004 10:05 pm Post subject: Re: [ntpdate] can't find host (résolu) |
|
|
qlsinclair wrote: | J'ai modifié le fichier ntp-client comme indiqué par sireyessire et cela marche.
Merci pour vos réponses. |
de rien
ce qui serait parfait ce serait que tu mettes un (résolu) dans le titre du thread ![Very Happy :D](images/smiles/icon_biggrin.gif) _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|