|
Post by stevenh on May 26, 2007 20:01:58 GMT 7
I've successfully built mldonkey, it was quite a long winded process, but in the end I've managed to package things up so that mldonkey can be run as chroot on it's own (no need to install the debian chroot). The tarball is under 4M and installed it is around 9M. Basic steps to get it running: 1. Get the tarball onto box 2. Go to /raid or wherever you like 3. tar zxf /pathtotarball 4. The output will be an mldonkey directory and 3 other files. 5. ./install will create the library and /dev 7. Edit the run file if you want to start mldonkey as anything other than root. 8. I've configured the downloads.ini under /root/.mldonkey to accept connections from IP addresses 192.168.0/1.* so should cater for majority of home networks... If you require to access from another IP address, edit that file. 9. ./run & 10. From computer, access web interface at: http://N2100IP:4080 11. Work the rest out from there and let me know how you get on ps. if you want to access the telnet command interface of mldonkey, you can do so with putty or something, the port is 4000. Note that for things to display properly you need to change a setting in putty somewhere for LF/CR. pps. I use chrootuid to allow running as a different user, but I think you will also need to configure mldonkey to not use the root accout, but since it's chroot'd anyway it should be ok. ppps. If it can't resolve anything, check the /etc/resolv.conf file pppps. Remember to configure and open ports for BT to work properly. and finally, is there somewhere I can upload this to? ;D I've put this up on my NAS: 84.9.236.246/cgi-bin/download.cgi?Public%2Fmldonkey.tar.gzgrab it while you can as it won't be hosted permanently...
|
|
|
Post by getmythe on May 29, 2007 3:58:14 GMT 7
Hi stevenh, I wrapped your code into a nice little module called DONKEY ;D. Consider it beta for now as do not have the time to play with it. Download it from www.freeside.ch/thecus/betacode/DONKEY.mod.zip, unzip and install. The options page of the module contains a direct link to the web interface plus a warning; I noticed that just starting up the darn thing eats more than 60Mbyte of RAM. Forget about using this on a standard 128Mbyte Thecus! have fun getmythe
|
|
|
Post by stevenh on May 29, 2007 15:45:39 GMT 7
Thank! I may do another build of mlnet stripping out support for everything except torrent and http/ftp...
|
|
|
Post by stevenh on May 29, 2007 16:45:47 GMT 7
Hi getmythe, I've looked at your mod, looks good I think I forgot to create /dev/null in my script.. What was the strange bug you mention in module.rc that requires the .mldonkey in the / of chroot? Can you change the downloads.ini file allowed ip section to use 192.168.0.0/23 instead of the 192.168.0.1-192.168.1.255? The thing that put was holding me back from doing a module was how to stop mldonkey, I see you use "kill", is that a nice way? Thanks
Steven
ps. mine seem to run fine with 128MB RAM, but just don't expect to enable much more services without a performance hit...
|
|
|
Post by stevenh on May 29, 2007 19:25:49 GMT 7
|
|
|
Post by getmythe on May 29, 2007 23:33:30 GMT 7
The strange bug I mention in module.rc is triggered when starting from the GUI.
Starting via command line using 'module.rc start' works fine but when starting the module from the GUI chrootuid has a slight problem: mlnet ends up creating the directory .mldonkey within /raid/mldonkey instead of /raid/mldonkey/root. To compensate I create a symlink.
getmythe
PS: why not create two versions. one called DONKEY the other called MLDONKEY? The first one would be targeted for torrent only and the 2nd to offer the full feature set of mldonkey targeted for devices with 256Mbyte RAM minimum.
|
|
|
Post by stevenh on May 30, 2007 4:24:23 GMT 7
Yeh i saw the issue with it creating the directory as well... I guess both types can be supported by the same module as I can provide both binaries, and the user can select between the two by creating a symbolic link to the right one... Ideally would be if that can be selected from the GUI when enabling the module or something... though I have no idea how to do that...
|
|
|
Post by getmythe on May 30, 2007 4:48:13 GMT 7
sounds like a plan! not to difficult to do, I can take care of that later. Just tell me where/when I can download the appropriate binary. Right now I have a version 1.0.00 release candidate for you to try out. I did some house keeping plus added one important feature: access to the data directory via Samba or Apple Network. You just need to create a shared folder with name donkey (case does not matter, just needs donkey as part of the share name). After the next reboot the share will automagically point to to .mldonkey . As soon as the module is disabled the share points back to it's original location (nothing will be lost). www.freeside.ch/thecus/betacode/DONKEY-1.0.00.mod.zipgetmythe PS: Since I've been messing with the module I may as well host it in the future
|
|
|
Post by stevenh on May 30, 2007 21:17:51 GMT 7
Hi getmythe, did you download the file from my server last night? 84.9.236.246/cgi-bin/download.cgi?Public%2FDONKEY.modThat was your module wrapper with some mods and using the bittorrent/http/ftp only build with the fixed downloads.ini as some people had problems with the allowed ips... I will try out your version probably tomorrow night when i have a bit more time.. Thanks Steven
|
|
|
Post by getmythe on May 30, 2007 23:47:57 GMT 7
Yes, I was using the torrent only build
|
|
|
Post by getmythe on Jun 4, 2007 16:17:35 GMT 7
|
|
|
Post by toliman on Jun 5, 2007 23:27:22 GMT 7
just found this after wondering if the n5200 mldonkey version was compatible and/or at least v2.8.7, and ended up here. so, thanks for this mod, i'll try it out later this week.
i was actually looking at the DC++ plugin for MLdonkey, which says requires bzip2 , i guess the rest is in the ML code. is bzip2 added to the plus version ?
|
|
|
Post by stevenh on Jun 6, 2007 0:27:19 GMT 7
Don't think I installed that package and I didn't explicitly enable the feature during configuration... Is it a required feature?
|
|
|
Post by getmythe on Jun 9, 2007 21:54:25 GMT 7
I removed the two modules from the betacode directory. There will be properly packaged modules available soon including some documentation. First the torrent only module will be released, later the full feature module will follow. This procedure is just a precaution to avoid overloads of my trusty little webserver and my broadband pipe. www.freeside.ch/thecus/N2100-DONKEYtorr-1.0.00.tgzgetmythe
|
|
|
Post by stevenh on Jun 10, 2007 8:51:07 GMT 7
Hi getmythe, can you double check the ip address bit for the info page when trying to click to get to the donkey web page? It keeps coming up on mine as 192.168.1.100:4080 where it should actually be 105...
|
|