distributed.net client upgrader
This tool hasn't been updated since 1999 or maybe 2000. If
it's useful to you, please feel free to update it and send me a link
to the new URL for it.
This is a utility to assist managing large installations of
the dnetc
program.
The latest version is
0.21
which besides only working on Linux/i386, works pretty
well. If you have another platform get it anyway and send me a mail, I
can have it fixed shortly. (Except for windows where you will have to
send me a patch).
Install
It's really really easy.
- Download the program from http://develooper.com/dnetcup/dnetcup.pl.
- Set the execute bit (chmod a+x dnetcup).
- Install the LWP:m:Simple module if it's not already installed. (As root: perl -MCPAN -e 'install "LWP::Simple"').
- Give someone whom you haven't talked to in a long time a call. She will appreciate it.
Configuration
This is really really really easy.
- Put a dnetcup.config file and your dnetc.ini up on a webserver
where dnetcup can reach it. The name of both can be just about
anything you would like it to be. The format of the dnetcup.config file is as follows:
ini = http://url/to/dnetc.ini
There is an example here.
- (Optional) Put dnetcup in your crontab, for example like this:
24 2 * * * /home/user/dnetc/dnetcup http://tmtowtdi.perl.org/~ask/dnetc.txt ~/dnetc
to have it run automagically every night at 2.24.
That's it, you are now ready to try it out by running ./dnetcup
url.to.config ~/dnetc.. If you have any problems, questions, ideas or patches,
they are welcome on the dnetcup@lists.netcetera.dk mailinglist.
Todo
- use LWP::UserAgent instead of LWP::Simple so we can
tell what went wrong when it doesn't work.
- The client name mapping should be an external file.
- Windows support?