Con mldonkey installato nel Mybook resuscitato abbiamo un client peer to peer gestibile via web. Può connettersi alle reti: emule/edonkey e bittorrent.
(Articolo solo in inglese. Se qualcuno è interessato me lo faccia sapere che lo traduco in italiano)

Using mldonkey on the Revived Mybook we have a complete peer to peer client with web interface. It uses edonkey/emule and bittorrent protocols/networks.

As usual, first step is installing mldonkey:

# apt-get install mldonkey-server
. . .

During installation, apt asks for automatically launch mldonkey on system startup. We can reply affirmatively.
As the installation end, we have mldonkey up and running, but we have two problems:

  • mldonkey places all working and temp files in /var/lib/mldonkey. If we use a partitioning scheme with root filesystem and home filesystem this lead to fill root partition and cause malfunctions on Mybook.
  • mldonkey web interface is accessible only from 127.0.0.1, that is useless.

So, we stop mldonkey server:

# /etc/init.d/mldonkey-server stop

then move the working directory in the /home partition:

# mv /var/lib/mldonkey /home

and set the new working dir in file /etc/default/mldonkey-server that is:

# MLDonkey configuration file
# This file is loaded by /etc/init.d/mldonkey-server.
# This file is managed using ucf(1).

MLDONKEY_DIR=/var/lib/mldonkey
MLDONKEY_USER=mldonkey
MLDONKEY_GROUP=mldonkey
MLDONKEY_UMASK=0022
LAUNCH_AT_STARTUP=true
MLDONKEY_NICENESS=0

in that way:

# MLDonkey configuration file
# This file is loaded by /etc/init.d/mldonkey-server.
# This file is managed using ucf(1).

MLDONKEY_DIR=/home/mldonkey
MLDONKEY_USER=mldonkey
MLDONKEY_GROUP=mldonkey
MLDONKEY_UMASK=0022
LAUNCH_AT_STARTUP=true
MLDONKEY_NICENESS=0

Next, we open file /home/mldonkey/downloads.ini, and we locate the line with:

 allowed_ips = [
  "127.0.0.1";]

This is the list of IP address enabled to access mldonkey web interface. We can modify it as explained here. I.e. to enable access from all PC in the network 192.168.1.x we can change in:

 allowed_ips = [ "192.168.1.0/24";
  "127.0.0.1";]

Make sure that mldonkey is stopped when modify this file: in the shutdown mldonkey writes down current configuration and overwrites all our changes.
Next we can start again mldonkey, and point our browser to: http://mybook-ip-address:4080/.
Note that mldonkey requires about a minute to start, and is a memory eater, so there will be some problems if your Mybook is loaded with Samba and CUPS.
That’s all.