Tutorial Aria2 - WebUI on AsusWRT-Merlin

  • ATTENTION! You'll notice a Prefix dropdown when you create a thread. If your post applies to one of the topics listed, please use that Prefix for your post. When browsing the thread list you can use the Prefix to filter the view.

Sidiclei

New Around Here
I am aware of entware packages, they are installed, functional by the AriaNG extension, I just can't access the webUI in the browser!
I need knowledge of entware packages. The entware repository needs to be installed. Following the steps of the first post, there is no error.
 

rgnldo

Very Senior Member
It is necessary to check if the lighttpd server is active and the aria2-webui zip file has been unzipped in the public web folder, as instructed in the first post.
 

Sidiclei

New Around Here
It is necessary to check if the lighttpd server is active and the aria2-webui zip file has been unzipped in the public web folder, as instructed in the first post.
webui-aria2 > WebUI does not work
wget -c -O /opt/tmp/webui- aria2.zip https://github.com/ziahamza/webuiaria2/archive/master.zip --no-check-certificate
unzip /opt/tmp/webui-aria2.zip -d /opt/tmp/
rm /opt/tmp/webui-aria2.zip
mv /opt/tmp/webui-aria2-master /opt/share/www/aria2

AriaNg 6 > Normal functioning by the browser extension
wget -c -O /opt/tmp/ariang.zip https://github.com/mayswind/AriaNg/archive/master.zip --no-check-certificate
unzip /opt/tmp/ariang.zip -d /opt/tmp/
rm /opt/tmp/ariang.zip
mv /opt/tmp/AriaNg-master /opt/share/www/ariang
 

rgnldo

Very Senior Member
;);)
webui-aria2 > WebUI does not work
Remove
Code:
rm -R /opt/share/www/aria2
Insert direct download
Code:
curl -SL https://github.com/rgnldo/knot-resolver-suricata/raw/master/aria2_ui.tar.gz | tar -zxC /opt/share/www
restarting aria2 and lighttpd

Strange, your web server. With the interruption it remains active.

Configuring the sertanejo music style. :)

I liked ariaNG too. The important thing is that aria2 works.
 
Last edited:

immi803

Regular Contributor
@rgnldo
I suspect torrent downloading in aria2 is affected by number of pieces, can we amend this value? And any light on this piece concept, i normally see 8 to 16 pieces but here in aria2 , it's showing a value in thousands, like 4445 pieces etc, is it normal and what's the implication??
 

rgnldo

Very Senior Member
Yes, it is possible. You should stop Aria2, edit and start Aria2 again. Pieces help with speed. Torrents rely on seeds for speed. Do the values test and let us know.

@Sidiclei and others, let them know if they have resolved it as soon as they use help posts.
 

immi803

Regular Contributor
Yes, it is possible. You should stop Aria2, edit and start Aria2 again. Pieces help with speed. Torrents rely on seeds for speed. Do the values test and let us know.

@Sidiclei and others, let them know if they have resolved it as soon as they use help posts.
Where to change this value? Aria2.conf doesn't seem to have this value or I've overlooked it??? :rolleyes:
 

immi803

Regular Contributor
@rgnldo
My findings for slow torrent downloading can be any of following reasons
1. Dht.dat path in aria2.conf is not suitable for all, default is /opt/var/aria2/dht.dat whereas in my case its /tmp/mnt/HDD/entware/var/aria2/dht.dat

2. Itself dht doesn't feel optimized, maybe my theory is wrong

3. Aria2 makes alot of pieces

4. Does we need certain port forwardings in firewall-start?? If any please specify , so proper announce is possible

I think we need well optimized aria2.conf file overall and proper port openings to get good results

I've seen your other projects and i believe you can optimized this project pretty easily and mark it as best singlessingle for torrents+ftp+http/https downloads etc

Thanks & best of luck
 

rgnldo

Very Senior Member
default is /opt/var/aria2/dht.dat whereas in my case its /tmp/mnt/HDD/entware/var/aria2/dht.dat
Standard file is:
Code:
dht-file-path=/opt/var/aria2/dht.dat
2. Itself dht doesn't feel optimized, maybe my theory is wrong

3. Aria2 makes alot of pieces
Code:
max-concurrent-downloads=2
max-connection-per-server=10
min-split-size=50M
split=8
Do it at your own risk. Memory and processing will increase.
 

Salles

Regular Contributor
Always happy and appreciative of your knowledge and contributions @rgnldo. Even though many of us always try to tweak our routers just a bit more, I might just wait this one out for the moment.
My router and aria2 is working just fine at the moment with great speeds.
 

Sidiclei

New Around Here
Yes, it is possible. You should stop Aria2, edit and start Aria2 again. Pieces help with speed. Torrents rely on seeds for speed. Do the values test and let us know.

@Sidiclei and others, let them know if they have resolved it as soon as they use help posts.
@rgnldo
I managed to make it work, both through webui-aria2 as well as through Aria2App!
How can I do for port forwarding, with the intention of remote access? firewall? open pots? ddns?
 

Salles

Regular Contributor
@rgnldo
I managed to make it work, both through webui-aria2 as well as through Aria2App!
How can I do for port forwarding, with the intention of remote access? firewall? open pots? ddns?
I would advice against port forwarding in order to create remote access. Create a VPN server for more security. It will give you secure access to your home network.
Use yorgis guide to do so: https://www.snbforums.com/threads/h...with-asus-routers-380-68-updated-08-24.33638/
After you have set it up, Export OpenVPN configuration file and import it to your OpenVPN application in your phone or computer in order to VPN into your local network and/or route your internet traffic through your home router from remote.

You can setup DDNS under WAN/DDNS in the WebUI. There are many options. I use NO-IP since it is free, however needs to be updated every 30 days.
You create the host name at their website and can afterwards use the login credentials from NO-IP in the router WEB-UI.
If you have a dynamic IP-adress (which might change frequently), I would set WAN IP and hostname verification to Yes. The router will then regularly check that the hostname matches the current IP, and if not it will update it.
Once your DDNS is working correctly, you will see if on the main page of the router WebUI.
 

Latest threads

Sign Up For SNBForums Daily Digest

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