HOW TO INSTALL
ARIA2 and use it with a nice WEBUI interface:
aria2 is a
lightweight multi-protocol & multi-source command-line
download utility. It supports
HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink. aria2 can be manipulated via built-in
JSON-RPC and
XML-RPC interfaces.
Packages installation :
opkg install http://brcm63xx-tch.ddns.net/base/libstdcpp_4.8-linaro-1_brcm63xx-tch.ipk
opkg install http://brcm63xx-tch.ddns.net/packages/aria2_1.18.7-1_brcm63xx-tch.ipkRun this :
aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --daemon=trueNow on your PC, download
webui-aria2 from
https://github.com/ziahamza/webui-aria2 and extract all
in a folder on your PC.
in
configuration.js replace
localhost with your router ip (192.168.1.1)
Click the
index.html file, now it should connect to Aria2.
All you have to do now is to configure the download directory, point it to your usb key inserted in the modem:
/mnt/usb/USB-A1/ or
/mnt/usb/USB-A2/Now you can add a list of files to download during the night, and shut down your pc
To avoid rewriting your configuration each time, you can store it into a file:
create the file /root/.aria2/
aria2.confand insert this :
enable-rpc=true
rpc-allow-origin-all=true
rpc-listen-all=true
rpc-listen-port=6800
input-file=/root/.aria2/aria2.session
save-session=/root/.aria2/aria2.session
save-session-interval=300
dir=/mnt/usb/USB-A1
Create an empty file for the session : aria2.session, and put it here: /root/.aria2/aria2.session
To start aria2 each time you restart the modem, open
/etc/rc.local and add this :
aria2c --enable-rpc --rpc-listen-all=true --rpc-allow-origin-all --daemon=trueHow to uninstall:opkg remove aria2