Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
On Wed, Oct 29, 2003 at 07:52:49PM +0200, Buchan Milne wrote: the problem is that you cannot use dns names for restrictions in ntpd.conf, so we would have to putt all ip addresses for pool.ntp.org in there. But I think (looking at Daouda's updated clock.pl) that we are talking about the 'server' entries in /etc/ntp.conf, which most certainly can be hostnames, and the NTP people have been suggesting using 3 entries the pool.ntp.org for a few months now. i mean that an ntp.conf should look something like restrict default ignore restrict 127.0.0.1 notrust nomodify restrict local-net mask local-mask noquery notrust nomodify restrict serverip noquery nomodify server servername but since pool.ntp.org ip addresses tend to change it is difficult to have correct restriction in place. I don't think dauda script uses restriction, but then it should. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
Buchan Milne [EMAIL PROTECTED] writes: Daouda LO wrote: [...] Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome. Well, in case you missed the NTP threads/bugs from about 2 months ago, the default configuration (assuming users have full access to outside NTP servers) should have 3 entries for 'pool.ntp.org' (IIRC, check in bugzilla), since they have round-robin DNS, so ntpd should get 3 different servers: I think that this is aimed only at the client part. We assume that the time server is available only in the local network and has the 'at least 3 external stratums' correctly (manually) set. External servers list should be dropped. WDYT ?
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
Le jeu 30/10/2003 à 11:46, Daouda LO a écrit : I think that this is aimed only at the client part. We assume that the time server is available only in the local network and has the 'at least 3 external stratums' correctly (manually) set. External servers list should be dropped. WDYT ? so this should really be in a different button. But that's sound sensible --- Il ne faut pas mettre de vinaigre dans ses ecrits, il faut y mettre du sel. -- Montesquieu, Mes pensees
NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
Todd Lyons [EMAIL PROTECTED] writes: Jan Ciger wanted us to know: computers. Setting up NTP server there is : a) overkill Maybe, for a dialup, I'll give you that. b) quite tricky if you do not know what you are doing I think someone should add to a wiki somewhere: urpmi ntp echo server time.ucla.edu prefer /etc/ntp.conf echo time.ucla.edu /etc/ntp/step-tickers service ntpd restart It will automatically be configured to start when the rpm is installed. Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome.
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daouda LO wrote: Todd Lyons [EMAIL PROTECTED] writes: Jan Ciger wanted us to know: computers. Setting up NTP server there is : a) overkill Maybe, for a dialup, I'll give you that. b) quite tricky if you do not know what you are doing I think someone should add to a wiki somewhere: urpmi ntp echo server time.ucla.edu prefer /etc/ntp.conf echo time.ucla.edu /etc/ntp/step-tickers service ntpd restart It will automatically be configured to start when the rpm is installed. Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome. Well, in case you missed the NTP threads/bugs from about 2 months ago, the default configuration (assuming users have full access to outside NTP servers) should have 3 entries for 'pool.ntp.org' (IIRC, check in bugzilla), since they have round-robin DNS, so ntpd should get 3 different servers: [EMAIL PROTECTED] bgmilne]$ host pool.ntp.org pool.ntp.org has address 217.114.97.97 pool.ntp.org has address 217.157.1.202 pool.ntp.org has address 65.211.109.11 pool.ntp.org has address 129.240.64.3 pool.ntp.org has address 130.60.73.143 pool.ntp.org has address 130.94.201.36 pool.ntp.org has address 193.170.141.4 pool.ntp.org has address 204.17.42.199 pool.ntp.org has address 206.168.231.98 pool.ntp.org has address 209.162.205.202 pool.ntp.org has address 212.204.230.141 pool.ntp.org has address 212.242.64.180 pool.ntp.org has address 213.15.3.1 pool.ntp.org has address 213.134.172.184 pool.ntp.org has address 216.27.185.42 [EMAIL PROTECTED] bgmilne]$ host pool.ntp.org pool.ntp.org has address 216.27.185.42 pool.ntp.org has address 217.114.97.97 pool.ntp.org has address 217.157.1.202 pool.ntp.org has address 65.211.109.11 pool.ntp.org has address 129.240.64.3 pool.ntp.org has address 130.60.73.143 pool.ntp.org has address 130.94.201.36 pool.ntp.org has address 193.170.141.4 pool.ntp.org has address 204.17.42.199 pool.ntp.org has address 206.168.231.98 pool.ntp.org has address 209.162.205.202 pool.ntp.org has address 212.204.230.141 pool.ntp.org has address 212.242.64.180 pool.ntp.org has address 213.15.3.1 pool.ntp.org has address 213.134.172.184 Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/n+W8rJK6UGDSBKcRAu0KAJ0fec8tXHbh1Zy3bxf0PgZpyU+IZwCglP3T vB3/osOltwR2PLjBa041LXY= =cCrO -END PGP SIGNATURE-
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
On Wednesday 29 October 2003 3:13 pm, Daouda LO wrote: FeedbacksBugReports are welcome. Well the dropdown won't stay down if you left the mouse button go. Other than that it picked up my (existing) local ntp server setting just fine. -- John Allen, mailto:[EMAIL PROTECTED] MandrakeClub Silver Member. http://allentech.homelinux.org/
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
On Wed, Oct 29, 2003 at 06:07:25PM +0200, Buchan Milne wrote: Well, in case you missed the NTP threads/bugs from about 2 months ago, the default configuration (assuming users have full access to outside NTP servers) should have 3 entries for 'pool.ntp.org' (IIRC, check in bugzilla), since they have round-robin DNS, so ntpd should get 3 different servers: the problem is that you cannot use dns names for restrictions in ntpd.conf, so we would have to putt all ip addresses for pool.ntp.org in there. L. -- Luca Berra -- [EMAIL PROTECTED] Communication Media Services S.r.l. /\ \ / ASCII RIBBON CAMPAIGN XAGAINST HTML MAIL / \
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
Le mer 29/10/2003 à 15:13, Daouda LO a écrit : Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome. works fine. pick my existing ntp server and can override it fine. problem with dropdown menu ( cf John Allen mail ) I think this should be place under a special button ( named Time Server for example ) in order to have a cleaner GUI --- Combien d'acteurs paraissent naturels parce qu'ils n'ont aucun talent. -- Jules Renard, Journal
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
Le mer 29/10/2003 à 15:13, Daouda LO a écrit : Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome. oh well, this need to be fixed in both installer and in clock.pl i think : starting ntpd is not enough to ensure that the system will be sync with the time server see this message : Oct 29 19:18:26 admin3 ntpd[32372]: time correction of -3585 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time. This occurs because ntpd stop himself if the delay between local time and server time is superior to 1000s see : http://www.eecis.udel.edu/~mills/ntp/html/debug.html to avoid this without having to change/set tinker panic, we should first ensure that ntpd is stopped ( service ntpd stop ), then launch ntpdate ( ntpdate mynewserver.com ), and finally lanch ntpd ( service ntpd start ) indeed ntpdate doesn't use the panic threshold and just sync the time with the server time. So this way we are sure that ntpd will be running fine afterwards --- Il faut rire avant d'etre heureux, de peur de mourir sans avoir ri. -- Jean de La Bruyere, Les Caracteres
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
On Wednesday 29 October 2003 7:42 pm, FACORAT Fabrice wrote: Le mer 29/10/2003 à 15:13, Daouda LO a écrit : Ok, i just finished putting ntp client feature in mcc (clock.pl). It's aimed to sync with a ntp server in local network but can be used for external ntp servers. Replace /usr/sbin/clock.pl by the one at http://peoples.mandrakesoft.com/~daouda/misc/clock.pl FeedbacksBugReports are welcome. oh well, this need to be fixed in both installer and in clock.pl i think : starting ntpd is not enough to ensure that the system will be sync with the time server see this message : Oct 29 19:18:26 admin3 ntpd[32372]: time correction of -3585 seconds exceeds sanity limit (1000); set clock manually to the correct UTC time. Normally the ntpd initscript will do an ntpdate if, and only if /etc/ntp/conf/step-tickers exists. So the GUI should init that file with the value of your ntp server -- John Allen, mailto:[EMAIL PROTECTED] MandrakeClub Silver Member. http://allentech.homelinux.org/
Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luca Berra wrote: On Wed, Oct 29, 2003 at 06:07:25PM +0200, Buchan Milne wrote: Well, in case you missed the NTP threads/bugs from about 2 months ago, the default configuration (assuming users have full access to outside NTP servers) should have 3 entries for 'pool.ntp.org' (IIRC, check in bugzilla), since they have round-robin DNS, so ntpd should get 3 different servers: the problem is that you cannot use dns names for restrictions in ntpd.conf, so we would have to putt all ip addresses for pool.ntp.org in there. But I think (looking at Daouda's updated clock.pl) that we are talking about the 'server' entries in /etc/ntp.conf, which most certainly can be hostnames, and the NTP people have been suggesting using 3 entries the pool.ntp.org for a few months now. Regards, Buchan - -- |--Another happy Mandrake Club member--| Buchan MilneMechanical Engineer, Network Manager Cellphone * Work+27 82 472 2231 * +27 21 8828820x202 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/n/5wrJK6UGDSBKcRAiecAJwIOHFj+7P4O090bCAn8LH4JcEcYwCdFrWS 3YTQG5s0D4NmIq1s2wx2DI8= =wKBM -END PGP SIGNATURE-