HOWTO: MLDonkey as Download Manager for WL-700g
MLDonkey - Multi-platform, multi-protocol client. It's include support for FTP, HTTP, ed2k and BitTorrent protocols and it's a best replacement for standard ASUS Download Manager.
Foreplay:- kfurge custom firmware must be installed on your WL-700g box (with rc.local file uploaded and optware packages installed).
- The ksoftirqd CPU eating patch must be applied via rc.local (To ensure the patch is working try to execute /opt/bin/top at the WL-700 shell, "Load average" value have to be less then 1.00).
- bzip2 package must be installed on your WL-700 box (/opt/bin/ipkg install bzip2).
Installation (based on russian thread):- First of all, you have to disable standard ASUS Download Manager. Via "Web Manager" of your WL-700 box, go to Configuration -> Advanced Setting -> Applications and set "Enable Download Master?" and "Enable Download Daemon?" to "No".
- telnet (or putty) to your WL-700 box and do the next commands:
Code:
cd /opt/bin
wget http://oleg.wl500g.info/bin/mlnet.lite.gz
gunzip mlnet.lite.gz
chmod +x mlnet.lite
- Next, you have to make run-script for MLDonkey, let's name it /opt/etc/init.d/mlnet. (/opt/bin/vi /opt/etc/init.d/mlnet then press <I> and type next content):
Code:
#!/bin/sh
set backuphome=$HOME
set backuptmp=$TMPDIR
export HOME=/shares/MYVOLUME1/MYSHARE1/
export TMPDIR=/shares/MYVOLUME1/MYSHARE1/.mldonkey/temp
rm -f /shares/MYVOLUME1/MYSHARE1/.mldonkey/*.tmp
/opt/bin/mlnet.lite -allowed_ips '127.0.0.1/8 192.168.1.0/24' &
export HOME=$backuphome
export TMPDIR=$backuptmp
(to save file press <ESC> <CTRL>+<:> <X> <ENTER>) - Installation complete, now it's time to try run MLDonkey for the first time, type "/opt/etc/init.d/mlnet" in shell, you should see something like that:
Code:
# 2007/07/18 23:55:47 [cO] Starting MLDonkey 2.8.5 ...
2007/07/18 23:55:47 [cO] Language EN, locale ASCII, ulimit for open files 1024
2007/07/18 23:55:47 [cO] MLDonkey is working in /shares/MYVOLUME1/MYSHARE1/.mldonkey
2007/07/18 23:55:47 [cO] creating new MLDonkey base directory in /shares/MYVOLUME1/MYSHARE1/.mldonkey
2007/07/18 23:55:47 [cO] loaded language resource file
2007/07/18 23:55:47 [DNS] Resolving [(none)] ...
2007/07/18 23:55:47 [DNS] Resolving [www.mldonkey.org] ...
Setting option allowed_ips
2007/07/18 23:55:47 [cO] Logging in /shares/MYVOLUME1/MYSHARE1/.mldonkey/mlnet.log
2007/07/18 23:55:50 [dMain] Core started
It's OK, the "/.mldonkey" hidden directory was created successfully and we can move to the next step. - Add run-string of MLDonkey to your rc.local file (via "vi" editor like step 3):
Code:
/opt/etc/init.d/mlnet
- Now it's time to reboot your WL-700 box. If it's OK after rebooting, you'll get the
Code:
192.168.1.1 at 4000 port for telnet acess to your MLDonkey
192.168.1.1 at 4001 port for GUI control to your MLDonkey
192.168.1.1 at 4080 port for web access to your MLDonkey
So you can control your MLDonkey via web-interface http://192.168.1.1:4080/.
Setting up the MLDonkey GUI
- We will use the sancho to control MLDonkey. Download it and install.
- At the first run "Host setup manager wizard" will pop up. Click "Next" on "preference file" step. Leave blank "core spawned from" on "Core settings" step and move to next one. Specify your WL-700 IP (ex.: 192.168.1.1) on next step and click "Add as new entry", then select your entry (192.168.1.1:4001) and click "Make current selection the default". Select old default entry (127.0.0.1:4001) and delete it clicking "Delete entry". It's done, press "Connect" to connect to your WL-700 MLDonkey and run sancho main window.
- The next important step is to set your bandwidth settings correctly. Press right mouse button on sancho tray icon and go to menu "Bandwidth settings -> Bandwidth settings", the "Bandwidth" dialogue wil pop up. Set the values of your bandwidth (max_hard_download_rate and max_hard_upload_rate) for "High bandwidth" preset, about half of it for medium preset and about 1/3 of capacity for low preset. Now you can easy switch the bandwidth used by MLDonkey.
- Little more tricks: go to Tools -> Preferences -> sancho:Main and check options "On close: minimize to systray", "On minimize: minimize to systray" and "On start: minimize to systray". In "Sanch:Windows regestry" section of preferences window check "Register association" for ed2k:// protocol, scroll down this tab and click "Update Windows registry". On next tab "File Extensions" select "Register association" for bittorrent (.torrent) and click "Update Windows registry". On more thing your better to do is to move sancho shortcut from desktop to Start->Autorun.
Thats all, now you have fully-functional, stable, fast and multi-protocol download manager on you WL-700 box.
Any comments?
Limit upload speed of MlDonkey
After some struggling, I managed to get mldonkey working. Greet tutorial, thanks. Finally I will be able to download edonkey files, without leaving on my pc.
Does anyone know a way to limit the upload speed of Mldonkey without affecting the download speed? In Belgium, there are still no internet providers that give you an unlimited amount of data upload. Therefore, I have to limit this speed because if I consume to much they put me on small band (56k).
Any ideas are welcome.
Thanks,
Bart