Then to setup Aria2 Download manager, you can follow the procedure down here:
.1:Prepare you're USB drive with 2 partition, one for the data, and the other one for swapping (use GParted or something similar).
Then attach it to the modem/router and mount the data partition (if is the first one on the drive probably it will be marked as "sda1"), and configure properly the swap partition.
.2: prepare your data partition with the following folders/files sheme (this is the scheme that I use, so I will suggest you this; I think is quite clear and ordered, obviously if you don't like it you're free to use something else):
.2.1: create a folder marked "Aria2".
.2.2: enter into Aria2 folder, and create 3 new sub-folder labeled as "Bin", "Logs" and "Downloads".
.2.3: enter into "Conf" subfolder, and then create a file with name "Aria2" and extension ".conf"
.2.4: open the "Aria2.conf" file and enter the following text:
check-integrity=true
continue=true
daemon=true
disable-ipv6=true
disk-cache=16M
dir=/mnt/sda1/Aria2/Downloads/Done
dht-file-path=/mnt/sda1/Aria2/Bin/DHT.dat
log=/mnt/sda1/Aria2/Logs/Aria2.log
enable-dht6=false
enable-rpc=true
log-level=error
max-overall-upload-limit=100K
max-overall-download-limit=1M
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-listen-port=6800
rpc-user=********
rpc-passwd=********
rpc-secret=********
(note: repace the *** with what you prefer, "rpc-secret" must be in this form: $text$)
Every line correspond to an option, as I said u're free to change it according to your needs.
Just have a watch here Aria2 Online Manual to undetstand how it works.
.2.5: enter into "Downloads" folder, create 2 new sub-folders labeled as "Done" and "Session"
.2.7: enter into "Incomplete" sub-folder, and create a file (that must be clear) named "Aria2.sav"
(note: it will be better if u do all the passages into the point 2 via SSH or something similar (WinSCP for Win/Filezilla for Linux) to avoid ownership problem of every single file/folder).
.3: add Aria2 to the startup entry:
go to: system -> startup
then enter:
aria2c --conf-path=/mnt/sda1/Aria2/Bin/Aria2.conf --input-file=/mnt/sda1/Aria2/Downloads/Session/Aria2.sav --save-session=/mnt/sda1/Aria2/Downloads/Session/Aria2.sav --save-session-interval=180
.4: Reboot the modem/router
To access in an easy way to Aria2 I suggest you to use this WebUI.
In "configuration.js" change host with your router IP, uncomment the token, user id, and passwd and fill the space with what you previously set into Aria2.conf file
(Last edited by mirko_47 on 25 May 2015, 20:43)