What's new

Tutorial Aria2 - WebUI on AsusWRT-Merlin

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Thanks for the info.

That may not be useful for me in my setup.

I use a Hi Media A5 Andriod Box which runs Kodi (need to double check which version its 18.*)

Media is stored on a HTPC(silverstone LC20M) with about 8TB's of storage space I use to do playback from this box, but now all playback is done from the Hi Media box.

There is no need to free up resources on the Android box as that is all it does is playback media does nothing else plus it has 8 cores itself.

The HTPC is a full blown PC that really just serves the data at the moment.


a RasPi 4 with 4GB RAM should be plenty for kodi once it can use all of the processing...and for quite a long time with this kind of setup, if you're disinclined to use a "smart tv" like me.
my 1080 plasma is going strong and will for quite some time yet...so an HTPC with optimised downloads and streaming make it a perfect match.

@rgnldo I'm going to dig in and learn what I need to so I can use this. Obrigado.
hopefully nobody DMs me for a tutorial, because it will likely take quite a while for the various pennies to drop for me.
 
a RasPi 4 with 4GB RAM should be plenty for kodi once it can use all of the processing...and for quite a long time with this kind of setup, if you're disinclined to use a "smart tv" like me.
my 1080 plasma is going strong and will for quite some time yet...so an HTPC with optimised downloads and streaming make it a perfect match.

@rgnldo I'm going to dig in and learn what I need to so I can use this. Obrigado.
hopefully nobody DMs me for a tutorial, because it will likely take quite a while for the various pennies to drop for me.
Kody has ways to add fonts. Kody supports SAMBA client. Just add the path to your router. Simple.
 
Kody has ways to add fonts. Kody supports SAMBA client. Just add the path to your router. Simple.

Maybe for somebody who has done it before, but I need to learn these things and think about (understand) how to apply them.
Just like someone thanked you for making them learn tar, I’m thanking you for making me learn everything here. This stuff is fun once you have a handle on it.


Sent from my iPhone using Tapatalk
 
Last edited:
a RasPi 4 with 4GB RAM should be plenty for kodi once it can use all of the processing...and for quite a long time with this kind of setup, if you're disinclined to use a "smart tv" like me.
my 1080 plasma is going strong and will for quite some time yet...so an HTPC with optimised downloads and streaming make it a perfect match.

@rgnldo I'm going to dig in and learn what I need to so I can use this. Obrigado.
hopefully nobody DMs me for a tutorial, because it will likely take quite a while for the various pennies to drop for me.

I do have a 64' Samsung 1080p Plasma but the smart side of it I don't ever use anymore. The other devices in my network are much faster at providing the "Smart"
 
a RasPi 4 with 4GB RAM should be plenty for kodi once it can use all of the processing...and for quite a long time with this kind of setup, if you're disinclined to use a "smart tv" like me.
my 1080 plasma is going strong and will for quite some time yet...so an HTPC with optimised downloads and streaming make it a perfect match.

@rgnldo I'm going to dig in and learn what I need to so I can use this. Obrigado.
hopefully nobody DMs me for a tutorial, because it will likely take quite a while for the various pennies to drop for me.
Check out OSMC
 
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
  • 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
iu



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
edit on:
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:
wget -c https://github.com/rgnldo/knot-resolver-suricata/raw/master/aria2_ui.tar.gz
unpack for ~path/entware/share/www

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!
So I am not downing the concept of using aria, I just want to know if there are any advantages of using this over Transmission as I have transmission setup.
upload_2020-4-14_20-43-51.png
 
@rgnldo can you tell me how i do this for future ref please?

unpack for ~path/entware/share/www


tar xvzf aria2_ui.tar.gz making sure that the file to be unpacked is in /entware /share/www
 
Last edited:
Transmission-BT exclusive for bittorrent. Aria2 http, bitorrent. Much faster downloads. For a long time I used Transmission-BT.

The aria2.conf configuration file is much more customizable. It is the result of much research and testing that I did.
is it remotely accessible over https without too much additional configuration?
 
yea I chose nginx since most of my configurations are already stacked with it, I see no reason for the extra lighttpd work. I can understand why you chose lighttpd tho.
I understand you. That's right.
 
I updated the aria2.conf file in the repository. Better performance and memory savings.
Don't forget to set the download path
Divirtam-se.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top