| 1 |
|
| 2 |
distributed.net client for Linux/x86 |
| 3 |
document revision $Id: readme.linux,v 1.3 2008/12/30 13:24:41 andreasb Exp $ |
| 4 |
|
| 5 |
Welcome to the distributed.net client. |
| 6 |
|
| 7 |
This document covers information specific to the client for Linux/x86. |
| 8 |
Refer to other enclosed documentation or browse the online FAQ at |
| 9 |
http://faq.distributed.net/ for non-platform-specific documentation. |
| 10 |
|
| 11 |
1.0 Getting started |
| 12 |
2.0 Linux/x86 specific notes |
| 13 |
|
| 14 |
1.0 Getting started ------------------------------------------------ |
| 15 |
|
| 16 |
Just unpack/unzip/untar the client in a directory of your choice and |
| 17 |
fire it up. |
| 18 |
|
| 19 |
If you have never run the client before, it will initiate the |
| 20 |
menu-driven configuration. Save and quit when done. |
| 21 |
|
| 22 |
Then, simply restart the client. From that point on it will use the |
| 23 |
saved configuration. |
| 24 |
|
| 25 |
The configuration options are fairly self-explanatory and can be run |
| 26 |
at any time by starting the client with the '-config' option. |
| 27 |
A list of command line options is available by starting the client |
| 28 |
with '-help' or '--help'. |
| 29 |
|
| 30 |
A complete step-by-step guide to running your first client is |
| 31 |
available at: http://www.distributed.net/docs/tutor_clients.php |
| 32 |
|
| 33 |
2.0 Notes: --------------------------------------------------------- |
| 34 |
|
| 35 |
Beginning with v2.7101, the client's default directory is the |
| 36 |
one the configuration file is located in, which in turn is assumed to |
| 37 |
be in the same directory the binary is in (if the binary was started |
| 38 |
with an explicit path spec). To specify another configuration file |
| 39 |
use the -ini switch. |
| 40 |
|
| 41 |
Beginning with v2.7102, multi-threaded clients can be forced to run |
| 42 |
single-threaded by setting the number of CPUs (the numcpu= option in |
| 43 |
the configuration file or the -numcpu switch on the command line) to |
| 44 |
zero. |
| 45 |
|
| 46 |
Also beginning with v2.7102, the restriction on the number of processors |
| 47 |
has been lifted. The client will run with as many processors as are |
| 48 |
available (the client will attempt autodetection if numcpu is -1). If |
| 49 |
your client does not support processor or processor-count autodetection |
| 50 |
and you know how to accomplish this on your platform send a code snippet |
| 51 |
to <[email protected]> |
| 52 |
|
| 53 |
Also (herewith officially) beginning with v2.7102, the client is always |
| 54 |
nohup'able. Sensibly enough, -HUP causes a restart. Beginning with this |
| 55 |
release, *nix'ish clients also support -hide/-quiet mode. User level |
| 56 |
'>/dev/null &' is deprecated, since it does not allow the client to warn |
| 57 |
the user when it fails to start. With -hide/-quiet you can be sure that |
| 58 |
the client has started successfully if you do not get a message to the |
| 59 |
contrary. |
| 60 |
|
| 61 |
Beginning with v2.7110.442, the process name (as seen from ps or top) is |
| 62 |
uniform 'rc5des'/'dnetc'. This is to facilitate scripted or system-wide |
| 63 |
--pause, --unpause, --shutdown and --restart |
| 64 |
|
| 65 |
Due to hostname resolving problems with various incompatible libc/glibc |
| 66 |
library versions, client versions 2.8011-463 and later won't rely on |
| 67 |
the libc resolver any longer, but parse the output of the 'host' command |
| 68 |
instead. So the 'host' command is a prerequisite for proper client |
| 69 |
operation. 'host' is usually found in a package called 'bind-utils'. |
| 70 |
|
| 71 |
In case you get an error message similar to |
| 72 |
Net::failed to resolve name "us.v27.distributed.net" |
| 73 |
ENOENT: no entry for requested name |
| 74 |
please check, whether the 'host' command is installed and in your path. |
| 75 |
|
| 76 |
Beginning with v2.8011.464, the client supports the -[un]install switch |
| 77 |
for creation/removal of SYSV-style rc.d scripts. |
| 78 |
|
| 79 |
The client needs SYSV IPC for its operation, otherwise you will get an |
| 80 |
"Insufficient memory to allocate problem data" error. If you get this |
| 81 |
error, you need to recompile your kernel with CONFIG_SYSVIPC enabled. |
| 82 |
|
| 83 |
As of November 7th, 1998, much of the client source, including all the |
| 84 |
core crunch code that was previously scattered about, is available |
| 85 |
online at http://www.distributed.net/source/ |