rgnldo
Very Senior Member
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.
Features
Instalation step:
Create Swap file
We will need the Entware-NG repository.
Download the necessary configuration files.
get aria2.conf
edit on:
set path folder download on your device.
get lighttpd.conf
Download pack Aria2 WebUI
Edit and setting firewall-start
run aria2 and lighttpd web server
Open url with Aria2 - WebUI
IP_ROUTER:81/aria2
Enjoy!
Features
- Multi-Connection Download. aria2 can download a file from multiple sources/protocols and tries to utilize your maximum download bandwidth. Really speeds up your download experience.
- Lightweight. aria2 doesn’t require much memory and CPU time. When disk cache is off, the physical memory usage is typically 4MiB (normal HTTP/FTP downloads) to 9MiB (BitTorrent downloads). CPU usage in BitTorrent with download speed of 2.8MiB/sec is around 6%.
- Fully Featured BitTorrent Client. All features you want in BitTorrent client are available: DHT, PEX, Encryption, Magnet URI, Web-Seeding, Selective Downloads, Local Peer Discovery and UDP tracker.
- Metalink Enabled. aria2 supports The Metalink Download Description Format (aka Metalink v4), Metalink version 3 and Metalink/HTTP. Metalink offers the file verification, HTTP/FTP/SFTP/BitTorrent integration and the various configurations for language, location, OS, etc.
- Remote Control. aria2 supports RPC interface to control the aria2 process. The supported interfaces are JSON-RPC (over HTTP and WebSocket) and XML-RPC. aria2.github.io
Instalation step:
Create Swap file
We will need the Entware-NG repository.
Code:
opkg update
opkg install aria2 lighttpd
Download the necessary configuration files.
get aria2.conf
Code:
curl -o /opt/etc/aria2.conf https://raw.githubusercontent.com/rgnldo/knot-resolver-suricata/master/aria2.conf
set path folder download on your device.
Code:
dir= path_for_downloads
get lighttpd.conf
Code:
curl -o /opt/etc/lighttpd/lighttpd.conf https://raw.githubusercontent.com/rgnldo/knot-resolver-suricata/master/lighttpd.conf
Download pack Aria2 WebUI
Code:
curl -SL https://github.com/rgnldo/knot-resolver-suricata/raw/master/aria2_ui.tar.gz | tar -zxC /opt/share/www
Edit and setting firewall-start
Code:
iptables -A INPUT -p tcp --destination-port 6881:6999 -j ACCEPT
iptables -A OUTPUT -p tcp --source-port 6881:6999 -j ACCEPT
run aria2 and lighttpd web server
Code:
/opt/etc/init.d/S81aria2 start
Code:
/opt/etc/init.d/S80lighttpd start
Open url with Aria2 - WebUI
IP_ROUTER:81/aria2
Enjoy!
Last edited: