Difference between revisions of "Mldonkey - multi-network file-sharing client"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
m
m (Background)
Line 4: Line 4:
 
=Background=
 
=Background=
 
'''[[w:MLDonkey|MLDonkey]]'''<ref>Wikipedia: [[w:MLDonkey|MLDonkey]]</ref> is an [[w:open source|open source]], [[w:free software|free software]] multi-network [[w:peer-to-peer|peer-to-peer]] application that supports the [[w:BitTorrent|BitTorrent]] protocol<ref>[[w:Comparison of BitTorrent software|Comparison of BitTorrent software]]</ref>
 
'''[[w:MLDonkey|MLDonkey]]'''<ref>Wikipedia: [[w:MLDonkey|MLDonkey]]</ref> is an [[w:open source|open source]], [[w:free software|free software]] multi-network [[w:peer-to-peer|peer-to-peer]] application that supports the [[w:BitTorrent|BitTorrent]] protocol<ref>[[w:Comparison of BitTorrent software|Comparison of BitTorrent software]]</ref>
.  It is also the name of the peer-to-peer [[w:overlay network|overlay network]] that application uses. Originally a [[w:Linux|Linux]] client for the [[w:EDonkey network|eDonkey]] protocol<ref>[[w:Comparison of eDonkey software|Comparison of eDonkey software]]</ref> MLdonkey is written in the [[w:Ocaml|Ocaml]] programming language and licensed under the [[w:GNU General Public License|GPL]]. The application separates the user interface (which can be a [[w:web browser|web browser]], [[w:telnet|telnet]], or a third-party [[w:GUI|GUI]] application)<ref>[http://sancho-gui.sourceforge.net/ sancho (n)]: the premier graphical user interface for p2p cores</ref> and the code that interacts with the peer-to-peer networks<ref>[http://mldonkey.dyndns.info/ MLDonkey/Mulus File Archive]</ref><ref>[http://www.mldonkey.org/ The official MLDonkey Community and News page]</ref><ref>[http://mldonkey.sourceforge.net/Main_Page MLDonkey Project Wiki - the Official Wiki of MLDonkey]</ref>.  
+
.  It is also the name of the peer-to-peer [[w:overlay network|overlay network]] that application uses. Originally a [[w:Linux|Linux]] client for the [[w:EDonkey network|eDonkey]] protocol<ref>[[w:Comparison of eDonkey software|Comparison of eDonkey software]]</ref> MLdonkey is written in the [[w:Ocaml|Ocaml]] programming language and licensed under the [[w:GNU General Public License|GPL]]. The application separates the user interface (which can be a [[w:web browser|web browser]], [[w:telnet|telnet]], or a third-party [[w:GUI|GUI]] application)<ref>[http://sancho-gui.sourceforge.net/ Sancho (n)]: the premier graphical user interface for p2p cores</ref> and the code that interacts with the peer-to-peer networks<ref>[http://mldonkey.dyndns.info/ MLDonkey/Mulus File Archive]</ref><ref>[http://www.mldonkey.org/ The official MLDonkey Community and News page]</ref><ref>[http://mldonkey.sourceforge.net/Main_Page MLDonkey Project Wiki - the Official Wiki of MLDonkey]</ref>.  
  
 
MLDonkey supports the following network protocols, either partially or completely:
 
MLDonkey supports the following network protocols, either partially or completely:
Line 14: Line 14:
 
*[[w:Kad Network|Kad Network]]
 
*[[w:Kad Network|Kad Network]]
 
*[[w:HTTP|HTTP]]/[[w:File Transfer Protocol|FTP]]
 
*[[w:HTTP|HTTP]]/[[w:File Transfer Protocol|FTP]]
 +
 
=Installation=
 
=Installation=
 
== FreeLink ==
 
== FreeLink ==

Revision as of 13:42, 18 September 2006

Originally by marge and frontalot from linkstationwiki.org

mldonkey_logo.gif

Contents

Background

MLDonkey[1] is an open source, free software multi-network peer-to-peer application that supports the BitTorrent protocol[2] . It is also the name of the peer-to-peer overlay network that application uses. Originally a Linux client for the eDonkey protocol[3] MLdonkey is written in the Ocaml programming language and licensed under the GPL. The application separates the user interface (which can be a web browser, telnet, or a third-party GUI application)[4] and the code that interacts with the peer-to-peer networks[5][6][7].

MLDonkey supports the following network protocols, either partially or completely:

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. Wikipedia: MLDonkey
  2. Comparison of BitTorrent software
  3. Comparison of eDonkey software
  4. Sancho (n): the premier graphical user interface for p2p cores
  5. MLDonkey/Mulus File Archive
  6. The official MLDonkey Community and News page
  7. MLDonkey Project Wiki - the Official Wiki of MLDonkey