Results 1 to 15 of 84

Thread: HOWTO: MLDonkey as Download Manager for WL-700g [draft v.0.1]

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    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:
    1. kfurge custom firmware must be installed on your WL-700g box (with rc.local file uploaded and optware packages installed).
    2. 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).
    3. bzip2 package must be installed on your WL-700 box (/opt/bin/ipkg install bzip2).


    Installation (based on russian thread):
    1. 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".
    2. 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
    3. 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>)
    4. 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.
    5. Add run-string of MLDonkey to your rc.local file (via "vi" editor like step 3):
      Code:
      /opt/etc/init.d/mlnet
    6. 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
    1. We will use the sancho to control MLDonkey. Download it and install.
    2. 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.
    3. 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.
    4. 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?
    Last edited by mawr; 19-07-2007 at 12:55.

Similar Threads

  1. Photo Album & Download Manager
    By antoschka in forum WL-700g Firmware Discussion
    Replies: 2
    Last Post: 18-06-2007, 21:52
  2. HowTo install a lightweight blog server
    By Tamadite in forum WL-500g/WL-500gx Tutorials
    Replies: 0
    Last Post: 03-12-2006, 01:46
  3. Download Manager
    By Erwin in forum Dutch Discussion - Nederlands
    Replies: 1
    Last Post: 18-10-2006, 19:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •