Re: NTP client in clock.pl [Was: Re: [Cooker] Some wishes for Mandrake 10.0...]

2003-10-30 Thread Luca Berra
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...]

2003-10-30 Thread Daouda LO
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...]

2003-10-30 Thread FACORAT Fabrice
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...]

2003-10-29 Thread Daouda LO
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...]

2003-10-29 Thread Buchan Milne
-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...]

2003-10-29 Thread John Allen
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...]

2003-10-29 Thread Luca Berra
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...]

2003-10-29 Thread FACORAT Fabrice
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...]

2003-10-29 Thread FACORAT Fabrice
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...]

2003-10-29 Thread John Allen
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...]

2003-10-29 Thread Buchan Milne
-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-




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-27 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Todd Lyons wrote:
| Jan Ciger wanted us to know:
| 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.
Actually this is very bad thing to do. You should use at least 3 servers
in that case (if one is giving wrong time, the others will correct it).
Moreover, do not put the ucla.edu machine in the wiki, they will not be
happy about that - imagine thousands of machines pounding on the server,
because clueless newbies copy-pasted your wiki entry. I think Linksys
made a similar goof with one of their routers recently.
Jan

- --

Jan Ciger
VRlab EPFL Switzerland
GPG public key : http://www.keyserver.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/nQfUn11XseNj94gRAm1oAKCfyO1sw9HEe95eKyOGtqEr+o1JSACfbRhE
uXMxZZYWebgHzPM/Xn9o29A=
=O5Ad
-END PGP SIGNATURE-




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-26 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

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.
- -- 
Blue skies...   Todd
| Get a bigger hammer!   |  Sometimes you get what you want.  |
| http://www.mrball.net  |  Sometimes you get experience. |
| http://faq.mrball.net  | --unknown origin   |
Linux kernel 2.4.22-10mdk   load average: 0.00, 0.13, 0.12
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/nLdIIBT1264ScBURAkQWAKDIlxe8T5ylEqRK+8u886jND8AOtgCfVRZR
wYLFO/ZQxB8qgzy2pDgsr/o=
=tBoQ
-END PGP SIGNATURE-



Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Pierre Jarillon
Le Vendredi 24 Octobre 2003 05:31, BOUTELIER Sébastien a écrit :
 Hello !

 I have some wishes for the Mandrake 10.0...

 First of all, is it possible to include in the Mandrake Controle Center a
 module for Bittorrent ? This module ask the user where to save the files,
 his login and password of mandrake club and that's all, the download start.
 This module can verify the presence of a proxy or a firewall, configure
 shorewall and give some advices to the user. I think the newbies will be
 happy with this ! No more FAQ or problem of python dependencies... You
 could use this system to download Beta or RC when we are in Beta or RC
 period.

Good idea, but is this necessary ? From Mandrake Club, the link 
https://www.mandrakeclub.com/torrent.php?f_=x.torrent calls Bittorrent.

Bittorrent-shadowsclient is very nice and should replace the old version.
Some features should be include:
- a link to http://torrent.mandrakesoft.com:6969/ 
- an indication about the overall requested download bandwith and the 
available upload bandwith.
- a message or a vu-meter to show the balance between upload and download. 
When download is over, ask for don't stop upload. 

 My fourth wish is perhaps a detail but is it possible to have an option to
 synchronize the time with a NTP regularly in the date and time module of
 MCC ? (in fact use a ntp command with cron or at internet connection).

Never call a ntp server with cron! This is the best way to overload a ntp 
server if several people do that.
 Instead, use ntpd which is provided to call the server when needed and
does the best drift compensation for local clocks. The first aim of ntpd is
to make your time accurate, which is absolutely necessary to become a
server... if needed.

  PS: Raaah ! I speak english like Babelfish !
I so! But we are not alone ;-)

-- 
Pierre Jarillon - http://pjarillon.free.fr/
Vice-président de l'ABUL : http://abul.org/




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pierre Jarillon wrote:
| Le Vendredi 24 Octobre 2003 05:31, BOUTELIER Sébastien a écrit :
|My fourth wish is perhaps a detail but is it possible to have an option to
|synchronize the time with a NTP regularly in the date and time module of
|MCC ? (in fact use a ntp command with cron or at internet connection).
|
|
| Never call a ntp server with cron! This is the best way to overload a ntp
| server if several people do that.
|  Instead, use ntpd which is provided to call the server when needed and
| does the best drift compensation for local clocks. The first aim of
ntpd is
| to make your time accurate, which is absolutely necessary to become a
| server... if needed.
I think that the original idea was not to have non-stop synchronized
clock (aka ntpd) but just the possibility to e.g. once a day synchronize
clock with some external server. For desktop machines, this is usually
enough, unless you have some special requirements.
To avoid the server overload (100+ machines syncing their clock at the
same time), the script could be smart and randomize the time when it
runs a bit. AutoRPM does this - when you pass it a special switch, it
will wait for some random time (from few minutes up to several hours)
and then do it's job. So it is OK to call this from the cron. I have
such setup (with autoRPM to update 15 machines) and it works quite fine.
Jan

- --

Jan Ciger
VRlab EPFL Switzerland
GPG public key : http://www.keyserver.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/mT0wn11XseNj94gRAlzUAKC8JCmtBaNtTK/Xv6ocOEnr3q9kgQCfaTQA
8NjdjmFXevkWIynk3w6Xk1g=
=LXYE
-END PGP SIGNATURE-




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Radek Vybiral
On Fri, 24 Oct 2003, BOUTELIER [ISO-8859-1] Sbastien wrote:

 My second whish is in mousedrake. Is it possible to add a module to
 configure the thumbs (side ?) buttons of the mouse. Not only associate
 Alt right in konqueror with right button but the possibility to select
 an application and enter what a thumbs button makes. For exemple select
 Open Office and associate the right side button with Ctrl-S. I have made
 this with imwheel but it was painfull...

Setting up mouse for left handed users by mousedrake will be helpful too.

R.V.




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Digital Wokan
BOUTELIER Sébastien wrote:

Hello !

I have some wishes for the Mandrake 10.0...

First of all, is it possible to include in the Mandrake Controle Center a module for Bittorrent ? This module ask the user where to save the files, his login and password of mandrake club and that's all, the download start. This module can verify the presence of a proxy or a firewall, configure shorewall and give some advices to the user. I think the newbies will be happy with this ! No more FAQ or problem of python dependencies... You could use this system to download Beta or RC when we are in Beta or RC period.

My second whish is in mousedrake. Is it possible to add a module to configure the thumbs (side ?) buttons of the mouse. Not only associate Alt right in konqueror with right button but the possibility to select an application and enter what a thumbs button makes. For exemple select Open Office and associate the right side button with Ctrl-S. I have made this with imwheel but it was painfull... 

My third wish is about drakeloop. It's a very good idea but is it possible to have an option to ask the pass only when access the encrypted directory instead on login ?

My fourth wish is perhaps a detail but is it possible to have an option to synchronize the time with a NTP regularly in the date and time module of MCC ? (in fact use a ntp command with cron or at internet connection).

My fifth wish is a detail too and is in apache... I use http://localhost/~someone to work but the consequence is that /home/someone is readable and I don't want it. What about a directory /public_html and when you create an account someone, you create a directory someone in /public_html and with owner someone and with group apache. Now, only user someone and apache can read the directory and my /home/someone is non readable by the others. It's possible to make a symbolic link /home/someone/public_html - /public_html/someone

I'm not an expert of linux and I don't know if all this wishes are realists.

Hope that this wishes can help and that the genius of Mandrake can execute them... Let's rub the lamp !

			Sébastien.

PS: It's just suggestions for the 10.0. I don't need help ! Bittorrent is OK for me, I 
can use my thumbs button and webmin is fabulous to make cron jobs.
PS: Raaah ! I speak english like Babelfish !
--
BOUTELIER Sébastien
ICQ: 14554603
http://www.priap.com
The fifth wish is an easy workaround.  On my system at home, I created a 
/www directory and create users in there as necessary, configuring 
Apache to look their for user webspaces.  You can probably add something 
to /etc/skel that will accomplish linking ~/public_html to 
/www/~username.  Since I don't believe this follows the accepted FHS 
specs, I doubt Mandrake would make it a part of their default 
configuration.  FHS compliance is a good thing to maintain.





Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread BOUTELIER Sébastien
Le Fri, 24 Oct 2003 11:15:52 -0400
Digital Wokan [EMAIL PROTECTED] a écrit:


 The fifth wish is an easy workaround.  On my system at home, I created a 
 /www directory and create users in there as necessary, configuring 
 Apache to look their for user webspaces.  You can probably add something 
 to /etc/skel that will accomplish linking ~/public_html to 
 /www/~username.  Since I don't believe this follows the accepted FHS 
 specs, I doubt Mandrake would make it a part of their default 
 configuration.  FHS compliance is a good thing to maintain.

Yes, yes, but I don't need solution like I said in my first PS. It's just some 
proposition for the next release. I have seen this problem in my university too... 
there is a public_html in each account and so all the accounts are readable by 
default... And poeple who doesn't know linux offer all their data to the others... 
the other problem is with site in PHP. What about MySQL password ? They are readable.

Sébastien.

-- 
BOUTELIER Sébastien
ICQ: 14554603
http://www.priap.com 





Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Todd Lyons
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jan Ciger wanted us to know:

| Never call a ntp server with cron! This is the best way to overload a ntp
| server if several people do that.
I think that the original idea was not to have non-stop synchronized
clock (aka ntpd) but just the possibility to e.g. once a day synchronize
clock with some external server. For desktop machines, this is usually

Change your thinking to a large scale sysadmin.  Set up an NTP service
on one of your boxen and then configure all of your clients to sync in
whatever way you want to your local master.

To avoid the server overload (100+ machines syncing their clock at the
same time), the script could be smart and randomize the time when it

No need.  Again, set up your own NTP server, make all the local machines
sync to that one local master.
- -- 
Blue skies...   Todd
| Get a bigger hammer!   | Security is like an onion.  It's made   |
| http://www.mrball.net  | up of several layers and makes you cry. |
| http://faq.mrball.net  | --Howard Chu|
Linux kernel 2.4.22-10mdk   load average: 0.00, 0.00, 0.00
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: http://www.mrball.net/todd.asc

iD8DBQE/maTOIBT1264ScBURAu9/AKCf1FuCA7g6/KoJnwhZxQOVbuwyCwCg6cU6
2KePtUB84rTdqxx+ogoZXuM=
=smJ5
-END PGP SIGNATURE-



Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread bgmilne

| Never call a ntp server with cron! This is the best way to overload a
 ntp | server if several people do that.
I think that the original idea was not to have non-stop synchronized
 clock (aka ntpd) but just the possibility to e.g. once a day
 synchronize clock with some external server. For desktop machines, this
 is usually

 Change your thinking to a large scale sysadmin.  Set up an NTP service
 on one of your boxen and then configure all of your clients to sync in
 whatever way you want to your local master.

To avoid the server overload (100+ machines syncing their clock at the
 same time), the script could be smart and randomize the time when it

 No need.  Again, set up your own NTP server, make all the local machines
 sync to that one local master.

Of course, some solution for them to find the NTP server automatically
(DHCP/DNS) would be nice (like _ldap._tcp kerberos-style SRV records do
for nss_ldap/pam_ldap etc).

Regards,
Buchan





Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,

Todd Lyons wrote:
| Jan Ciger wanted us to know:
| Change your thinking to a large scale sysadmin.  Set up an NTP service
| on one of your boxen and then configure all of your clients to sync in
| whatever way you want to your local master.
|
This is not what I meant. Of course, if you have many machines, that is
a better solution (e.g. here our routers broadcast the time, so we sync
to them), but what I had more in mind is the home user, which has 1-2
computers. Setting up NTP server there is :
a) overkill
b) quite tricky if you do not know what you are doing
Running ntpdate from time to time to keep the system clock from running
completely out of whack is enough in such situation. Adding this to
Drakconf would be a big help.
Jan

- --

Jan Ciger
VRlab EPFL Switzerland
GPG public key : http://www.keyserver.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/mbATn11XseNj94gRAoPdAJ0eXsZlRLzxFCFVp5xpRoTFflZXAwCeOgRs
UXoj0YdXtooKlyEL9cT9elI=
=w+O8
-END PGP SIGNATURE-




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Pierre Jarillon
Le Samedi 25 Octobre 2003 01:04, Jan Ciger a écrit :

 Running ntpdate from time to time to keep the system clock from running
 completely out of whack is enough in such situation. Adding this to
 Drakconf would be a big help.

No! Even for a single computer ntpd is the _*best*_ solution.
It is very light, generate a very low traffic, gives always and accurate time
and is able to do this with a laptop or a PC on line now and then.
Ntpdate is useful only when you buy your PC or when you change the battery
which is on the motherboard.
Please, read carefully http://ntp.org or 
file:/usr/share/doc/ntp-4.1.1/index.htm

-- 
Pierre Jarillon - http://pjarillon.free.fr/
Vice-président de l'ABUL : http://abul.org/




Re: [Cooker] Some wishes for Mandrake 10.0...

2003-10-24 Thread Jan Ciger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Pierre Jarillon wrote:
| No! Even for a single computer ntpd is the _*best*_ solution.
Not every time. Especially if you are on dial-up or another intermittent
link, where it does not make much sense to run ntpd non-stop, unless you
have some external time source, e.g. a GPS receiver or a radio clock.
There is something called burst mode in ntpd 4.x and up, which solves
this problem, but again it would have to be either a cronjob or
something run from the ifup scripts (ntpd -q + iburst set).
| Ntpdate is useful only when you buy your PC or when you change the battery
| which is on the motherboard.
Actually ntpdate is being retired according to ntp.org (didn't know that
either). The idea for ntpdate is to set the initial time, when the clock
is way off and it would take ages for ntpd to synchronize it by slowing
down or speeding it up. And that is not only in case of a new machine -
I am not talking about servers with long uptimes here - many people turn
their machines off when they are done for the day.
| Please, read carefully http://ntp.org or
| file:/usr/share/doc/ntp-4.1.1/index.htm
Did so, there is nothing saying that running ntpd non-stop is the best
thing after sliced bread.
Jan

- --

Jan Ciger
VRlab EPFL Switzerland
GPG public key : http://www.keyserver.net/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE/mdOEn11XseNj94gRAqidAJwPhwYVNjhLbVqwHOQaaIzBoL6TywCg2hAR
OsBpdTH6++4lOAPGLmbW50M=
=3vxm
-END PGP SIGNATURE-