AriaNG web frontend for aria2 on GL-MT300N v2

Anyone running AriaNG package on their GL-MT300N v2?

Interested to know what startup settings you might be using?

Here is my setting:
Install ariang

opkg update
opkg install ariang

example config:

mkdir /tmp/aria2_download
uci set aria2.main.enabled='1'
uci set aria2.main.dir='/tmp/aria2_download'
uci commit aria2
/etc/init.d/aria2 start

Make default lighttpd have ariang pages:
add this part to /etc/lighttpd/lighttpd.conf

$HTTP["url"] =~ "^/ariang/" {
    cgi.assign = ( "" => "" )
}

Then go to web
http://192.168.8.1/ariang/index.html#!/downloading
Then start to download, like:

Reference: https://aria2.github.io/

Do you have any commands like this:

aria2c --enable-rpc --rpc-listen-all --allow-overwrite=true --auto-file-renaming=false --continue=true --dir=/mnt/exFAT128GB/Downloads --max-connection-per-server=4 --max-concurrent-downloads=2 --max-resume-failure-tries=10 --daemon

in your /etc/rc.local. ?

This is what I was using to for Aria2 Web-Ui

Not in /etc/rc.local
“/etc/init.d/aria2 start” will load a “aria2c” process.

Thanks, what’s the purpose of this part?:

Make default lighttpd have ariang pages:
add this part to /etc/lighttpd/lighttpd.conf

$HTTP["url"] =~ "^/ariang/" {
    cgi.assign = ( "" => "" )
}

If it’s not there, http://192.168.8.1/ariang/ will not be accessible for lighttpd server with web3.0 UI. Config may differ according to http server.

Thanks for your help, but I found another way to get it all working without need to SSH into the console.

All you need is luci-app-aria2 plugin installed (and ariaNG plugin)

Then go back into the router config, going to More Settings > Advanced > then log in.

You’ll see a new tab called services in the luci web gui, with Aria2 Settings in the dropdown.

All you need to do is select the enable checkbox and set a download directory. Then use webui-aria2 or ariaNG to access the web gui of aria.

http://192.168.8.1/ariang/index.html#!/downloading

1 Like