Only emule sui feature has to be disabled cause mldonkey's implementation needs a

+

real FPU which is not present in SoftARM Linkstations.

+

====Pre-compiled mldonkey cores for ARM architectures are avaiable for download:====

+

http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4825

+

Cores are compiled on Debian Linux.

+

+

There are possible issues about DNS resolutions or library version problems

+

(Linkstations have modified version of libc which could cause incompatibility).

+

In order to solve these issues the cores are bundled with the exact shared libraries

+

(zipped in archive) and libc version used to compile the cores.

+

+

||

+

{{Postit|Genlink|I have tested Mldonkey on the LSPro using Genlink and had no problems with it except for being a little slow. I am pretty sure there is a emerged binary in the Genlink portage but it may not be the latest version.

+

-- Shadowtester}}

+

|}

+

+

====FIRST SOLUTION(easy)====

+

+

The Library problem (if arises) has an easy solution, let's put the bundled libraries in a proper directory ("/new_libs_path" in this example) and call mlnet thru next script.

+

For example Georg wrote following three liner scripts:

+

+

+

LD_LIBRARY_PATH=/new_libs_path:$LD_LIBRARY_PATH

+

export LD_LIBRARY_PATH

+

/path_to_mldonkey/mlnet.static

+

+

+

This starts the static linked mlnet after setting the LD_LIBRARY_PATH environment variable as needed. And the variable is only set for the call of mlnet (the new added libraries are picked first to look for standard ones), thus the remainer of the installation is not affected.It is higly suggested to use a user to only run mldonkey.

You may consider to merge the tricks with a smarter way to launch mlnet, a more elegant way is for example this startup script:

+

http://www.unet.univie.ac.at/~a0025690/scripts/mldonkey

+

+

Someone told me that they had problems because su was missing.

+

in case that is true for the arm9-boxes as well then we can just remove that command and just use the built in mldonkey thing you used.

+

if su is missing replace this line

+

+

su - $USER -c"/usr/local/bin/mlnet&"

+

+

with either

+

+

/usr/local/bin/mlnet -run_as_useruid 1000 &

+

+

if you start it automatically at bootup from /etc/init.d/rcS by adding

+

+

echo "exec_sh mldonkey" >> /etc/init.d/rcS

+

+

then you do not need to install nohup btw.

+

In case you are a script-guru, I suggest to mix the mindbender script/suggestions with the tricks about Library problems.

+

+

===PowerPC(PPC) and MIPSEL===

+

Over mentioned methods could be also applied on these archiectures please test and report about on software forums.

+

====PowerPC and MIPSEL Precompiled cores are aviable:====

+

PPC: http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4834

+

Mipsel: http://mldonkey.sourceforge.net/forums/viewtopic.php?t=4890

+

+

PPC cores are reported to work well on to other PPC based NAS ( Synology DS207, tested by ZeusII ), no positive feedback about Linkstation PPC users at the moment.

+

== FreeLink ==

== FreeLink ==

You may need to use the [[w:Unstable (Debian)|Unstable (Debian)]] branch:

You may need to use the [[w:Unstable (Debian)|Unstable (Debian)]] branch:

Line 22:

Line 204:

apt-get install mldonkey-server

apt-get install mldonkey-server

−

===ARM9===

+

===PPC and MIPSel===

+

====apt-get====

====apt-get====

apt-get update # update APT-Repository

apt-get update # update APT-Repository

apt-get install mldonkey-server # install MLDonkey

apt-get install mldonkey-server # install MLDonkey

+

+

====Upgrading installed apt-get version====

+

'''NOTE: This method ONLY tested by fcisler on his LSpro. Please provide feedback!!'''

+

+

The version apt-get will install is 2.8.1. I have had problems that after about two weeks or several gigs, it will crash.

+

I have compiled 2.8.3 static (latest at time of writing, 3.15.07), so it should work standalone. For ease of use,

+

and startup scripts - i install is via apt-get, and then upgrade it. After following the procedure above, use this:

+

+

#make sure mldonky is stopped

+

/etc/init.d/mldonkey-server stop

+

cd /usr/bin/

+

mv mlnet mlnet.PKG

+

wget http://www.cisler.net/lspro/mldonkey/mlnet.static

+

mv mlnet.static mlnet

+

#start mldonkey

+

/etc/init.d/mldonkey-server start

+

+

A '''ps-ax | grep mlnet''' should show at least one process running.

+

+

Please report success/failure in the forums. - fcisler

====compile latest SVN====

====compile latest SVN====

−

If you would like to have the latest SVN-Version (better speed etc.) then you should do the following steps:

+

If you would like to have the latest SVN-Version (better speed etc.) then you should do the following steps. But be careful: Currently the latest SVN-Version is very unstable on the ARM-System. It'll freeze after a few minutes. There's a patch (svn.debian.org [http://svn.debian.org/wsvn/pkg-ocaml-maint/trunk/packages/mldonkey/trunk/debian/patches/arm_dynamic_loop_delay.dpatch?op=file&rev=0&sc=0]) which should fix the problem but i didn't have success, it's still unstable.

But there was [http://forum.linkstationwiki.net/index.php?action=vthread&forum=3&topic=1225 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.

+

But there was [http://forum.nas-central.org/viewtopic.php?f=3&t=1225 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.

Pre-compiled mldonkey cores for ARM architectures are avaiable for download:

There are possible issues about DNS resolutions or library version problems
(Linkstations have modified version of libc which could cause incompatibility).
In order to solve these issues the cores are bundled with the exact shared libraries
(zipped in archive) and libc version used to compile the cores.

Genlink

I have tested Mldonkey on the LSPro using Genlink and had no problems with it except for being a little slow. I am pretty sure there is a emerged binary in the Genlink portage but it may not be the latest version.

-- Shadowtester

FIRST SOLUTION(easy)

The Library problem (if arises) has an easy solution, let's put the bundled libraries in a proper directory ("/new_libs_path" in this example) and call mlnet thru next script.
For example Georg wrote following three liner scripts:

This starts the static linked mlnet after setting the LD_LIBRARY_PATH environment variable as needed. And the variable is only set for the call of mlnet (the new added libraries are picked first to look for standard ones), thus the remainer of the installation is not affected.It is higly suggested to use a user to only run mldonkey.
DNS issue seems to be solved and mldonkey works as it should.
You can also try running mlnet by commandline:

4) Copy MLDonkey:
Started mldonkey before:
- You have to copy the existing directory form the old mldonkey directory to the new home directory /mnt/disk1/home/mldonkey
- Edit your downloads.ini for the new root:

Someone told me that they had problems because su was missing.
in case that is true for the arm9-boxes as well then we can just remove that command and just use the built in mldonkey thing you used.
if su is missing replace this line

su - $USER -c"/usr/local/bin/mlnet&"

with either

/usr/local/bin/mlnet -run_as_useruid 1000 &

if you start it automatically at bootup from /etc/init.d/rcS by adding

echo "exec_sh mldonkey" >> /etc/init.d/rcS

then you do not need to install nohup btw.
In case you are a script-guru, I suggest to mix the mindbender script/suggestions with the tricks about Library problems.

PowerPC(PPC) and MIPSEL

Over mentioned methods could be also applied on these archiectures please test and report about on software forums.

PPC and MIPSel

apt-get

Upgrading installed apt-get version

NOTE: This method ONLY tested by fcisler on his LSpro. Please provide feedback!!

The version apt-get will install is 2.8.1. I have had problems that after about two weeks or several gigs, it will crash.
I have compiled 2.8.3 static (latest at time of writing, 3.15.07), so it should work standalone. For ease of use,
and startup scripts - i install is via apt-get, and then upgrade it. After following the procedure above, use this:

compile latest SVN

If you would like to have the latest SVN-Version (better speed etc.) then you should do the following steps. But be careful: Currently the latest SVN-Version is very unstable on the ARM-System. It'll freeze after a few minutes. There's a patch (svn.debian.org [1]) which should fix the problem but i didn't have success, it's still unstable.

Problems (both ways)

There are problems within the ARM9-Version. After some starts the mlnet-Service will shut down automatically with an errormessage. The Problem is caused by a file called mlnet_strings.EN_ANSI_X3.4-1968. I've found a workaround: You have to delete the file before mlnet starts. Mlnet will create the file as soon as it is started.

I've created a file called run_mldonkey in the mldonkey-dir (/root/.mldonkey/):

After that i have created a symbolic link within the /etc/rc2.d-Directory to get it automatically started. First tests were successfully, mldonkey seems to run stable

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.

If someone could please host this (bandwidth is limited), contact me on the site - fcisler

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.