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

#1901 2011-12-23 23:01:07

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

Re: [REL] Transmission 1.3

I don't use funplugs build environment, but the differences are only minimal:

Code:

$ ./configure --prefix=/ffp --disable-cli --enable-lightweight --without-inotify

When building from SVN I do have to make some changes to the configure.in file as well as create some empty files in the folder "po". Im not sure if this is because of my system configuration.

Offline

 

#1902 2011-12-24 05:47:35

joligario
Member
Registered: 2011-10-15
Posts: 22

Re: [REL] Transmission 1.3

leech1980 wrote:

joligario wrote:

My drives power down after inactivity. I have a feeling your box is still getting pinged by trackers which cache your IP address. My router blocks all unsolicited incoming packets. Is it possible your box is exposed to the incoming requests?

How could I check if it is or isn't?

You can run a test. Remove all torrents, disconnect internet for however long your drive sleep time is set for. If drives power down, reconnect internet to see if drives kick back on. If they do, then transmission is most likely receiving requests.

Offline

 

#1903 2011-12-27 02:08:28

tannenba
Member
Registered: 2011-12-04
Posts: 6

Re: [REL] Transmission 1.3

Hi,  I haven't seen this on this site, so I thought I would ask.  If it has been answered before, I apologize.
Running fun-plug 5, transmission 2.42. Didn't load many other packages.  I needed to get Bit Torrent to run off of Cron to stay within my no-charge time with my ISP.

It is running ok  for the most part.  I also used modified scripts from Horto for watchdog and tdrmseed.  I also used the tdrmseed script to email me when the torrent was removed.

Since then, figured out the "watch dir" to not need to run a script to load the torrent.  Now I'm trying to use
the script-when-torrent-done setting to send emails when they are at 100%, but it doesn't seem to be
working.  I'm wondering if this option was compiled out of the version we are using?

Thanks,
Joe

Offline

 

#1904 2011-12-27 04:45:55

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

I have been (and still use) the post download script to perform various actions although I do not send emails.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1905 2011-12-27 11:57:12

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

Re: [REL] Transmission 1.3

The feature is definitely still in the Transmission packages. I suggest you check the script you're using, the problem must lie there.

Offline

 

#1906 2011-12-27 18:27:09

tannenba
Member
Registered: 2011-12-04
Posts: 6

Re: [REL] Transmission 1.3

Thanks

Joe

Offline

 

#1907 2011-12-27 19:39:53

tannenba
Member
Registered: 2011-12-04
Posts: 6

Re: [REL] Transmission 1.3

Script right now is just supposed to make a temp file.  As I understand:
"script-torrent-done-enabled": true,
"script-torrent-done-filename": /mnt/HD_a2/ffp/var/scripts/maildone.sh
are the only settings needed?

Thanks,
Joe

Offline

 

#1908 2011-12-28 02:36:30

tannenba
Member
Registered: 2011-12-04
Posts: 6

Re: [REL] Transmission 1.3

OK--Finally! Been away from Unix for quite awhile, so took brain awhile to figure this out...
My Transmission is running as 'nobody'  so first off, the script has to be in a dir transmission
runs in, and the user nobody had to have a home dir so the mail init .emsmtprc could be found.
Now emailing just fine.

Thanks for the help...it was what I had to verify before I could figure it out.

Offline

 

#1909 2012-01-05 09:18:58

Fobio
Member
Registered: 2012-01-05
Posts: 7

Re: [REL] Transmission 1.3

Is there a way to download on one drive then have it copy the file over to the other drive when the download is completed?

or is it simply just changing the download and completed drive/folder in the config to reflect that?

Thanks.

Last edited by Fobio (2012-01-05 09:19:28)

Offline

 

#1910 2012-01-05 13:10:59

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

Re: [REL] Transmission 1.3

If you always want to do that, than you can set the incomplete-folder on one drive, and the download-folder on the other.
The incomplete-folder is a session-wide setting, so you can't specify it for individual torrents.

Code:

$ transmission-remote --incomplete-dir /path/to/drive/a/downloads
$ transmission-remote --download-dir /path/to/drive/b/completed

Please note that a move from one drive to another is a copy-then-delete operation, which can take a considerable amount of time with large torrents on such a low-performance device like a NAS.
It's more efficient to have both the incomplete and complete folders on the same drive, because a file move is just a tiny change in the filesystem.

Offline

 

#1911 2012-01-10 19:40:22

charlie
Member
From: Budapest, Hungary
Registered: 2010-06-05
Posts: 6

Re: [REL] Transmission 1.3

Hi, Thank You for your reply, I don't want to loose download speed, and peers.
Is it somehow possible to automaticaly restart the daemon after every 4 days or just a clear the part of memory
used by transmission?
Next stupid question: Cannot be caused my problems by the Transmission remote?

Last edited by charlie (2012-01-10 19:42:07)

Offline

 

#1912 2012-01-11 03:47:57

FunFiler
Member
Registered: 2010-05-23
Posts: 577

Re: [REL] Transmission 1.3

charlie wrote:

Is it somehow possible to automaticaly restart the daemon after every 4 days...

Easy. Just setup a cron job to issue a restart command.


3 * (DNS-323 with 2 * 2TB) = 12TB Running FW v1.08 & FFP v0.5
Useful Links: Transmission, Transmission Remote, Automatic

Offline

 

#1913 2012-02-02 16:38:20

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

Re: [REL] Transmission 1.3

I added a download link for the current Transmission v2.42 for ffp-0.7-arm to the first post.
This is only for those who use ffp on a newer device (DNS-320, DNS-325) and are already running ffp-0.7-arm!

Offline

 

#1914 2012-02-03 15:30:44

toni
Member
Registered: 2007-08-26
Posts: 41

Re: [REL] Transmission 1.3

Hi,

is there any experience weather it has sense to upgrade for ffp0.7? I have a DNS-320 with ffp0.5 and Transmission 2.42 running and this is the only purpose of the box (and unrar)! Is it worth upgrade? Do I need to update the libraries as well? 

Thanks,

A happy user of your Transmission builds :-)

KyleK wrote:

I added a download link for the current Transmission v2.42 for ffp-0.7-arm to the first post.
This is only for those who use ffp on a newer device (DNS-320, DNS-325) and are already running ffp-0.7-arm!

Offline

 

#1915 2012-02-03 20:35:04

skandalouz
New member
Registered: 2012-02-03
Posts: 2

Re: [REL] Transmission 1.3

I'm having some problems with Transmission on ffp0.7. All info can be found here: http://dns323.kood.org/forum/viewtopic. … 165#p45165
Is this a misforwarded/closed port problem or is the client defective on ffp0.7 ?

Thanks in advance!

Offline

 

#1916 2012-02-04 07:13:10

Fobio
Member
Registered: 2012-01-05
Posts: 7

Re: [REL] Transmission 1.3

Hi guys...using the newest version of transmission.  Everything running fine.  A few days ago, I did a manual reboot of the NAS and now, Transmission shuts itself down every few hrs.

What could've changed?  Thanks in advance.

BTW...I'm on a DNS320...and I've changes to transmission.sh to ahve it run correctly.  It was doing so for over a month until a few days ago.

Does it have anything to do with this:

[05:26:38.796] UDP Failed to set receive buffer: requested 4194304, got 217088 (tr-udp.c:75)
[05:26:38.796] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:80)
[05:26:38.797] UDP Failed to set send buffer: requested 1048576, got 217088 (tr-udp.c:86)
[05:26:38.797] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:91)

Last edited by Fobio (2012-02-04 07:30:47)

Offline

 

#1917 2012-02-04 08:40:21

cristian2k
New member
Registered: 2011-10-24
Posts: 4

Re: [REL] Transmission 1.3

KyleK mention something about these warnings in the past.

KyleK wrote:

Well, I'd say this is a rather informative warning message, as it tells you exactly what to do smile

I'd create a sysctl.conf in /ffp/etc with the lines mentioned in the warning, and then load it prior to starting Transmission:

Code:

$ sysctl -p /ffp/etc/sysctl.conf

This message has existed for as long as Transmission had UDP support, so it's nothing new.

I did as it says but didn't notice any behavioral difference.

Offline

 

#1918 2012-02-04 09:31:02

Fobio
Member
Registered: 2012-01-05
Posts: 7

Re: [REL] Transmission 1.3

cristian2k wrote:

KyleK mention something about these warnings in the past.

KyleK wrote:

Well, I'd say this is a rather informative warning message, as it tells you exactly what to do smile

I'd create a sysctl.conf in /ffp/etc with the lines mentioned in the warning, and then load it prior to starting Transmission:

Code:

$ sysctl -p /ffp/etc/sysctl.conf

This message has existed for as long as Transmission had UDP support, so it's nothing new.

I did as it says but didn't notice any behavioral difference.

Thank you.  I did the lines, and also called for/loaded sysctl (I'm a Windows guy, so my terminology may be off).  here's the new log entry:

[07:26:57.801] Transmission 2.42 (13028) started (session.c:718)
[07:26:57.801] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[07:26:57.801] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:803)
[07:26:57.801] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[07:26:57.801] RPC Server Whitelist enabled (rpc-server.c:1001)
[07:26:57.801] RPC Server Password required (rpc-server.c:1004)
[07:26:57.801] DHT Reusing old id (tr-dht.c:305)
[07:26:57.801] DHT Bootstrapping from 90 IPv4 nodes (tr-dht.c:153)
[07:26:57.801] Using settings from "/mnt/HD/HD_a2/.transmission-daemon" (daemon.c:488)
[07:26:57.801] Saved "/mnt/HD/HD_a2/.transmission-daemon/settings.json" (bencode.c:1721)
[07:26:57.802] transmission-daemon requiring authentication (daemon.c:508)
[07:26:57.802] Loaded 94 torrents (session.c:1937)
[07:26:57.802] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[07:26:57.802] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[07:26:58.810] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.2.10:1780/control?WANIPConnection" (upnp.c:113)
[07:26:58.811] Port Forwarding (UPnP) Local Address is "192.168.2.166" (upnp.c:115)
[07:26:59.821] Port Forwarding (UPnP) Port forwarding through "http://192.168.2.10:1780/control?WANIPConnection", service "urn:schemas-upnp-org:service:WANIPConnection:1". (local address: 192.168.2.166:65246) (upnp.c:221)
[07:26:59.821] Port Forwarding (UPnP) Port forwarding successful! (upnp.c:224)
[07:26:59.821] Port Forwarding Forwarded (port-forwarding.c:93)
[07:26:59.821] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.821] 20110223 Retrying announce in 104 seconds. (announcer.c:999)
[07:26:59.821] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.821] 20110223 Retrying announce in 98 seconds. (announcer.c:999)
[07:26:59.821] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.821] 20110223 Retrying announce in 305 seconds. (announcer.c:999)
[07:26:59.821] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.822] 20110223 Retrying announce in 353 seconds. (announcer.c:999)
[07:26:59.822] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.822] 20110223 Retrying announce in 60 seconds. (announcer.c:999)
[07:26:59.822] 20110223 Could not connect to tracker (announcer.c:990)
[07:26:59.822] 20110223 Retrying announce in 341 seconds. (announcer.c:999)
[07:27:06.911] 20110223 Starting IPv4 DHT announce (poor, 11 nodes) (tr-dht.c:574)

let's see if it sticks.

EDIT: no go...still shuts down by itself.

EDIT 2: when I reviewed the log, it seems like it crashes when Transmission "saved" the resume files.  After it saved stats.json, it crashed.

Last edited by Fobio (2012-02-04 10:28:18)

Offline

 

#1919 2012-02-04 21:28:56

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

Re: [REL] Transmission 1.3

Can you check if syslog contains any more info?
What about dmesg?

Offline

 

#1920 2012-02-05 13:59:27

Fobio
Member
Registered: 2012-01-05
Posts: 7

Re: [REL] Transmission 1.3

KyleK wrote:

Can you check if syslog contains any more info?
What about dmesg?

Hi kylek

the NAS's system log at the time of the most recent crash shows nothing out of the ordinary.

where can I find dmesg?

thanks.

Offline

 

#1921 2012-02-08 00:39:42

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

Re: [REL] Transmission 1.3

Just type "dmesg" on the commandline smile

Offline

 

#1922 2012-02-08 01:56:42

Fobio
Member
Registered: 2012-01-05
Posts: 7

Re: [REL] Transmission 1.3

KyleK wrote:

Just type "dmesg" on the commandline smile

Thanks.

The output is too much to paste here, so I took what I think may be useful:

printk: 1 messages suppressed.
TCP: drop open request from 69.107.115.16/40298
TCP: drop open request from 123.236.22.179/61317
TCP: drop open request from 116.217.174.249/59354
TCP: drop open request from 62.240.47.121/60100
printk: 7 messages suppressed.
TCP: drop open request from 62.240.47.121/60100
printk: 3 messages suppressed.
TCP: drop open request from 125.93.83.76/35514
printk: 27 messages suppressed.
TCP: drop open request from 75.167.161.170/61282
TCP: drop open request from 108.28.11.182/61762
TCP: drop open request from 114.35.33.128/61882
TCP: drop open request from 67.193.65.106/2361
TCP: drop open request from 141.237.33.25/3137
TCP: drop open request from 177.32.58.167/63778
TCP: Treason uncloaked! Peer 72.170.251.55:1672/63989 shrinks window 94240174:94242817. Repaired.

Offline

 

#1923 2012-02-08 12:09:46

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

Re: [REL] Transmission 1.3

Nope, those messages unfortunately do not help to determine why your Transmission shuts down by itself.
How fast does it shut down?
How many torrents have you loaded/downloading/seeding?
At what speeds?

Make sure Transmission doesn't store anything on the NAS's flash (e.g. /tmp or so). There's not much free space available and once it's full all kinds of things can happen.

Offline

 

#1924 2012-02-10 10:00:04

than33
New member
Registered: 2009-06-05
Posts: 2

Re: [REL] Transmission 1.3

Please tell me because I'm very stupid and I don't know. You guys probably know that:

I have DNS-323. I wanted to upgrade to FFP 0.7. On first try I installed arm version which was not working (and I had segmentation fault in funplug log). So I reinstalled with FFP 0.7 oarm and everything is working fine. Then I installed transmission Transmission 2.42  (ffp-0.5) and it gives me error:

Starting transmission-daemon
/ffp/bin/transmission-daemon: can't resolve symbol 'posix_fadvise64'

I think that there should be compiled version of transmission for 0.7 BUT for ffp-0.7 oarm. Am I right? Is it possible to build such version?

Last edited by than33 (2012-02-10 10:09:16)

Offline

 

#1925 2012-02-10 17:04:52

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

Re: [REL] Transmission 1.3

You're right in that you need a Transmission version compiled for ffp-0.7-oarm. The version from the first post will not work.

Mijzelf has apparently a Transmission 2.42 for 0.7-oarm, but he reports that it does not really work for some reason (it runs, but doesn't connect to any peers).

Unfortunately, I haven't had the time yet to look into it, and that won't change for a while hmm

I suggest that owners of the older NASes (DNS-323, CH3SNAS), stay with ffp-0.5 for now.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB