Results 1 to 5 of 5

Thread: [HowTo] install pyLoad

Threaded View

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

    Post [HowTo] install pyLoad

    (the original HowTo was created by FastJack and is also available in German: http://wl500g.info/showthread.php?p=166837#post166837)
    but, since there is the ipk - its much easier..


    pyLoad is a free and open source downloader for 1-click-hosting sites like rapidshare.com or uploaded.to.
    Link-Crypt services like lix.in as well as the Link-Container Files RSDF, CCF and DLC are also supported.

    This HowTo will show, how to install and configure pyLoad an your Asus router.

    1. requirements
    You will need a wengi-like configured oleg firmware or later (or any other system where you can install Python)
    and the packages below:
    Code:
    ipkg install ossp-js
    iokg install tesseract-ocr-lang-eng
    ipkg install tesseract-ocr
    ipkg install unrar
    ipkg install wget-ssl
    2. download pyload

    Code:
    wget http://get.pyload.org/static/pyload-v0.4.8-noarch.ipk
    3. install pyload

    Code:
    ipkg install pyload-v0.4.8-noarch.ipk
    Some packages will be installed too, python for example.

    4. configure pyload
    From now on you don't need to change any xml anymore, as pyLoad provides a nice assistant and the config tab on the WebIF.
    At first just run the pyLoadCore in setup-mode.
    Code:
    pyLoadCore -s
    Here you edit pyLoads config for your personal needs. (mostly self explaining)
    at least define IP and PORT of the Webinterface. The buildin WebIF has an issue, use the threaded.

    If you want to use the reconnect capability you need to create the reconnect-script, this can vary depending on your environment.
    In this example we're assuming the WL-500G is establishing the internet connection at itself.
    Create the reconnect.sh with the following content:
    reconnect.sh
    Code:
    #!/bin/sh
    killall -1 pppd >/dev/null 2>&1
    sleep 5s
    ping -c 1 www.heise.de >/dev/null 2>&1
    and make it executable:
    Code:
    chmod +x reconnect.sh
    Use the path to this file in settings/reconnect tab.

    5. Start-Stop Script
    Code:
    cd /opt/etc/init.d
    nano S90pyloadstart
    insert this:
    Code:
    #!/bin/sh
    
    prefix="/opt"
    PATH=${prefix}/bin:${prefix}/sbin:/sbin:/bin:/usr/sbin:/usr/bin
    
    start() {
            echo "starting pyLoad"
            pyLoadCore --daemon
            }
    
    stop() {
            echo "stopping pyLoad"
            pyLoadCore --status | xargs kill -9
            }
    status() {
            pyLoadCore --status
            }
    
    case "$1" in
            start)
                    start
                    ;;
            stop)
                    stop
                    ;;
            restart)
                    stop
                    sleep 4
                    start
                    ;;
            status) status
                    ;;
            *)
                    echo "Usage: $0 (start|stop|restart|status)"
                    exit 1
                    ;;
    esac
    
    exit 0
    make executable:
    Code:
    chmod +x /opt/etc/init.d/S90pyloadstart
    For further configurations such as download times etc. use the Webinterface on the address : port you've defined.

    If you'll get any errors use this thread or consult the pyload-devs on their site.

    Thats it
    Support the pyLoad guys and enjoy http://pyload.org/

    up2date

    gm
    Last edited by !gm; 22-11-2011 at 10:55. Reason: v0.4.8

Similar Threads

  1. Русские имена торрентов
    By Mirage-net in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 110
    Last Post: 18-06-2010, 14:16
  2. IPKG INSTALL ERRORS
    By Fullback in forum WL-700g Firmware Discussion
    Replies: 9
    Last Post: 13-07-2009, 18:49
  3. Replies: 2
    Last Post: 04-11-2008, 18:21
  4. install rTorrent
    By Peter81 in forum WL-700g Firmware Discussion
    Replies: 2
    Last Post: 21-06-2008, 15:45

Tags for this Thread

Posting Permissions

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