1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to Install-Setup Transmission on ASUS RT-N16

Discussion in 'Tomato Firmware' started by Lost_Animal, Jan 30, 2010.

  1. CHRONOMASTER

    CHRONOMASTER Addicted to LI Member

    If you have not done so already, open your ports for Transmission. I just recently noticed that my ports were closed and that was the reason why I have been getting really bad download speeds.

    Just add this to your firewall script and reboot (Admin > Scripts > Firewall).
    Port 25000 should be the default unless you changed it, I added UDP just in case.
    Code:
    iptables -I INPUT -p tcp --dport 25000 -j ACCEPT
    iptables -I INPUT -p udp --dport 25000 -j ACCEPT
    If your using windows I also recommend using transmission-remote-dotnet or another Add-on from HERE.
     
  2. Lost_Animal

    Lost_Animal Addicted to LI Member

    Ok i've just received my new ASUS RT-N16 as replacement..
    Now back to work...:biggrin:
    I've tested OLEGs firmware with optware script, and i can corfim that all working JUST fine....

    Even Twonky Media was ok...

    So its time to reverse those scripts on Tomato Firmware,,,,,

    Code:
    touch /usr/local/sbin/post-boot
    touch /usr/local/sbin/post-firewall 
    touch /usr/local/sbin/post-mount
    touch /usr/local/sbin/pre-mount
    touch /usr/local/sbin/pre-shutdown
    
    flashfs save && flashfs commit && flashfs enable && reboot
    As you see Oleg Firmware and ASUS is using other way of Post than tomato....
    Need to reverse those references on Tomato NVRAM Scripts like Firewall - init - shutdown - usbscripts etc.

    Lets hope that will end just fine...:biggrin:

    Here is the First Screen In action on Tomato.....

    [​IMG]

    Lost_Animal
     
  3. DarinA

    DarinA Addicted to LI Member

    Excellent, can't wait Lost_Animal, is there any chance you could add SABnzbd usenet client, I believe there is an Optware package already, SABnzbd has a great web interface like transmission does.

    Cheers
     
  4. Credo

    Credo Addicted to LI Member

    Lost_Animal
    Can help
    Answer me on teddy_bear on script OLEG firmware and adaptation under Tomato

    For small files like fstab, have "nvram setfile2nvram / etc / fstab", and the profiles and scripts can be folded in different places (such as same / jffs and / opt), and they load the gun.
    For example, the standard personal profile is always added to the contents of / jffs / etc / profile and / opt / etc / profile (it is easy to see, just glancing at the standard profile). Scripts for all Eventov can be set through the GUI, and additionally for Eventa everyone looked up and run the appropriate scripts in the directories:
    / jffs / etc / config
    / opt / etc / config
    / mmc / etc / config
    Relevant - means having extension named Eventa -. Fire (firewall),. Init,. Shut (shutdown),. Wanup,. Usbmount,. Usbumount,. Usbhotplug.

    it would be great if you download all that is downloaded from
    wget http://www.studionr.ru/wl500/ ...
    and run something like this

    wget ftp://192.168.1.1/opt/etc/install.sh

    so that the script was an independent
     
  5. Lost_Animal

    Lost_Animal Addicted to LI Member

    I have a backup of all scripts and any kind of app - proc needed on my PC hard disk to make all modidications needed.
    Now i must find some time to fix all those referenses inside the scripts to the correct paths and Nvram variables.

    I did a first test last night and download completed ok.
    Transmission run Smooth like SAMBA do also but must decide the final path and procedure to place all boot and shutdown scripts.

    I believe in a few days will be ready for FIRST publish... :biggrin:
     
  6. Credo

    Credo Addicted to LI Member

    if you can help or speed up the process of adaptation, I can put on the FTP
    copy files to the router with installation, OLEG firmware and installed scripts (programs)
     
  7. soldier

    soldier Addicted to LI Member

    Great news Lost Animal, cant wait to test it.
     
  8. latech

    latech Addicted to LI Member

    I need help

    Hi to all, i need help, i have a partition with ext2 linux, and another one with ntfs, i dont know how to install one good script for optware, sorry for my english iam from latin america, i want an good tutorial, i trying all script in this page end doesnt work, only transmission work so the problem is the torrent doesnt download to my hard drive, only download in the memory of my router, is confused...

    Please helpme, i apreciated for your help friends..

    Att

    latech:confused::confused::confused:
     
  9. latech

    latech Addicted to LI Member

    confused..

    Hi to all, i need help, i have a partition with ext2 linux, and another one with ntfs, i dont know how to install one good script for optware, sorry for my english iam from latin america, i want an good tutorial, i trying all script in this page end doesnt work, only transmission work so the problem is the torrent doesnt download to my hard drive, only download in the memory of my router, is confused...

    Please helpme, i apreciated for your help friends..

    Att

    latech:confused::confused::confused:
     
  10. soldier

    soldier Addicted to LI Member

    Hola latech

    No hay problema, puedes escribir también en español.
    What good scripts do you want to install? Give some examples.
    If Transmission works then you just have to set it up where the downloaded files should be stored. It can't download to the memory of your router. Just go through settings in Transmission and set the download directory.

    Un saludo
     
  11. latech

    latech Addicted to LI Member

    Gracias soldier, lo que yo necesito es un script que me instale de una sola vez el optware y todas las demas aplicaciones y que las pueda correr desde mi disco duro externo, como dije anteriormente a mi me trabaja el transmission solo que me baja los torrent a la memoria interna a pesar de que e montado el opt corriendolo desde el disco externo, es confuso ya que lost aniimal a puesto varios tutoriales pero hay pasos que se los a saltado habemos muchos que somos novatos y no sabemos algunos comandos linux, por ejemplo en el tutorial de lost animal no aparecer como montar el disco externo como opt, haber si se puede hacer algo gracias...
     
  12. Lost_Animal

    Lost_Animal Addicted to LI Member

    GREAT NEWS.....

    First Version of Tomato Optware Script is almost Ready for PUBLISH....:biggrin:


    • [*]SAMBA3 & SWAT
      Its working fine , but need some more tests to ensure not Conflict with Internal SAMBA... :wink:


    • TWONKY MEDIA
      Is Working Almost Perfect.... AT LAST.... :biggrin:



      [​IMG]
      [​IMG]


    • TRANSMISSION
      Full Operational .... :biggrin:



      [​IMG]


    • ImageView
      Just Perfect App and Full Operational....:biggrin:



      [​IMG]
      [​IMG]


    • PHPSqlCms
      Get Ready to Host Your WEB PAGE...:biggrin:



      [​IMG]

      [​IMG]


    • WEB rtorrent
      Is Working Fine Also but i Prefer Transmission... :biggrin:


    • Download Engine
      Helpfull App witch RUN Fine....:wink:



      [​IMG]


    • RRDTool
      Need Some Minor Fixes but Internal Bandwidth Meter of Tomato Is Far Better...



      [​IMG]


    • System Info
      Nice Info....:wink:



      [​IMG]


    • Web2ICQ v.1.0
      ICQ working Fine Also... :biggrin:



      [​IMG]


    • vnStat PHP frontend
      Needs to be Fixed In English... :biggrin:



      [​IMG]


    • Privoxy
      Working Fine...



      [​IMG]


    • NOD32update
      Working Fine Also....


    • Status RC
      Working OK but must Fix English Version...



      [​IMG]


    • Wimax3
      Needs Some MAJOR Scripts Correction....(future update)


    • Midnight Commander
      Works Just Perfect....

    To have all this project complete i had to MIX some DD-WRT Optware Scripts With OLEG Optware Scripts.

    Right now i need few more Code to Include to make it Full AutoInstall Without the Need of ANY Hand Write Script from you.

    I Believe in NEXT SUNDAY a FULL GUIDE and Script Will UPLOAD Here,

    So STAY Tunned.... :boxing::grin:

    Lost_Animal...
     
  13. peyton

    peyton LI Guru Member

    Impressive !
     
  14. Lost_Animal

    Lost_Animal Addicted to LI Member

    The First Release will be For USB Sticks ONLY because i right now i Dont Have Any USB HDD to test it.
    Making The Final NVRAM scripts and some More Tests before get ready to Upload.

    I will Include also at next Revision some More APPS is You Suggest some...:biggrin:

    BTW i am a Tottaly NOOB at LINUX so maybe later will someone here make the Script More Better than me.

    A Big THANKS to OLEG For Optware - TEDDY BEAR For Firmware - Valerakvb for This Nice Script....

    Lost_Animal.
     
  15. soldier

    soldier Addicted to LI Member

    Great Lost Animal. Thanks again for all your hard work. I will be glad to test it on HDD and report back.

    @latech
    No te preocupes. Lost Animal publicará en breve una nueva versión que funcione y vamos a probarlo. Si no puedes esperar yo te puede ayudar con la instalación básica de transmisión para hacer que funcione.
     
  16. 56kb

    56kb Addicted to LI Member

    Great works ! I will be glad to help testing on USB HD.
    Thank you
     
  17. latech

    latech Addicted to LI Member

    asi estoy viendo que esta poderoso ese script todo lo que hace espero pueda publicarlo pronto porque deberas si es justo todo lo que yo quiero hacer en el router ...
     
  18. 56kb

    56kb Addicted to LI Member

    @latech This is English language forum. Can you please use English, so other can understand.
     
  19. Credo

    Credo Addicted to LI Member

    Code:
    NVStat ok
    Needs to be Fixed In English... :biggrin:
    http://github.com/bjd/vnstat-php-frontend
    http://www.sqweek.com/sqweek/index.php?p=1

    Code:
    Status RC
    Working OK but must Fix English Version...
    /usr/tmp/mnt/disca_2/share/www/status/index.php

    Code:
    <body>
    	<div id="main">
    		<div id="obrazok">
    		</div>
    		<div id="nadpis">
    		<h1><center>Site Statistics</center>
                  <center>my router</center></h1>
    		</div>
    		<div id="mail">
    		<!-- HSDN Infobar Begin --><a href="http://www.hsdn.org/" target="_top"><img 
    src="http://static.hsdn.org/infobar/88x15.gif" width="88" height="15" style="border:0" alt="IP Router" /></a><!-- HSDN Infobar End -->
    		</div>
    		<div id="link">
    <a href="http://www.speedtest.net/index.php" target="_blank"><font color="red"><b>SPEED</b></font><font color="#ffffff"><b>TEST.NET</b></font></a>
    		</div>
    		<div id="lava_strana">
    			<ul>
    				<li>OS Version:</li>
    				<li>Time Online:</li>
    				<li>CPU Statistics:</li>
    			</ul>
    		</div>
    		<div id="prava_strana">
    			<ul>
    				<li><?php echo $os_name; ?></li>
    				<li><?php echo $uptime; ?></li>
    				<li><?php echo $load; ?> &nbsp;&nbsp;&nbsp; </li>
    			</ul>
    		</div>
    
    
    
    
    		<div id="medzera"></div>
    		<div id="graf">
    			<dl>
     
        		<dt>PRG</dt>
        			<dd>
            			<div style="width:<?php echo $hdd_prgp; ?>;"><strong>&nbsp;</strong></div>
        			</dd>
    
        		<dt>HDD</dt>
        			<dd>
            			<div style="width:<?php echo $hdd_per; ?>;"><strong>&nbsp;</strong></div>
        			</dd>
    			</dl>
    		</div>
    		<div id="popis">
    			<ul>
    				<li><b>Used:</b> <?php echo $hdd_prgp;  ?> </li>
                                    <li><b>Used HDD:</b> <?php echo $hdd_per;  ?><br/><br/><b>Free HDD:</b> <?php echo $hdd_free; ?></li>
    				
    			</ul>
    		</div>
    		<div id="medzera"></div>
    		<div id="bezi">
    			<b>Inside:</b>
    		</div>
    		<div id="bezi_vedla">
    			<a href="http://192.168.1.1/status/php-fcgi.php" target="_blank"><font color="#d2d5d6">Lighttpd, php-fcgi, sqlite</font></a>, <a href="http://192.168.1.1:901" target="_blank"><font color="#d2d5d6">Samba</font></a>, <a href="/rtorrent" target="_blank"><font color="#d2d5d6">rTorrent</font></a>, <a href="/cgi-bin/dlengine.sh" target="_blank"><font color="#d2d5d6">DLEngine</font></a>, <a href="http://p.p" target="_blank"><font color="#d2d5d6">Privoxy + Polipo</font></a>, <a href="http://www.eset.eu/support/update-xy1" target="_blank"><font color="#d2d5d6">Nod32update</font></a>, <a href="ftp://192.168.1.1" target="_blank"><font color="#d2d5d6">vsftpd</font></a>, <a href="/rrd" target="_blank"><font color="#d2d5d6">Rrd</font></a>, <a href="/cgi-bin/info.cgi" target="_blank"><font color="#d2d5d6">System Info</font>.
    		</div>
    		<div id="medzera"></div>
    		<div id="obrazky">
    			<a href="/rrd/" target="_blank"><img src="/rrd/wanday.png" width="400px" height="75px" alt="graf"></a>
    		</div>
    		<div id="medzera"></div>
    		<div id="spodok_popis">
    			Updated every 5 minutes, с Python script :-) | <b>Last update:</b> <?php echo $ch_time; ?>
    		</div>
    	</div>
    	<div id="spodok">
    <a href="http://www.eset.eu/support/update-xy1" target="_blank"><img src="/status/nod32_show/nod32_3.gif"></a><br>
    	copyright &copy; 2009 valerakvb & Lost_Animal
    	</div>
    </body>
    </html>
     
  20. soldier

    soldier Addicted to LI Member

    @56kb
    Generally you are right, but just because he has some issues installing Transmission and wants to make it work (download files to the HDD was the problem and he wants to install some scripts through optware) doesn't really concern you directly. I just want to help the guy because I know the language. And as far as I know forums are to discuss about and help each other. He wants to make an effort from this forum like we all do and he doesn't know to speak or write English very well. It is not very hard to use Google Translate to see what he is talking about.
    We are out of the subject also. It would be better to say a big THANK YOU to our Greek guy Lost Animal who is doing all the hard job.

    Σε ευχαριστώ

    @latech
    Como ya he dicho. Es mejor esperar a Lost Animal a publicar sus scripts, porque hay todo en su interior. Si necesita ayuda, pregunte a mi. Vale.
    Translation
    As I said. It is better to wait for Lost Animal to publish his scripts, because there is everything inside. If you will need any help just ask. OK.
     
  21. Lost_Animal

    Lost_Animal Addicted to LI Member

    Thank you all for your kindness....:biggrin:

    Script will be ready sooner.
    Maybe in a few hours from now i will upload the first release to test it, with a small Giude.

    Lost_Animal
     
  22. soldier

    soldier Addicted to LI Member

    great, great, great
     
  23. Lost_Animal

    Lost_Animal Addicted to LI Member

    Starting writing a new THREAD for OPTWARE PACKAGE and will Link to It...:biggrin:

    OMFG.... I hate Writing Guides.... :wink:
     
  24. Lost_Animal

    Lost_Animal Addicted to LI Member

    NOTICE

    Our First Release of FULL OPTWARE PACKAGE is READY...... :biggrin:

    Follow HERE.... :biggrin::eek:
     
  25. Crypton

    Crypton Networkin' Nut Member

    I use the last build of Tomato (compiled by me) and I have these errors when downloading a while with Transmission and the router is freezing (not rebooting):

    Code:
    Mar 28 01:27:55 crypton-ap user.warn kernel: Call Trace:
    Mar 28 01:27:55 crypton-ap user.warn kernel: [<8000e210>] dump_stack+0x8/0x34
    Mar 28 01:27:55 crypton-ap user.warn kernel: [<80058c78>] __alloc_pages+0x28c/0x364
    Mar 28 01:27:55 crypton-ap user.warn kernel: [<80078608>] __slab_alloc+0x19c/0x430
    Mar 28 01:27:55 crypton-ap user.warn kernel: [<80079758>] __kmalloc_track_caller+0x12c/0x134
    Mar 28 01:27:55 crypton-ap user.warn kernel: [<8016a9b8>] __alloc_skb+0x70/0x144
    Mar 28 01:27:55 crypton-ap user.warn kernel: Mem-info:
    Mar 28 01:27:55 crypton-ap user.warn kernel: Normal per-cpu:
    Mar 28 01:28:14 crypton-ap user.warn kernel: printk: 39 messages suppressed.
    Mar 28 01:28:14 crypton-ap user.warn kernel: usb-storage: page allocation failure. order:1, mode:0x4020
    Mar 28 01:28:14 crypton-ap user.warn kernel: Call Trace:
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<8000e210>] dump_stack+0x8/0x34
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<80058c78>] __alloc_pages+0x28c/0x364
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<80078608>] __slab_alloc+0x19c/0x430
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<80079758>] __kmalloc_track_caller+0x12c/0x134
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<8016a9b8>] __alloc_skb+0x70/0x144
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801c6728>] tcp_collapse+0x1ec/0x498
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801c6b84>] tcp_prune_queue+0x1b0/0x360
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801c7644>] tcp_data_queue+0x910/0xd80
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801c9484>] tcp_rcv_established+0x458/0x804
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801d04e0>] tcp_v4_do_rcv+0xe8/0x48c
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801d35bc>] tcp_v4_rcv+0xaa0/0xbd4
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801b0ef8>] ip_local_deliver+0x154/0x32c
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<801b0a18>] ip_rcv+0x3ac/0x738
    Mar 28 01:28:14 crypton-ap user.warn kernel: [<80174020>] process_backlog+0x104/0x234
    
    Any idea to solve the issue is appreciated.
     
  26. rhester72

    rhester72 Network Guru Member

    Pretty simple to diagnose - you ran out of RAM.

    Rodney
     
  27. Amuro

    Amuro Addicted to LI Member

    I can just confirm that the instructions work fine to install Transmission in Tomato Tomato Firmware v1.27.9045 MIPSR2-beta11 K26 USB vpn3.6 on an Asus RT-N16

    Thank you Lost Animal.
     
  28. linksyskg

    linksyskg Guest

    Thanks for the instructions. I found the download speeds are erratic and lower than expected.

    Background information:

    Running Asus RT-N16 Router
    Running Latest Beta Build of Tomato with USB/NAS/DNLA Server running.
    Attached a USB Harddrive (500GB)
    Running Optware connected to a 8 Gb USB Stick
    Running Asterisk PBX

    Installed Transmission and running config file from USB HDD. (/mnt/sdb1/Asus/.config/...)
    Default Download location is also the USB HDD. (/mnt/sdb1/Video/temp)
    Incoming TCP Port: 25000
    Encryption checked box is checked.

    Problem: Slow download speed

    From my XP workstation attached. I can download torrents at 500-700 Kbps using uTorrent

    From the Router, on a single download, the speed jumps up and down between 80 Kbps - 300 Kpbs but mostly on the low side.

    Also the CPU load is greatly increased when running
    CPU Load (1 / 5 / 15 mins) 0.89 / 0.57 / 0.47

    Sometimes it spikes to 1.6. I assume that means 160%???

    I added the following firewall rules in the firewall script section as well:
    iptables -I INPUT -p tcp --dport 25000 -j ACCEPT
    iptables -I INPUT -p udp --dport 25000 -j ACCEPT


    Any help would be appreciated...
     
  29. Aiko

    Aiko Networkin' Nut Member

    There's a newer transmission version for optware 2.03-1.

    Following this guide (thank you lost animal!) I got 1.93-1 working. I was wondering if anybody has upgraded yet and if all is working OK.

    thanks
     

Share This Page