OpenWrt Forum Archive

Topic: mldonkey compiles and run on asus wl500gd!!

The content of this topic has been archived on 2 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Not really related to openwrt, but I did install a chrooted debian distrib on my usb2 hard drive, and compiled mldonkey p2p program inside my router.

One you have apt running, compiling is quite easy. (dont forget to have a swap)

Everything went fine.

mldonkey takes a huge amount of resource about 40mbyte of ram (after some hours) and lot of cpu.
The throughput is not too bad, although it is certainly lower than on a more powerful pc.

Hi sophana, could you please give some more details on how you did install this chrooted debian distrib? Sounds interesting.

Thank you!

I have linksys WRT54GS and I want to have mldonkey too.Could you share with compiled mldonkey binary? maybe it will run on WRT.

Thanks,
Marek

you need a hard drive to do that. I use an usb2 hard drive.
mldonkey uses more than 40 meg of ram and takes LOT of cpu ressource.

I've finally setup a real pc instead of my router because the asus hardware is much too slow for such applications.
1mbyte/s on samba was not enough for me.

I know,but i can use SD card HW mod and connect SD/MMC card and it is seen as /mmc directory. My linksys has 200MHz and 32MB of RAM. You said that mldonkey uses 40MB of RAM, and I don't understand because AFAIK Asus wl500 has 16 or 32 MB depending on model...
I asked you for binary because asus and linksys has similar MIPSEL processor and, I hope, it can be executed od my linksys.

The binary is not statically linked and is compiled under debian, and I don't know what are the dependencies with the debian libraries.
I think there is something with ld.so to have the list of shared libraries...
I could try to configure it so it is statically linked, I will try.

I simply use a swap partition to make it run on 32mb of ram.
I think I would not recommend swapping on a SD card... You need performance to do that.

I think you should follow the link above and install a debian.

Anyone got working mldonkey on WRT54GS with OpenWRT?

you may need a mass storage. the asus has an usb port on which I connect my hard drive.

I cannot give you the binary because it is debian dynamically linked.

You need to install the debian then compile mldonkey.

(Last edited by sophana on 2 Apr 2006, 11:58)

As I said I have SD mod and I can connect 1GB or bigger SD/MMC card so I think it is sufficient to mldonkey instalation and for one or two Divx downloads smile
maybe amule client will be more suitable for WRT54GS? I know that amule works on NSLU2 machines.

I had a look at amule. The problem I found is that it has a gui, and I don't know if you can run it without it.
Why don't you install a debian and compile as suggested?
I'm not sure this kind of big software will compile easily in openwrt. (mldonkey is written in ocaml)

Maybe it would be useful to take a look to their package compilation process.
I gave up using my openwrt router as it was a bit slow in interaction (although it did download quite fast). As I needed other permanent services, I finally used a real old PC to do the job. So I can't help a lot.
Actualy, openwrt is working as a hotspot (with chillispot)

The discussion might have continued from here.