What's new

[TUTORIAL] Native Transmission on asuswrt routers through optware

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

Try from scratch with entware version, just to test.

Thanks.
I did a fresh install of the latest firmware via recovery mode.
Then installed the entware version, things seem fine with a 1 mB/s upload/download limit by default. But if I select unlimited, my router crashes and restarts after a while.

I made a new swap file also, it still crashes and reboots. Well I think its rebooting anyway, because I lose wireless connection and when it returns, also lose internet connectivity for a while.

I went back to try tomato-shibby and it wasn't rebooting, but the router was choking up and transmission carried on running, but wasn't downloading and wasn't connectible via the remotegui.

All in all not a very good experience, regardless of the firmware for me. I wonder if it is worth trying dd-wrt. I think first I will try my flash drive instead.
 
Is there any reason when it crashes the router and it reboots I have to re-enter my internet connection settings each time? It seems to be losing its memory, but only the internet connection, not the wifi SSID and password.
 
Dunno what to say, maybe is a defective unit. We need feedback from other rt-n16 user.
Disable transmission, input internet settings, save and reboot. Now check again if are there.
Or maybe you have some lefties from tomato, factory settings again and don't forget to unplug the power cord before rebooting.
 
I input the settings, saved and rebooted and it saved the settings fine, connected to wan almost instantly.

I let transmission run again, router rebooted and the settings were forgotten once more.

So then I did a factory reset, I wasn't sure what you meant by :
don't forget to unplug the power cord before rebooting.
so after I reset to factory settings and lost the wireless signal, I unplugged the power for a couple of seconds and plugged it back in again.

I've had a couple of problems when inputting the settings, the gui seemed to crash when I entered my new SSID in the wizard and I had to refresh the page to start the wizard again.

Then for some reason it moved my mounted swap and ext3 partition to sdbx rather than sdax, so I rebooted again. This time the router crashed and I had to go and unplug and re-plug it in for it to boot.

What is the correct procedure to perform a factory reset? Using the admin option in the gui?

How would I completely clear nvram instead?

Also, is there a safe procedure to follow before flashing new firmware? I believe the correct way should be to erase nvram after an install, but I can't see that option in the GUI.

So where do I go from here? I ran transmission after the factory reset and for some reason my partitions have started the boot as sdax and now have changed during operation to sdbx, could this just be a problem with the drive?

It could be a defective unit, but since it downloads fine using downloadmaster and I have had up-times of 3 weeks before using custom firmware, is this likely?

Edit# I reset to factory setting by holding the wps button down whilst turning on, now transmission won't start at all. I enter /opt/etc/init.d/S95transmission start and it says it starts, but it doesn't. Its not listed in processes and when accessing the webui it can't connect.

Tried to update to the latest 3.0.0.4_374.41_beta1 release and the router does exactly the same thing when it crashes with transmission. Upload gets to 36% and then the router restarts and doesn't upgrade. I have to flash via recovery.

Edit2# When I disable jffs it installs ok.
 
Last edited:
I installed the latest beta firmware from merlin and haven't had any reboots so far, but I haven't been able to test extensively.

When I start to download torrents, for some reason my device umounts my HDD partitions from sda 1 and 2 too sdb 1 and 2. It results in transmission not being able to find the downloaded data until I reboot.
 
Thanks for your help guys, I suspected that the problem may have been the HDD as its very old, even my flash drive that I also tested I knew was old and I even repaired that once myself! Perhaps both are too old or perhaps the old HDD doesn't have enough cache.

I asked my brother and he kindly lent me his newer HDD.

Since using the newer hdd I haven't had a single reboot at high speed, the only problem I found once was transmission not auto starting when I manually rebooted for a separate purpose. It seems to work ok if I reboot now though.

The only other change I made was using separate partitions.

I setup a 128mb swap partition at the top of the hdd, followed by a 1gb for optware and the remaining for data.

I'll split my old HDD the same way to see if it makes any change but I doubt it.

Btw I tried installing libcurl-7.36 but it didn't work. Is that because it's only for arm processors like libconv from the op?

Code:
 henames@RT-N16:/tmp/home/root# opkg install http://goo.gl/pxIEos
Downloading http://goo.gl/pxIEos.
Installing libcurl (7.36.0-1) to root...
Collected errors:
 * opkg_install_pkg: Package libcurl md5sum mismatch. Either the opkg or the package index are corrupt. Try 'opkg update'.
 * opkg_install_cmd: Cannot install package libcurl.

I tried opkg update but it still errors.

This has taught me lots about using basic Linux functions so thanks a bunch :)

Edit# I forgot to mention this was using the new 374.41 beta firmware just released and I forgot even to activate swap yet!!

Edit# is it possible that transmission doesn't auto start if the router resets itself rather than a normal reboot? It just reset once, but I think it ran out of ram so I've activated the swap partition to check some more.
Sent from my Nexus 5 using Tapatalk
 
Last edited:
Do opkg update twice
Code:
opkg update
opkg upgrade
Code:
opkg update
opkg upgrade
Code:
opkg install http://goo.gl/pxIEos
If you still get error, modify /opt/etc/opkg.conf
from
src/gz openwrt http://entware.wl500g.info/binaries/entware
to
src/gz openwrt http://wl500g-repo.googlecode.com/svn/ipkg/openwrt
And run again
Code:
opkg update
opkg upgrade
Code:
opkg install http://goo.gl/pxIEos
On entware, transmission will start automatically with /opt/etc/init.d/S88transmission
 
You have to leave /opt/etc/opkg.conf as

because libcurl_7.36 is on entware repo now http://entware.wl500g.info/binaries/entware/
Code:
opkg update
opkg upgrade
opkg install libcurl

Thanks for the help.

Looks like I already have it:
Code:
thenames@RT-N16:/tmp/home/root# opkg install libcurl
Package libcurl (7.36.0-1) installed in root is up to date.

Problem now is transmission not auto starting sometimes. Not sure why it is because I have checked for /opt/etc/init.d/S88transmission and its there.
Code:
#!/bin/sh

ENABLED=yes
PROCS=transmission-daemon
ARGS="-g /opt/etc/transmission"
PREARGS=""
DESC=$PROCS
PATH=/opt/sbin:/opt/bin:/opt/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

. /opt/etc/init.d/rc.func

I also checked and
Code:
cd /opt
still points to
Code:
/sda2/entware

Is there an easy way to monitor connection loss to the router to indicate a reboot and a way to monitor the transmission process without having to constantly look at top?
 
What a shame, it just rebooted the router again.

Maybe I should give up and try tomato again.

Interesting it still reboots, but less with the new hard drive.

I enabled swap too.. :(

Edit# working fine apart from a few time outs via remote gui on latest tomato shibby. Uses much less ram too so don't need swap. Anyway thanks for your help:)

Sent from my Nexus 5 using Tapatalk
 
Last edited:
download-dir path?
/tmp/mnt/sda1/Torrent/Completed
I always get "transmission-daemon not running!"
I start the daemon, after a couple of seconds it stops.
My external HDD (a 60 GB SSD) is ext2 formatted.

EDIT:
a strange thing: I noticed that issue occurs if I try to download latest Ubuntu 14.04 x64 Desktop distribution. If I use the Transmission-Qt Windows client on my system, it downloads it flawlessly...!
I tried to download another file.
It was a magnet link of an episode from a recent, famous "pirated" TV serial (only to test an "unofficial" torrent with a lot of peers/seeds). The download started, and daemon didn't stopped...
I'm confused. Why that "legal" torrent doesn't work?
 
Last edited:
I'm planning to install Transmission on my router (Entware environment). Because of several reasons I don't want to use USB HDD. My router has a flash card inside where the Entware resides. Of course this flash card is not suitable for intensive I/O tasks related to torrents and has a limited volume.

So the question is: Is it possible to configure Transmission to use samba share on my home NAS?

P.S. What is better - Transmission or rtorrent? If I choose rtorrent the same question about using networked samba share apply.

****EDIT****

I have managed to install the rtorrent and configure it to use network share. The tutorial is in this thread

****EDIT****
 
Last edited:
As an update, my router isn't just rebooting during transmission. But also randomly. I have tomato firmware installed at the moment and have been disconnected once or twice from the AP. Why I don't know. But I suspect its to do with capping the upload speed.
 
Does anyone actually have an RT-N16 running multiple torrents? I am wondering if its even capable.
 
Connecting refused

Thanks for this tutorial. Super helpful.
I was able to complete all the steps, but at the end, Transmission doesn't fully load on http://192.168.1.1:9091/transmission/web/
When I inspect the page elements in console view, I see that the transmission elements aren't loading, with many red lines like the following:

Failed to load resource: net::ERR_CONNECTION_REFUSED http://192.168.1.1:9091/transmission/web/javascript/jquery/jquery.min.js
Failed to load resource: net::ERR_CONNECTION_REFUSED http://192.168.1.1:9091/transmission/web/javascript/jquery/jqueryui-1.8.16.min.js
Uncaught ReferenceError: jQuery is not defined jquery.transmenu.min.js:1


Under Administration > System, I have "Enable Web Access from WAN" set to yes.
Is there a setting I'm missing to allow the Transmission page access to the resources it requires?

Thanks in advance.
 
Last edited:
Thanks for this tutorial. Super helpful.
I was able to complete all the steps, but at the end, Transmission doesn't fully load on http://192.168.1.1:9091/transmission/web/
When I inspect the page elements in console view, I see that the transmission elements aren't loading, with many red lines like the following:

Failed to load resource: net::ERR_CONNECTION_REFUSED http://192.168.1.1:9091/transmission/web/javascript/jquery/jquery.min.js
Failed to load resource: net::ERR_CONNECTION_REFUSED http://192.168.1.1:9091/transmission/web/javascript/jquery/jqueryui-1.8.16.min.js
Uncaught ReferenceError: jQuery is not defined jquery.transmenu.min.js:1


Under Administration > System, I have "Enable Web Access from WAN" set to yes.
Is there a setting I'm missing to allow the Transmission page access to the resources it requires?

Thanks in advance.
have you disabled Asus download master?
reboot router and try with another internet browser
 

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