Mldonkey - multi-network file-sharing client

From NAS-Central Buffalo - The Linkstation Wiki
Revision as of 19:48, 17 September 2006 by 84.139.173.221 (Talk)

Jump to: navigation, search

Originally by marge and frontalot from linkstationwiki.org
MLdonkey[1] intends to support the following p2p networks and file transfer protocols in addition to the default eDonkey2000 and Overnet: BitTorrent, Gnutella (LimeWire), Gnutella2, FastTrack, FileTP: HTTP, FTP and SSH, Kad Network

mldonkey_logo.gif

Contents

Installation

FreeLink

You may need to use the Unstable (Debian) branch:

  1. Get access to packages from the Debian unstable branch
  2. Then install mldonkey by
apt-get install mldonkey-server

OpenLink

PowerPC

This project aims to offer the latest MLDonkey P2P client and additional utilities precompiled and packaged for the PPC LinkStation. This release is compiled without GUI support. See http://www.nongnu.org/mldonkey/ for more information. You may download the latest version from the downloads area.

ppc-mldonkey-2.5.30.16–1

  • mldonkey-2.5.30.16
  • ed2k_hash
  • make_torrent

MIPSel

Older binaries + packages are available here. But there was feedback that they did no work properly because of the missing libmagic. So you would have to install the development tools which should fix this dependancy.

  1. Precompiled C development environment, running on the LS
  2. Then
mkdir /mnt/hda/temp 
cd /mnt/hda/temp 
wget http://www.unet.univie.ac.at/~a0025690/mips-binaries/mldonkey_mips-2.7.6.tar.gz 
tar -xzvf mldonkey_mips-2.7.6.tar.gz 
./install.sh

Compile from Source

You can find the latest sources of mldonkey at the mldonkey project at sourceforge. First install the development tools.

  1. Precompiled C development environment, running on the LS
  2. Then mldonkey can be compiled by:
wget http://easynews.dl.sourceforge.net/sourceforge/mldonkey/mldonkey-2.7.7.tar.bz2
tar -xjf mldonkey-*.tar.bz2
cd mldonkey-* 
./configure --enable-batch --disable-gui
make
make install

you will need a startscript (/etc/init.d/mldonkey) for mldonkey.

#! /bin/sh
export USER="root"
NAME=mldonkey
INSTALLEDPATH=/root/.mldonkey
start()
{
su - $USER -c"/usr/local/bin/mlnet&" 
}
stop()
{
su - $USER -c"kill -15 `cat $INSTALLEDPATH/mlnet.pid`"
su - $USER -c"sleep 5"
}
case "$1" in
    start)
        echo -n "Starting mldonkey: "
        start
        ;;
    stop)
        echo -n "Stopping mldonkey "
        stop
        ;;
    restart)
        echo -n "Restarting mldonkey "
        stop
        start
        ;;
    force)
   	 echo -n "Forcing start of mldonkey "   
    	 rm $INSTALLEDPATH/config_files_space.tmp
    	 rm $INSTALLEDPATH/mlnet.pid
   	 start
        ;;
    *)
        echo "Usage: /etc/init.d/$NAME {start|stop|restart|force}"
        exit 1
        ;;
esac
exit 0

you can download it directly from here here.

cd /etc/init.d
wget http://www.unet.univie.ac.at/~a0025690/scripts/mldonkey
chmod 755 mldonkey

Additional Info

mldonkey should be runnable now by executing

/etc/init.d/mldonkey start

I had to add .sh That is what I use:

/etc/init.d/mldonkey.sh start

if you want mldonkey to be started automatically at startup:

FreeLink

ln -s /etc/init.d/mldonkey /etc/rc2.d/S99mldonkey

OpenLink

ln -s /etc/init.d/mldonkey /etc/rc.d/rc2.d/S99mldonkey

References

  1. MLDonkey Project Wiki - the Official Wiki of MLDonkey