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!

I'm having trouble configuring and accessing webui-aria2
I followed these steps
I need knowledge of entware packages. The entware repository needs to be installed. Following the steps of the first post, there is no error.
 
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.
 
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.
 
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
 
;);)
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:
@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??
 
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.
 
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:
 
@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
 
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.
 
Does we need certain port forwardings in 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
 
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.
 
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?
 
@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

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