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!

OTher error to reinstall:
wget: can't open '/opt/etc/transmission-daemon/settings.json': Input/output error
 
Post here the "mount" result

Sent from my HTC One S using Tapatalk 2

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)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /tmp/mnt/router type ext2 (rw,nodev,noatime)
 
12:47:14 transmission-daemon: Starting transmission-daemon...
12:47:14 syslog: transmission-daemon Error loading config file -- exiting. (daemon.c:491)
 
this could be the error?

XT2-fs error (device sdb1): ext2_valid_block_bitmap: Invalid block bitmap - block_group = 1454, block = 23822336
 
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)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sdb1 on /tmp/mnt/router type ext2 (rw,nodev,noatime)

Disk is mounted as sdb1, reboot router and should mount as sda1

Sent from my HTC One S using Tapatalk 2
 
New update

Version 2.77 available, run in terminal:
Code:
/opt/etc/init.d/S95transmission stop 
ipkg upgrade 
app_set_enabled.sh transmission yes
Changelog:
Transmission 2.77 (2013/02/18)

All Platforms
Fix 2.75 regression that broke JSON parsing of real numbers in locales that don't use '.' as a decimal separator
Don't invalidate the OS's file cache when closing files
Fix overflow error when setting speed limits above ~8589 kB/s
Generated magnet links didn't include webseeds
Fix minor memory leaks when using webseeds

GTK+ Client
Minor pluralization fixes in the UI
Fix folder mis-selection issue in the Preferences dialog
Fix GTK+ console warnings on shutdown

Qt Client
Fix non Latin-1 symbol issue when showing file transfer speeds
Fix issue when creating new torrents with multiple trackers
Fix lost text selection in the properties dialog's 'comment' field

Daemon
Fix documentation errors in the spec and manpages

Web Client
Fix minor DOM leak

CLI
Fix transmission-cli failure when the download directory doesn't exist
 
Version 2.77 available, run in terminal:
Code:
/opt/etc/init.d/S95transmission stop 
ipkg upgrade 
app_set_enabled.sh transmission yes
Changelog:

Funny. I've just switched to entware and it still has 2.76.1 :p so much for updated list! By the way your configuration still works!
 
Hey guys,

I installed latest version of Transmission yesterday using Optware to my RT-N66U router with Merlin build 3.0.0.4.270.26 and it runs okay for a while. After some time though (when I have active torrents), the web ui ends up with 404 - Not Found. I read somewhere than this can be an issue with too many open files but it doesn't say that in the page.

Any ideas?
 
My Transmission Web UI dies. When I had no torrents running, it was fine. With torrents, after a couple of minutes or hours, the Transmission web UI would die.
 
I suggest you to try entware version because some file on optware are obsolete.

Sent from my HTC One S using Tapatalk 2
 
Another alternative could be a schedule transmission restart with init-start script

Code:
 #!/bin/sh
cru a ScheduledRestartTransmission "0 * * * * /opt/etc/init.d/S95transmission restart"
This script will restart transmission every hour, if you want to change frequency use this generator http://www.openjs.com/scripts/jslibrary/demos/crontab.php

Sent from my HTC One S using Tapatalk 2
 
Any ideas?
As long as torrent client is very resources hungry application, we must reduce its appetite:) Please, stop transmission and edit config file. In Entware I've included fixed settings.json. Here is explanation for all config strings:
  • "download-queue-enabled": true, and "download-queue-size": 5, — download five or less torrents simultaneously,
  • "encryption": 0, — prefer unencrypted connection to reduce CPU load,
  • "max-peers-global": 80, (or legacy "peer-limit-global": 80, option) — if I remember right, every peer "consumes" ~2MB RAM.
  • "utp-enabled": false — because uTP is too heavy for embedded devices.

With this settings transmission will be stable as a rock.

Just one thing left to explain. A new transmission chose number of open files automatically, legacy "open-file-limit": 32, option is out of business. In some rare cases transmission may download content faster then it can be saved to USB drive, for example, when a local peer with 100mbps seeding speed has been found. What will happen? As long as transmission uses memory mapping feature transmission relies on Linux VM which can't handle this situation with too small (by default, 2MB) room to play.

I'm strongly recommend to increase "untouchable memory reserve" from default 2MB to 8MB if you are using torrents by:
Code:
echo 8192 > /proc/sys/vm/min_free_kbytes
Just put those string to init script as I do.
 
Last edited:

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