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

#2001 2012-04-30 22:16:01

Stranger
Member
Registered: 2012-04-30
Posts: 26

Re: [REL] Transmission 1.3

cristian2k wrote:

Thanks! that was fast!
It actually seemed to have solved the issue, but after a while I get 'Connection failed...' for all UDP trackers again.

I found these errors in the log, I don't know if it is related:

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

Just try
echo 4194304 > /proc/sys/net/core/rmem_max
echo 1048576 > /proc/sys/net/core/wmem_max

you can insert these lines to fun_plug.local


D-Link DNS-343/FW1.06/4x2GB(RAID5), ffp-0.7 on USB,
full nfs-support, mc 4.8.1.756, nano 2.2.6, iStat 0.5.8, Lighttpd 1.4.39, mySQL 5.1.61, php 5.5.1-dev,
*NIX Time Machine-like backup, net-snmp 5.7.2, nut 2.6.5 (snmp-ups),
ownCloud 4.0.2, Transmission 2.81

Offline

 

#2002 2012-05-04 23:04:46

JustMe
New member
Registered: 2011-06-05
Posts: 1

Re: [REL] Transmission 1.3

I'm new to this but how do i log into the DNS-323 to install the plugins or where can i find the step by step process, as i don't even know what program to use or what the "$" means in the script or even how to log in. I tried SSH with "ssh root@192.168.0.196" (the ip address of the DNS) and nothing

Offline

 

#2003 2012-05-10 18:38:51

suprimos
Member
Registered: 2012-05-10
Posts: 9

Re: [REL] Transmission 1.3

hi there...
i am verny nooby with transmission
i just got funplug on my dns-320 installed
now i am looking forward to install transmission

i have got the following problems:
i got transmission to download and install

su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t -u root -v ******* -a 127.0.0.1,192.168.*.*"
[15:25:27.876] Couldn't create "/mnt/HD_a2": Permission denied (utils.c:569)
[15:25:27.876] Couldn't create "/mnt/HD_a2": Permission denied (utils.c:569)
[15:25:27.877] Couldn't create "/mnt/HD_a2": Permission denied (utils.c:569)
[15:25:27.877] Transmission 2.51 (13287) started (session.c:718)
[15:25:27.877] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[15:25:27.877] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:803)
[15:25:27.878] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c: 997)
[15:25:27.878] RPC Server Whitelist enabled (rpc-server.c:1001)
[15:25:27.878] RPC Server Password required (rpc-server.c:1004)
[15:25:27.878] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmissio n already running?) (net.c:363)
[15:25:27.878] UDP Couldn't bind IPv4 socket (tr-udp.c:260)
[15:25:27.879] DHT Generating new id (tr-dht.c:309)
[15:25:27.879] Using settings from "/mnt/HD_a2/.transmission-daemon" (daemon.c:488)
[15:25:27.879] Couldn't save temporary file "/mnt/HD_a2/.transmission-daemon/settings.json.tmp.IMxiMj": No such file or directory (bencode.c:1744)
[15:25:27.879] transmission-daemon requiring authentication (daemon.c:508)
[15:25:27.880] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[15:25:27.880] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[15:25:29.896] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.2.1:80/upnp/control?WANPPPConnection" (upnp.c:202)
[15:25:29.896] Port Forwarding (UPnP) Local Address is "192.168.*****" (upnp.c:204)
[15:25:29.897] Port Forwarding (UPnP) Port forwarding through "http://192.168.2.****/upnp/control?WANPPPConnection", service "urn:schemas-upnp-org:service:WANPPPConnection:1". (local address: 192.168.2.*******)                   (upnp.c:279)
[15:25:29.897] Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
[15:25:29.897] Port Forwarding Forwarded (port-forwarding.c:93)
root@dlink-43850A:~# [15:26:40.256] Couldn't save temporary file "/mnt/HD_a2/.transmission-daemon/settings.json.tmp.7780sO": No such file or directory (bencode.c:1744)
[15:26:40.256] DHT Not saving nodes, DHT not ready (tr-dht.c:356)
[15:26:40.257] Port Forwarding Stopped (port-forwarding.c:181)
[15:26:40.257] Port Forwarding (UPnP) Stopping port forwarding through "http://192.168.2.1:80/upnp/control?WANPPPConnection", service "urn:schemas-upnp-org:service:WANPPPConnection:1" (upnp.c:245)
[15:26:40.257] Port Forwarding Not forwarded (port-forwarding.c:93)
Closing transmission session... done.


After that i tried to start:

root@dlink-43850A:~# /ffp/start/transmission.sh start
mkdir: cannot create directory `/mnt/HD_a2/.transmission-daemon': No such file or directory
Starting transmission-daemon
Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory


Please help me

Offline

 

#2004 2012-05-10 18:42:45

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

Re: [REL] Transmission 1.3

On the DNS-320 the path is /mnt/HD/HD_a2/, notice the additional "HD".

Offline

 

#2005 2012-05-10 18:52:12

suprimos
Member
Registered: 2012-05-10
Posts: 9

Re: [REL] Transmission 1.3

i installed it again:
root@dlink-43850A:~# su nobody -c "transmission-daemon -f -g /mnt/HD/HD_a2/.transmission-daemon -w /mnt/HD/HD_a2/Downloads -t -u root -v ***** -a 127.0.0.1,192.168.*.*"
[15:50:11.217] Transmission 2.51 (13287) started (session.c:718)
[15:50:11.217] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[15:50:11.218] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:803)
[15:50:11.218] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[15:50:11.218] RPC Server Whitelist enabled (rpc-server.c:1001)
[15:50:11.218] RPC Server Password required (rpc-server.c:1004)
[15:50:11.218] Couldn't bind port 51413 on 0.0.0.0: Address already in use (Is another copy of Transmission already running?) (net.c:363)
[15:50:11.219] UDP Couldn't bind IPv4 socket (tr-udp.c:260)
[15:50:11.219] DHT Generating new id (tr-dht.c:309)
[15:50:11.219] Using settings from "/mnt/HD/HD_a2/.transmission-daemon" (daemon.c:488)
[15:50:11.219] Saved "/mnt/HD/HD_a2/.transmission-daemon/settings.json" (bencode.c:1731)
[15:50:11.220] transmission-daemon requiring authentication (daemon.c:508)
[15:50:11.220] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[15:50:11.220] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[15:50:13.237] Port Forwarding (UPnP) Found Internet Gateway Device "http://192.168.2.***/upnp/control?WANPPPConnection" (upnp.c:202)
[15:50:13.237] Port Forwarding (UPnP) Local Address is "192.168.***" (upnp.c:204)
[15:50:13.237] Port Forwarding (UPnP) Port forwarding through "http://192.168.*****/upnp/control?WANPPPConnection", service "urn:schemas-upnp-org:service:WANPPPConnection:1". (local address: 192.168.2.30:51413) (upnp.c:279)
[15:50:13.238] Port Forwarding (UPnP) Port forwarding successful! (upnp.c:282)
[15:50:13.238] Port Forwarding Forwarded (port-forwarding.c:93)
root@dlink-43850A:~# [15:50:24.557] Saved "/mnt/HD/HD_a2/.transmission-daemon/settings.json" (bencode.c:1731)
[15:50:24.557] DHT Not saving nodes, DHT not ready (tr-dht.c:356)
[15:50:24.558] Port Forwarding Stopped (port-forwarding.c:181)
[15:50:24.558] Port Forwarding (UPnP) Stopping port forwarding through "http://192.168.****/upnp/control?WANPPPConnection", service "urn:schemas-upnp-org:service:WANPPPConnection:1" (upnp.c:245)
[15:50:24.558] Port Forwarding Not forwarded (port-forwarding.c:93)
Closing transmission session... done.

but when starting:
root@dlink-43850A:~# /ffp/start/transmission.sh start
mkdir: cannot create directory `/mnt/HD_a2/.transmission-daemon': No such file or directory
Starting transmission-daemon
Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory

Last edited by suprimos (2012-05-10 19:51:10)

Offline

 

#2006 2012-05-10 18:52:26

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

Re: [REL] Transmission 1.3

The startup script for the 0.7-arm package contains the wrong settings path in the startup script. I've just uploaded a new version which fixes the issue.
But you can just open /ffp/start/transmission.sh in an editor and correct the path manually.

What's more worrying is the message in the log that it can't bind to a port. Have you checked if Transmission is already running in the background?

Offline

 

#2007 2012-05-10 18:58:26

stoffeboffe
Member
Registered: 2012-05-10
Posts: 21

Re: [REL] Transmission 1.3

After upgrading to the latest version of Transmission I receive a strange error from a specific private tracker, Traxker returned an error: Client sent stop, but peer not found. Any idea what this could mean?

I also get bad speeds on my 100mbit line, any tweaks or tips are appreciated.

Offline

 

#2008 2012-05-10 18:58:29

suprimos
Member
Registered: 2012-05-10
Posts: 9

Re: [REL] Transmission 1.3

if i open my dns-320 in the explorer i dont have a start folder ?!
only /ffp/share e.g.
how can i check if transmission is already running?

Last edited by suprimos (2012-05-10 19:00:41)

Offline

 

#2009 2012-05-10 19:01:29

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

Re: [REL] Transmission 1.3

Type 'ps aux | grep trans' to see if any instances are running.

You can stop them by typing 'killall transmission-daemon'.

If you can't edit the startup script manually, it's probably easier if you just update to the latest version smile

Offline

 

#2010 2012-05-10 19:04:05

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

Re: [REL] Transmission 1.3

@stoffeboffe: It looks to me like this is a tracker error message, and doesn't come from transmission itself. What it means though, I have no idea.
Maybe the tracker (private?) doesn't support/allow v2.51 yet?

Offline

 

#2011 2012-05-12 10:06:55

stoffeboffe
Member
Registered: 2012-05-10
Posts: 21

Re: [REL] Transmission 1.3

Something strange with the tracker. The problem was when the torrent was auto-loaded if you start it manually then download works.

Offline

 

#2012 2012-05-20 12:43:55

Betse
Member
Registered: 2008-11-19
Posts: 12

Re: [REL] Transmission 1.3

2.52 is out with a fix for a serious privacy issue. So serious that I don't want to use anything older. Could you compile this new version for us Kylek?

Offline

 

#2013 2012-05-20 16:01:44

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

Re: [REL] Transmission 1.3

Transmission v2.52 for ffp-0.7-arm is now available from the first post. As Betse mentioned, this release fixes a security issue, so everyone should update now.


I'll do my very best to provide a ffp-0.5 package later today, when I'm back at home.

Offline

 

#2014 2012-05-20 21:00:03

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

Re: [REL] Transmission 1.3

Ok, Transmission 2.52 is now available as ffp-0.5 package as well. Grab it from the first post, as always.

Offline

 

#2015 2012-05-20 23:01:03

Betse
Member
Registered: 2008-11-19
Posts: 12

Re: [REL] Transmission 1.3

Thanks for the quick response smile Updated.

Offline

 

#2016 2012-05-21 12:53:35

scaramanga
Member
Registered: 2010-08-04
Posts: 251

Re: [REL] Transmission 1.3

Thank you, KyleK.
I kind of lost track of ffp 0.7. Is there a stable Transmission version for ffp 0.7 oarm/oabi?
That's what keeping me from updating.

Last edited by scaramanga (2012-05-21 12:54:21)


DNS-323 HW Rev. C1 FW 1.10 fun-plug 0.5
2 x WD10EARS-00Y5B1 in Standard mode (LCC set to 5 min; Aligned to 4K)
Transmission with Transmission Remote GUI

Offline

 

#2017 2012-05-21 17:25:34

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

Re: [REL] Transmission 1.3

I'm not really sure. I haven't done any ffp-0.7-oarm/oabi builds myself, but I think Mijzelf (sic?) did.
Have a look at the "ffp-0.7 packages" thread.

Offline

 

#2018 2012-05-22 05:07:32

turkvu
Member
Registered: 2010-09-29
Posts: 30

Re: [REL] Transmission 1.3

Just installed 0.7 and transmission 2.52 - then copied my old /.transmission-daemon directory over. Now when I try to start transmission I get Permission denied on settings.json and transmission-daemon.log. Here are the permissions:

Code:

drwxr-xr-x  5 root root    4096 May 22 01:55 .
drwxrwxrwx 14 root root    4096 May 22 01:55 ..
-rwxr-xr-x  1 root root    4222 May 22 01:55 automatic.conf
-rwxr-xr-x  1 root root   74734 May 22 01:55 automatic.log
-rwxr-xr-x  1 root root   43095 May 22 01:55 automatic.state
drwxr-xr-x  2 root root    4096 May 22 01:55 blocklists
-rw-------  1 root root     706 May 22 01:55 dht.dat
drwxr-xr-x  2 root root    4096 May 22 01:55 resume
-rw-------  1 root root    2513 May 22 01:56 settings.json
-rw-------  1 root root     165 May 22 01:55 stats.json
drwxr-xr-x  2 root root    4096 May 22 01:55 torrents
-rwxr-xr-x  1 root root 8666873 May 22 01:55 transmission-daemon.log

What should they be? And I'm not great at linux, so the command for fixing would be great. Thanks!

Offline

 

#2019 2012-05-22 10:03:55

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

Re: [REL] Transmission 1.3

The default startup script (/ffp/start/transmission.sh) will launch Transmission with the rights of the user "nobody" (it's a special user).
So unless you modified that script, and always run Transmission as root, it won't be able to access those files.

You can change the owner of the files with this:

Code:

$ chown -R nobody:501 /your/transmission/settings/folder

(I believe this is all explained in the first post).

Offline

 

#2020 2012-05-22 10:05:49

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

Re: [REL] Transmission 1.3

Also, just fyi: When updating to a new version of Transmission, your settings folder remains completely untouched. All you should do before updating is stopping Transmission, so its files can be overwritten.
There's no need to copy settings around.

Offline

 

#2021 2012-05-22 14:59:43

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

Re: [REL] Transmission 1.3

KyleK wrote:

All you should do before updating is stopping Transmission, so its files can be overwritten.

Unless you have performed other edit such as to the start/transmission.sh script smile


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

Offline

 

#2022 2012-05-22 15:00:46

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

Re: [REL] Transmission 1.3

On ffp-0.7, even the startup scripts aren't overwritten anymore smile

Offline

 

#2023 2012-05-23 17:27:33

turkvu
Member
Registered: 2010-09-29
Posts: 30

Re: [REL] Transmission 1.3

KyleK wrote:

The default startup script (/ffp/start/transmission.sh) will launch Transmission with the rights of the user "nobody" (it's a special user).
So unless you modified that script, and always run Transmission as root, it won't be able to access those files.

You can change the owner of the files with this:

Code:

$ chown -R nobody:501 /your/transmission/settings/folder

(I believe this is all explained in the first post).

Got it working now, thanks.

Offline

 

#2024 2012-05-24 05:43:26

Nassai
New member
Registered: 2012-05-24
Posts: 1

Re: [REL] Transmission 1.3

I am trying to download the Transmission packages. I was able to download curl, but the Transmission link doesn't seem to be working?

Offline

 

#2025 2012-05-24 08:37:36

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

Re: [REL] Transmission 1.3

Yes, the site is currently down. I hope to have it up again in a couple of hours.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB