What's new

Tutorial Installing Rtorrent on AsusWrt Merlin routers through Entware

  • 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!

It would be great if AUTO-DL IRSSI works.
Than this will become perfect torrent client, and seedbox at home.


Sent from my iPhone using Tapatalk
 
I'm on an RT-N16 with firmware 376.47 and have installed Entware and Rutorrent via your guide using all default settings: https://www.asuswrt.eu/rutorrent-on-asuswrt-router-through-entware/

Rutorrent and lighttpd are both said to be running when checking through ssh commands, but I cannot access the Rutorrent web gui. Any ideas?

FYI I have installed to an attached USB hdd.

EDIT: Fixed. I had managed to jack up lighttpd. I went through the lighttpd thread to get it working again.
 
Last edited:
I'm on an RT-N16 with firmware 376.47 and have installed Entware and Rutorrent via your guide using all default settings: https://www.asuswrt.eu/rutorrent-on-asuswrt-router-through-entware/

Rutorrent and lighttpd are both said to be running when checking through ssh commands, but I cannot access the Rutorrent web gui. Any ideas?

FYI I have installed to an attached USB hdd.

EDIT: Fixed. I had managed to jack up lighttpd. I went through the lighttpd thread to get it working again.
You can leave a feedback on that post.
 
I know this is an old post and its actually helpful. Unfortunately I am having few problems before and after installing the torrent.
1) Torrent webui wasn't loading at all. 2) S80lighttpd wouldn't stop running after giving the command to stop/restart. 3) Finally got it working, completed installation even doe the webui was down and lighttpd wasn't stopping/running. I have it working! BUT lighttpd.conf still giving me errors when or IF I run the command.

I am running RT-N66U Merlin 3.0.0.4.376.49_2
Linux RT-NeXuS 2.6.22.19 #1 Tue Dec 23 00:30:59 EST 2014 mips GNU/Linux
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
tmpfs on /tmp type tmpfs (rw)
devfs on /dev type tmpfs (rw,noatime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
/dev/mtdblock4 on /jffs type jffs2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb2 on /tmp/mnt/FD4GB type ext3 (rw,nodev,noatime,data=ordered)
/dev/sda2 on /tmp/mnt/WD3TB type ext3 (rw,nodev,noatime,data=ordered)
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 27712 27712 0 100% /
tmpfs 119836 4280 115556 4% /tmp
devfs 119836 0 119836 0% /dev
/dev/mtdblock4 3072 388 2684 13% /jffs
/dev/sdb2 3337160 445932 2721708 14% /tmp/mnt/FD4GB
/dev/sda2 2883218720 279622940 2457136696 10% /tmp/mnt/WD3TB
total used free shared buffers
Mem: 239672 179008 60664 0 1344
-/+ buffers: 177664 62008
Swap: 1049592 17112 1032480

Okay with that out of the way, here is lighttpd.conf
nexus@RT-NeXuS:/tmp/home/root# lighttpd -f /opt/etc/lighttpd/lighttpd.conf
2014-12-26 06:17:53: (plugin.c.131) Cannot load plugin mod_scgi more than once, please fix your config (we may not accept such configs in future releases
2014-12-26 06:17:53: (plugin.c.131) Cannot load plugin mod_fastcgi more than once, please fix your config (we may not accept such configs in future releases
2014-12-26 06:17:53: (network.c.409) can't bind to port: 81 Address already in use

I know is running and all the plugins are install but maybe you guys know how to fix those errors. Thank you
 
Just did a new flash of RT-N16_3.0.0.4_376.49_5.

Formatted /jffs at next reboot and reformatted my /Optware partition to Ext2 like it says in the guides. Clean install of Entware & rtorrent-easy-install. Setup swap as suggested in rtorrent guide.


Issue: When rtorrent writing to an attatched USB thumbdrive my max d/l rate is ~250KB/s and my cpu memory usage are totally maxed and even ssh slows down.

When writing to network share the router doesn't seem to be working itself to death but CPU & Memory is still around 100% but router is still usable. It doesn't seem to able to download faster than 1.2MB/s.

I see people saying this is a very lightweight client. Is this due to me testing with thumbdrive instead of External HDD, even just for swap?
 
Write speed of thumbdrives, especially old USB 2.0 ones, is often quite bad. Plus, the RT-N16 only has 128 MB of RAM, which leaves very little RAM for buffering.
 
Write speed of thumbdrives, especially old USB 2.0 ones, is often quite bad. Plus, the RT-N16 only has 128 MB of RAM, which leaves very little RAM for buffering.

So even if I were to install a new external hard drive to my RT-N16 I'm still going to have issues? I don't own an ext HDD to test with so I've been trying to get an idea of how well it'd work by using the thumb drive.
 
So even if I were to install a new external hard drive to my RT-N16 I'm still going to have issues? I don't own an ext HDD to test with so I've been trying to get an idea of how well it'd work by using the thumb drive.

You will have to try to find out. Personally, I think running a torrent client on any router is a bad idea - those devices simply aren't designed for that type of applications that can put a pretty high strain on the I/O subsystem (i.e. your USB port).
 
You will have to try to find out. Personally, I think running a torrent client on any router is a bad idea - those devices simply aren't designed for that type of applications that can put a pretty high strain on the I/O subsystem (i.e. your USB port).

Maybe a NAS enclosure that can run Entware?

Any suggestions welcome. I don't want to have to leave my PC on anymore to monitor RSS feeds and download torrents.
 
Try with swap partitation.


Sent from my iPhone using Tapatalk

I configured a swap FILE like it said to create in the guide. Would swap partition be better? Either will probably be slow on the thumbdrive though. Wish I had an externalHDD to test with.
 
The N16's CPU speed is slower than the N66's, so the 1.2 MB/s on network share seems to be fine. The slower download on flash drive is normal as the USB flash drives are slow. Using of USB HDD may improve the download. If you have no such drive you may try to change samba configuration of your network server where the network share besides. This may improve the download, try to google for samba performance settings or something like that. But in general I thing that 1.2 MB/s for N16 is fine.
 
The N16's CPU speed is slower than the N66's, so the 1.2 MB/s on network share seems to be fine. The slower download on flash drive is normal as the USB flash drives are slow. Using of USB HDD may improve the download. If you have no such drive you may try to change samba configuration of your network server where the network share besides. This may improve the download, try to google for samba performance settings or something like that. But in general I thing that 1.2 MB/s for N16 is fine.

Thanks. I have a USB HDD enclosure coming in next week. Whether it helps matters or not it should be handy to have around. Will let you folks know.
 
Hello

I have a Question i have installed rtorrent like this Guide https://www.asuswrt.eu/rutorrent-on-asuswrt-router-through-entware/ it looks very good @ ASUS RT-AC87U but i can`t find the File .rtorrent.rc can someone help me please to find the File i have install midnight commander to search for this but i dont can find it.

I must write this two Lines in it:

http_capath=/etc/ssl/certs
network.http.ssl_verify_peer.set=0



Thank You Lucky
 
Last edited:
Hello

I have a Question i have installed rtorrent like this Guide https://www.asuswrt.eu/rutorrent-on-asuswrt-router-through-entware/ it looks very good @ ASUS RT-AC87U but i can`t find the File .rtorrent.rc can someone help me please to find the File i have install midnight commander to search for this but i dont can find it.

I must write this two Lines in it:

http_capath=/etc/ssl/certs
network.http.ssl_verify_peer.set=0



Thank You Lucky
There is no such file in entware, add that lines to /opt/etc/rtorrent/rtorrent.conf
www.hqt.ro
 
Hello,

A few questions:

1) When I start rtorrent at the cli, I am getting a Could not read resource file: ~/.rtorrent.rc error. It doesn't seem to be finding the rtorrent.conf file.

2) Where are my settings in ruTorrent being stored? I checked the config.php file and that doesn't seem to be the place.

3) I am also getting a lot of Tracker errors (UDF type errors) in ruTorrent. I've followed all the instructions here including updating the firewall-start script:
iptables -I INPUT -p tcp --destination-port 52531 -j ACCEPT
iptables -I INPUT -p udp --destination-port 52531 -j ACCEPT
iptables -I INPUT -p tcp --destination-port 81 -j ACCEPT

Thank you
 
Last edited:
Hello. I tried the rtorrent-easy-install script on a RT-AC66u running merlin version 374.41. Everything seems to install fine. I accepted all the defaults except the torrent folder location. However, after starting rtorrent there does not appear to be a web gui available at http://<ipaddress of router>:<port>/rutorrent

I added the firewall rules to be sure, but it still isn't working.

Any ideas would be great. If not I can just keep using Transmission since that installed and worked right out of the box.

Is there a remote gui perhaps for rutorrent?

This was my problem too. I gave up and am just using the stock ASUS download master.
 
hi everyobody, could you please tell me the difference between this rurorrent installeed through entware and the asus download master integrated in the stock firmware? which one is better?
 

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