DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1176 2010-06-17 07:21:50

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: [REL] Transmission 1.3

ok- not being a programmer- I've been beating my head against the wall trying to figure a way to get transmission to send info via prowl letting me know that the requested torrent is complete..

Anyone figure out how to do this yet?

Thx.


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#1177 2010-06-17 07:38:47

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Yep, been doing it for months smile
Here's my script:

Code:

#!/ffp/bin/sh -e

APIKEY="<your Prowl api key>"

curl -k -s https://prowl.weks.net/publicapi/add -d apikey=$APIKEY -d application=Transmission -d event='Torrent Complete' -d description="$TR_TORRENT_NAME" > /dev/null

Offline

 

#1178 2010-06-17 09:44:47

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: [REL] Transmission 1.3

oops-
took me a few minutes to figure why transmission kept choking after updating transmission, automatic, and adding the above script to my system...

it would appear that the last line of my settings.json file was:

Code:

 "script-torrent-done-filename": "\/mnt\/HD_a2\/.transmission-daemon\/prowl-notify-complete.sh", 
}

should be :

Code:

 "script-torrent-done-filename": "\/mnt\/HD_a2\/.transmission-daemon\/prowl-notify-complete.sh"
}

one lousy comma = 45 minutes of hassle

(sigh)
hopefully someone else can benefit from my educational curve...
hmm

Edit:
Now transmission launches, runs for meybe 5 minutes, and quietly dies, with no logging
GRRRRRRRRR
trying to figure out/remember how to kick up the log level..
eyes.getting.blurry.
need Caf-POW!!!!!!!
as always hints appreciated.. smile

Last edited by Darkman (2010-06-17 10:16:05)


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#1179 2010-06-17 09:50:59

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

That is why I try not to edit the settings.json manually, if possible I use the extensive options of transmission-remote.

Offline

 

#1180 2010-06-17 10:18:42

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: [REL] Transmission 1.3

sounds like sage advice.
tho i havnt had much luck getting access to those prefs with transgui...

- then again i seem to be a glutton for punishment.
tongue


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#1181 2010-06-17 22:55:54

Big_Boy
Member
Registered: 2010-06-13
Posts: 8

Re: [REL] Transmission 1.3

pff can't get it to download from kylek sad. any help ?

Offline

 

#1182 2010-06-18 00:07:54

KyleK
Member
From: Dresden, Germany
Registered: 2007-12-05
Posts: 1178

Re: [REL] Transmission 1.3

Make sure you allow port 31337 to go through your firewall. Some companies block anything but the standard ports, so downloading won't work there, and there may even be some ISPs that do so as well.

Offline

 

#1183 2010-06-18 00:51:02

Big_Boy
Member
Registered: 2010-06-13
Posts: 8

Re: [REL] Transmission 1.3

it is open but doesn't seems to work.

Offline

 

#1184 2010-06-18 02:32:13

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: [REL] Transmission 1.3

ok had to completely blow away my settings.json file, then start from scratch.. editing in nano rathar than scitext..
so Trans 2.0 SEEMS to be behaving...

then automatic was harassing me...

keept getting failures to add via prowl..

(is it any wonder i tend to skip versions of softwaare unless it has some tangable use..?)


any rate-- i forgot to whitelist 127.0.0.1

Silly me.

Now it all seems happy again
(hold breath here)

smile


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#1185 2010-06-18 03:45:34

Darkman
Member
From: Sonoran Desert
Registered: 2010-04-23
Posts: 30

Re: [REL] Transmission 1.3

unless I'm mistaken, changing the code for the prowl notification script to include
priority=-1
would allow you to create an audible differentiation between new torrent added and torrent complete..?
i.e.:

Code:

curl -k -s https://prowl.weks.net/publicapi/add -d apikey=$APIKEY -d priority=-1 -d application=Transmission -d event='Torrent 
Complete' -d 
description="$TR_TORRENT_NAME" > /dev/null

..or is that going to (with my luck today) break everything?

DM


DNS-343 1.04b03
4x 1.0T Seagate Barracuda 7200.11 RAID5 + 3TB external USB storage for occasional rsync backup.
Transmission-2.22-1 Automatic-0.6.4-1 netatalk-2.1.3-1 rsync-3.0.7-1 nano curl fortune screen SSH SSL SMBget wget
...and the all-powerful foo.sh smile

Offline

 

#1186 2010-06-18 17:35:21

wfxwdd
New member
Registered: 2010-06-18
Posts: 4

Re: [REL] Transmission 1.3

please help me! When i  do
/ffp/start/transmission.sh stop
funpkg -u Transmission-2.0-1.tgz
then show me

/ # /ffp/start/transmission.sh stop
Stopping transmission-daemon
/ # funpkg -u Transmission-2.0-1.tgz
FATAL: Transmission-2.0-1.tgz: File not found
/ # cd /mnt/HD_a2
/mnt/HD_a2 # funpkg -u Transmission-2.0-1.tgz
Skipping Transmission-2.0-1.tgz (already installed)

but in remote is
Host=192.168.0.45, Version=1.76, Revision=9410, RpcVersion=6, RpcVersionMinimum=1

My english is very poor ,  please tell me how to update it to 2.01
tks

Offline

 

#1187 2010-06-19 16:11:50

Big_Boy
Member
Registered: 2010-06-13
Posts: 8

Re: [REL] Transmission 1.3

can no one make a mirror ? i can't download it from kylek sad.

damn

Offline

 

#1188 2010-06-20 10:55:27

NASewise
Member
From: Saxony, Germany
Registered: 2008-08-11
Posts: 15

Offline

 

#1189 2010-06-20 17:08:47

Big_Boy
Member
Registered: 2010-06-13
Posts: 8

Re: [REL] Transmission 1.3

thx found an ohter way to wink.

thx big_smile

Offline

 

#1190 2010-06-21 15:12:10

tiwas
Member
Registered: 2007-11-13
Posts: 16

Re: [REL] Transmission 1.3

Anyone know of a way to set different groups with different speeds and/or have transmission automagically pick up torrents from a set directory? would be awesome if I could drop the torrent files I wanted to dl into a folder and not have to manually add it.

Cheers!

Offline

 

#1191 2010-06-24 14:51:07

injun
New member
Registered: 2010-06-24
Posts: 3

Re: [REL] Transmission 1.3

Is there a script for putting completed downloads in a different folder (''complete''),for example:l=l

Grtz! Injun...


Ch3snas latest firmware,2 x 1,5TB samsung green.

Offline

 

#1192 2010-06-24 16:22:30

injun
New member
Registered: 2010-06-24
Posts: 3

Re: [REL] Transmission 1.3

Is there a script for putting completed downloads in a different folder (Completed torrents)

Grtz! Injun... smile


Ch3snas latest firmware,2 x 1,5TB samsung green.

Offline

 

#1193 2010-06-24 23:52:03

uyuni
Member
From: Denmark
Registered: 2007-12-29
Posts: 31

Re: [REL] Transmission 1.3

No need for a script if you just want to move files.
Add the following to the settings.json file:
    "download-dir": "/mnt/HD_a2/Downloads",
    "incomplete-dir": "/mnt/HD_a2/Downloads/Incomplete",
    "incomplete-dir-enabled": true,

There is also the following ones although I haven't used them.
    "external-done-command": "",
    "external-done-command-enabled": false,

I don't know why these aren't documented on the transmission wiki: https://trac.transmissionbt.com/wiki/Co … Parameters


D-Link DNS-323 firmware 1.08 + Samsung HD203WI + Samsung HD103UJ + ffp-0.5 + addons

Offline

 

#1194 2010-06-25 11:32:15

injun
New member
Registered: 2010-06-24
Posts: 3

Re: [REL] Transmission 1.3

i want to do the moving automatic ,when a torrent is finish than auto in the completed folder.

Grt...Injun.


Ch3snas latest firmware,2 x 1,5TB samsung green.

Offline

 

#1195 2010-06-25 20:23:10

cheongseeker
Member
Registered: 2008-06-17
Posts: 15

Re: [REL] Transmission 1.3

injun, the settings highlighted by uyuni does what you are looking for.  When it is in the midst of downloading, the files are kept in "/mnt/HD_a2/Downloads/Incomplete".

When it finishes, Transmission will move it automatically to "/mnt/HD_a2/Downloads".

I have these settings configured and enabled as per how it is indicated by uyuni posting.

injun wrote:

i want to do the moving automatic ,when a torrent is finish than auto in the completed folder.

Grt...Injun.

uyuni wrote:

No need for a script if you just want to move files.
Add the following to the settings.json file:
    "download-dir": "/mnt/HD_a2/Downloads",
    "incomplete-dir": "/mnt/HD_a2/Downloads/Incomplete",
    "incomplete-dir-enabled": true,

There is also the following ones although I haven't used them.
    "external-done-command": "",
    "external-done-command-enabled": false,

I don't know why these aren't documented on the transmission wiki: https://trac.transmissionbt.com/wiki/Co … Parameters

Offline

 

#1196 2010-06-28 18:34:53

Rosiu
New member
Registered: 2010-06-28
Posts: 1

Re: [REL] Transmission 1.3

Hi,

I don't know where is error. I configure transmission like KyleK wrote and it isn't working.

My setting.json:

root@NAS:~# vi /mnt/HD_a2/BT/settings.json
{
    "alt-speed-down": 50,
    "alt-speed-enabled": false,
    "alt-speed-time-begin": 540,
    "alt-speed-time-day": 127,
    "alt-speed-time-enabled": false,
    "alt-speed-time-end": 1020,
    "alt-speed-up": 50,
    "bind-address-ipv4": "0.0.0.0",
    "bind-address-ipv6": "",
    "blocklist-enabled": false,
    "dht-enabled": true,
    "download-dir": "/mnt/HD_a2/BT/torrents/",
    "encryption": 1,
    "incomplete-dir": "/home/nobody/Downloads",
    "incomplete-dir-enabled": false,
    "lazy-bitfield-enabled": true,
    "lpd-enabled": false,
    "message-level": 2,
    "open-file-limit": 32,
    "peer-limit-global": 240,
    "peer-limit-per-torrent": 60,
    "peer-port": 51413,
    "peer-port-random-high": 65535,
    "peer-port-random-low": 49152,
    "peer-port-random-on-start": false,
    "peer-socket-tos": 0,
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "proxy": "",
    "proxy-auth-enabled": false,
    "proxy-auth-password": "",
    "proxy-auth-username": "",
    "proxy-enabled": false,
    "proxy-port": 80,
    "proxy-type": 0,
    "ratio-limit": 2.0000,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{988ecdc967d1518081ad868ac94cb96a3fb22304Ti/DF.lU",
    "rpc-port": 9091,
    "rpc-username": "rosiu",
    "rpc-whitelist": "127.0.0.1,192.168.*.*",
    "rpc-whitelist-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "speed-limit-down": 100,
    "speed-limit-down-enabled": false,
    "speed-limit-up": 100,
    "speed-limit-up-enabled": false,
    "start-added-torrents": true,
    "trash-original-torrent-files": false,
    "umask": 18,
    "upload-slots-per-torrent": 14
}

ls -l in /mnt/HD_a2/:

root@NAS:/mnt/HD_a2# ls -l
drwxr-xr-x    5 nobody   root         4096 Jun 28 16:19 BT
drwxr-xr-x   15 root     root         4096 Jun 23 15:38 ffp
-rw-r--r--    1 root     root        66307 Jun 28 15:24 ffp.log
-rwxrwxrwx    1 Rosiu    502          1778 Jun 22 19:54 fun_plug
drwxr-xr-x    4 root     root         4096 Jun 22 20:41 www

and after commands:

root@NAS:/mnt/HD_a2# su -c 'transmission-daemon -g /mnt/HD_a2/BT/'
root@NAS:/mnt/HD_a2# /ffp/start/transmission.sh start
Starting transmission-daemon

It isn't working (I can't connect via WWW to transmission on port 9091)

root@NAS:/mnt/HD_a2# transmission-remote -l
[16:33:58.309] transmission-remote: (http://localhost:9091/transmission/rpc) Timeout was reached

please help...

Offline

 

#1197 2010-06-28 20:14:44

vixducis
New member
Registered: 2010-06-28
Posts: 1

Re: [REL] Transmission 1.3

Transmission has been crashing on me without a reason since i've been using the 2.0 version. Does anybody have 1.93 lying around? Where are transmission logs saved on the dns323?

Offline

 

#1198 2010-06-29 22:55:50

Frans
Member
Registered: 2009-05-20
Posts: 28

Re: [REL] Transmission 1.3

Transmission 2.0 works very fast but sometimes doesn't seem to want to start (when rebooting the NAS). I get a "Segmentation Fault" when trying to start it manually. I don't know why it is random. Nothing in the log files, they are empty.

I also saw that 2.01 is already out!

Offline

 

#1199 2010-06-30 03:17:24

HEC
New member
Registered: 2010-06-30
Posts: 4

Re: [REL] Transmission 1.3

vixducis wrote:

Transmission has been crashing on me without a reason since i've been using the 2.0 version. Does anybody have 1.93 lying around? Where are transmission logs saved on the dns323?

Here you go:

http://rapidshare.com/files/403940014/T … 2.tgz.html
MD5: 4C471A0D7E754D06E508EBC2CF9C5BCE

logs are in the (hidden) folder .transmission-daemon - usually in the root of HD_a2 - just use ls -all to see it (or you can just try "blindly" to cd to it anyway) ... wink

Last edited by HEC (2010-06-30 03:32:30)

Offline

 

#1200 2010-06-30 03:22:13

HEC
New member
Registered: 2010-06-30
Posts: 4

Re: [REL] Transmission 1.3

Rosiu wrote:

please help...

Two things to try / check first:

1. After starting the daemon try to stop it after a minute or so - this will prove it's still running rather than crashing during or shortly after the start up. You can also try to run Transmission in the foreground and watch for any errors.

2. If your PC from which you're trying to open web interface is NOT in 192.168.x.x range it would not work unless you'll add / edit your own range into:

"rpc-whitelist": "127.0.0.1,192.168.*.*",

Last edited by HEC (2010-06-30 03:23:07)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB