Deluge Download Manager through Optware-NG

Deluge is a file sharing program.

When you run a torrent, its data will be made available to others by means of upload.

Any content you share is your sole responsibility.


1 - Install New Generation Optware from here
2a - Install Deluge

ipkg install deluge

2b - Or, if you want a more recent version but not necessary stable and bugs free, install Deluge Develop

ipkg install deluge-develop

3 - Start Deluge

/opt/etc/init.d/S80deluged start
/opt/etc/init.d/S80deluge-web start

4 - Open Deluge webpage by accessing default router ip address and port 888, ex. www.asusrouter.com:888 (default password: deluge), press Login

deluge-pass

5 - You are asked to change default password, press yes

deluge-pass-yes

6 - Click on Host "Online    127.0.0.1:58846..." and Connect

deluge-connect

7 - Input desired password, press "Change" and "Apply"

deluge-pass-change

8 - Under Categories tab click on Downloads, input path where to save files, in this case is /mnt/sda1/deluge and press "Ok"

deluge-menu-downloads

9 - Now press on the "+ Add" sign on the upper left corner and add you desired .torrent files or magnet links (PLEASE DON'T DOWNLOAD ILLEGAL CONTENT)

10 - Create init-start script for some memory tweaks as suggested by ryzhov_al

ipkg install nano
nano /jffs/scripts/init-start

Copy - paste in terminal

#!/bin/sh
echo 524288 > /proc/sys/net/core/rmem_max
echo 524288 > /proc/sys/net/core/wmem_max
echo 8192 > /proc/sys/vm/min_free_kbytes

Save with CTRL-O, press ENTER and exit nano with CTRL-X

Make scripts executable

chmod a+rx /jffs/scripts/*


ACCESS FROM WAN
• If you want to access deluge from WAN like work, school, smartphone, tablet or some other device we need to open the port 888 but the firmware doesn't allow port forwarding to the router himself, for that we will use the scripts on /jffs partition:

Create firewall rules

nano /jffs/scripts/firewall-start

Paste this lines in terminal

#!/bin/sh

iptables -I INPUT -p tcp --destination-port 888 -j ACCEPT

 Save with CTRL-O / Enter / and exit with CTRL-X

Make scripts executable and apply rules

chmod a+rx /jffs/scripts/*
sh /jffs/scripts/firewall-start

Go to YourWanIp:888 on preferred internet browser and download desired torrents


 

Here are screenshots of configurable options:

Network

deluge-menu-network

Encryption

deluge-menu-encryption

Bandwidth

deluge-menu-bandwidth

Interface

deluge-menu-interface

Other

deluge-menu-other

Daemon

deluge-menu-daemon

Queue

deluge-menu-queue

Proxy

deluge-menu-proxy1

Proxy2

deluge-menu-proxy2

Cache

deluge-menu-cache

Plugins

deluge-menu-plugins

 


 

TROUBLESHOOTING

If you have difficulties with installation process or deluge usage, copy paste from terminal the next commands and post here followed by issue details:

uname -a
mount
df
free

 

Thanks @alllexx for this modern Optware port

SUBSCRIBE

To be notified by email when a new tutorial is posted :)

Thanks for Subscribing! I'll keeping you up-to-date with latest tutorials!

Something went wrong, try again...