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!

My firmware version is 3.0.0.4.266.23 merlin

On first router i have forwarded port 9095 - 9092 and 51413 to the ASUS RT.
Than i put my QNAP router on DMZ zone that will use both 9092 and 51413 for transmission on board.

So port 9095 is "free"

Could be Qnap Nas with transmission the problem?
 
That's right...solve the problem.
Using DMZ zone will send all ports to IP address selected and not to Transmission daemon on router.
I've delete it and everything works well...
I will use port forwarding to select port to forward to nas !!!

Now i'm very happy :)

Thanks a lot to TeHashX for his great support and disponibility !!!!
 
firewall-start issue

I don't know what am I doing wrong but after restarting the /jffs/scripts/firewall-start file disappears and its content is not taken into concideration. Adding manually rules to iptables works fine.
thanks
Leo
 
Did you make it executable?
Code:
# chmod a+rx /jffs/scripts/firewall-start

Sent from my HTC One S using Tapatalk 2
 
Your disk is formatted fat32 or ntfs? Did you enabled jffs?

Sent from my HTC One S using Tapatalk 2
 
admin@RT-N66U:/tmp/home/root# ls -l /jffs/scripts
admin@RT-N66U:/tmp/home/root#

admin@RT-N66U:/tmp/home/root# mount
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/sda2 on /tmp/mnt/ntfsbook type ufsd (rw,nodev,noatime,nls=utf8,fmask=0,dmask=0,force)
/dev/sda1 on /tmp/mnt/book type ext3 (rw,nodev,noatime,data=ordered)
admin@RT-N66U:/tmp/home/root#

I have 2 partitions on my external drive, sda2 is not in use, i.e. empty.

admin@RT-N66U:/tmp/home/root# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 22.5M 22.5M 0 100% /
tmpfs 117.1M 4.6M 112.5M 4% /tmp
devfs 117.1M 0 117.1M 0% /dev
/dev/mtdblock4 7.9M 516.0K 7.4M 6% /jffs
/dev/sda2 447.1G 79.5M 447.0G 0% /tmp/mnt/ntfsbook
/dev/sda1 1.4T 1.2T 56.1G 96% /tmp/mnt/book
 
Your jffs partition is empty, set Format JFFS partition at next boot "yes" under http://192.168.1.1/Advanced_System_Content.asp and reboot router, then try again:
Code:
wget -c -O /jffs/scripts/firewall-start http://tinyurl.com/firewall-start
chmod a+rx /jffs/scripts/firewall-start
reboot
If not working, try to make a new folder on jffs partition and see if survive after reboot
Code:
mkdir test /jffs/scripts/
reboot
 
I have created a sub-dir.
Code:
ASUSWRT RT-N66U_3.0.0.4 Wed Feb 13 20:00:34 UTC 2013
admin@RT-N66U:/tmp/home/root# cd /
admin@RT-N66U:/# ls -l
drwxr-xr-x    2 admin    root           548 Feb 13 21:27 bin
drwxr-xr-x    2 admin    root             3 Feb 13 21:27 cifs1
drwxr-xr-x    2 admin    root             3 Feb 13 21:27 cifs2
drwxrwxrwt    4 admin    root          1780 Jan  1  2011 dev
lrwxrwxrwx    1 admin    root             7 Feb 13 21:27 etc -> tmp/etc
lrwxrwxrwx    1 admin    root             8 Feb 13 21:27 home -> tmp/home
drwxr-xr-x    5 admin    root             0 Jan  1  1970 jffs
drwxr-xr-x    3 admin    root           345 Feb 13 21:27 lib
drwxr-xr-x    2 admin    root             3 Feb 13 21:27 mmc
lrwxrwxrwx    1 admin    root             7 Feb 13 21:27 mnt -> tmp/mnt
lrwxrwxrwx    1 admin    root             7 Feb 13 21:27 opt -> tmp/opt
dr-xr-xr-x   85 admin    root             0 Jan  1  2000 proc
drwxr-xr-x    6 admin    root           538 Feb 13 21:27 rom
lrwxrwxrwx    1 admin    root            13 Feb 13 21:27 root -> tmp/home/root
drwxr-xr-x    2 admin    root          1542 Feb 13 21:27 sbin
drwxr-xr-x   10 admin    root             0 Jan  1  2000 sys
drwxrwxrwx   12 admin    root           620 Feb 25 13:48 tmp
drwxr-xr-x    8 admin    root            98 Feb 13 21:27 usr
lrwxrwxrwx    1 admin    root             7 Feb 13 21:27 var -> tmp/var
drwxr-xr-x    9 admin    root          4433 Feb 13 21:27 www
admin@RT-N66U:/# cd jffs/
admin@RT-N66U:/jffs# ls -l
drwxr-xr-x    2 admin    root             0 Jan  1  2011 configs
drwxr-xr-x    3 admin    root             0 Feb 25 13:42 scripts
admin@RT-N66U:/jffs# cd scripts/
admin@RT-N66U:/jffs/scripts# ls -l
drwxrwxrwx    2 admin    root             0 Feb 25 13:43 test
admin@RT-N66U:/jffs/scripts# cd test/
admin@RT-N66U:/jffs/scripts/test# ls -l
-rwxrwxrwx    1 admin    root           189 Feb 25 13:43 firewall-start
admin@RT-N66U:/jffs/scripts/test# sh ./firewall-start 
admin@RT-N66U:/jffs/scripts/test#
The dir and the file survived the reboot.
I think only files located in the /script dir have been run, I had to manually
run it.
 
Probably you are doing something wrong, try to manualy create firewall-start script
# ipkg install nano
# nano /jffs/scripts/firewall-start
and paste this lines
Code:
#!/bin/sh
iptables -I INPUT -p tcp --destination-port 9091 -j ACCEPT
iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT
Save with Ctrl-O / Enter / Exit with Ctrl-X
# reboot
 
Thanks a lot! This way worked like a charm!
Hi,

Looking into your posting above:
Code:
admin@RT-N66U:/# cd jffs/
admin@RT-N66U:/jffs# ls -l
drwxr-xr-x    2 admin    root             0 Jan  1  2011 configs
drwxr-xr-x    3 admin    root             0 Feb 25 13:42 scripts
admin@RT-N66U:/jffs# cd scripts/
admin@RT-N66U:/jffs/scripts# ls -l
drwxrwxrwx    2 admin    root             0 Feb 25 13:43 test
admin@RT-N66U:/jffs/scripts# cd test/
admin@RT-N66U:/jffs/scripts/test# ls -l
-rwxrwxrwx    1 admin    root           189 Feb 25 13:43 firewall-start
admin@RT-N66U:/jffs/scripts/test# sh ./firewall-start 
admin@RT-N66U:/jffs/scripts/test#
Shows that you stored the 'firewall-start' script in a subfolder 'test' and not in the 'scripts' folder itself.

Now you have stored the 'firewall-start' script in the 'scripts' folder and it works.

Do you get the difference? :rolleyes:

With kind regards
Joe :cool:
 
I will take a look, no promises.

isn't "in that case you'll get a basic GUI that will enable you to choose a torrent file or folder and the destination where it should be expanded."
already possible?

I am trying to reconfigure Transmission with entware. It shouldn't be that different from optware.
 
help me: daemon not start:

Starting transmission-daemon:.[FAILED]

why?
I tried to reinstall and not working!
 

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