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

#2201 2013-01-24 14:10:24

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Transmission 1.3

armf.

Transmission log? I tried to find it, but have been unable to do so.
where is it?

Offline

 

#2202 2013-01-24 14:22:15

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Transmission 1.3

OK, found the log and Transmission is watching "/mnt/HD_a2/public/Torrents" for new .torrent files
So that is correct I guess.

I am beginning to be afraid that it is a rights issue.
The Torrents dir is owned by admin and access by everyone.
The torrent file I put in there, has the same rights.

Now, I don't know what user the daemon is running under, I think it is admin.
Thanks for your help, really appreciated.

Offline

 

#2203 2013-01-24 14:41:41

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Transmission 1.3

Well, I don't know what happened.
I put a new torrent file in the folder and wow, it is downloading.

So thank you for your help and I am really happy.

Lykle

Offline

 

#2204 2013-01-24 17:50:08

jester8562
Member
Registered: 2013-01-15
Posts: 5

Re: [REL] Transmission 1.3

Thank you for compiling that for me!  I am still messing around with settings trying to get the data right.  If all else fails, I'll revert back to 2.03.

Offline

 

#2205 2013-02-02 17:14:19

tharos
New member
Registered: 2013-02-02
Posts: 1

Re: [REL] Transmission 1.3

satlover1 wrote:

well i spent 4 days to make transmission work with dns 320l.
first off all i was going insane with fun flug 0.7-can't make ssh connection with putty- find solution with
sshd_start()
{
    # need sshd user and group for priviledge separation
    if ! grep '^sshd:' /etc/passwd >/dev/null; then
        echo 'sshd:x:33:33:sshd:/:/bin/false' >>/etc/passwd
    fi
    if ! grep '^sshd:' /etc/shadow >/dev/null; then
        echo 'sshd:*:9797:0:::::' >>/etc/shadow
    fi
    if ! grep '^sshd:' /etc/group >/dev/null; then
        echo 'sshd::33:sshd' >>/etc/group
    fi

    # generate host keys
    if [ ! -r /ffp/etc/ssh/ssh_host_key ]; then
        /ffp/bin/ssh-keygen -t rsa1 -f /ffp/etc/ssh/ssh_host_key -N ''
    fi
    if [ ! -r /ffp/etc/ssh/ssh_host_dsa_key ]; then
        /ffp/bin/ssh-keygen -t dsa -f /ffp/etc/ssh/ssh_host_dsa_key -N ''
    fi
    if [ ! -r /ffp/etc/ssh/ssh_host_rsa_key ]; then
        /ffp/bin/ssh-keygen -t rsa -f /ffp/etc/ssh/ssh_host_rsa_key -N ''
    fi
    if [ ! -f /etc/ssh/ssh_host_ecdsa_key ]; then
        /ffp/bin/ssh-keygen -t ecdsa -f /ffp/etc/ssh/ssh_host_ecdsa_key -N ''
    fi
    chmod 700 /ffp/var/lib/sshd/
    chmod 700 /ffp/etc/ssh/ssh_*
    proc_start $command

sshd must have the last 3 lines for putty to work well.
then on transmission, i started with the command
transmission-daemon -g /mnt/HD/HD_a2/.transmission-daemon -f,nothing like nobody...works for me
i had all the errors like tr crypto 00000000.....etc and 403 forbidden.......
for me work"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,
    "blocklist-url": "http://www.example.com/blocklist",
    "cache-size-mb": 2,
    "dht-enabled": true,
    "download-dir": "/mnt/HD/HD_a2/Download",
    "download-queue-enabled": true,
    "download-queue-size": 5,
    "encryption": 0,
    "idle-seeding-limit": 30,
    "idle-seeding-limit-enabled": false,
    "incomplete-dir": "/home/nobody/Downloads",
    "incomplete-dir-enabled": false,
    "lpd-enabled": false,
    "message-level": 2,
    "peer-congestion-algorithm": "",
    "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": "default",
    "pex-enabled": true,
    "port-forwarding-enabled": true,
    "preallocation": 1,
    "prefetch-enabled": 0,
    "queue-stalled-enabled": true,
    "queue-stalled-minutes": 30,
    "ratio-limit": 2,
    "ratio-limit-enabled": false,
    "rename-partial-files": true,
    "rpc-authentication-required": true,
    "rpc-bind-address": "0.0.0.0",
    "rpc-enabled": true,
    "rpc-password": "{778505bf3dc8f12d9a34f65da120a90d2fa021d3rnB4wQ7H",
    "rpc-port": 9091,
    "rpc-url": "/transmission/",
    "rpc-username": "",
    "rpc-whitelist": "127.0.0.1,192.168.*.*",
    "rpc-whitelist-enabled": true,
    "scrape-paused-torrents-enabled": true,
    "script-torrent-done-enabled": false,
    "script-torrent-done-filename": "",
    "seed-queue-enabled": false,
    "seed-queue-size": 10,
    "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,
    "utp-enabled": true

i delete here my username pass

hope i help people with 320l-it's very good to run torrents with the pc closed

I have a DNS320L NAS and I'm trying to install Transmission. I can install it without problems, but i can't access via web or remote gui, and also the daemon stop working. Could you give me some guidelines of the steps you followed to install Transmission on DNS320L?

Thank you.

Offline

 

#2206 2013-02-04 22:16:06

Boogieman
Member
Registered: 2011-02-19
Posts: 8

Re: [REL] Transmission 1.3

Hi

Transmission 2.60 (kyleks version for DNS-323)

Why is the transmission-daemon.log using all my CPU (86%-95%) and a huge virtual mem?
I have tried renaming it to .old to force transmission to start on a clean slate log file with 0 bytes but the results is the same as can se be seen below.
IF i look in the log with VI though it is indeed clean, but the CPU usage and virtual size stays the same when i look with TOP?

  PID  PPID USER     STAT   VSZ %MEM %CPU COMMAND
17476 17475 nobody   R    26544  43%  86% /ffp/bin/transmission-daemon -g /mnt/HD_a2/.transmission-daemon -e /mnt/HD_a2/.transmission-daemon/transmission-daemon.log
   50     5 root     SW       0   0%   2% [pdflush]
17850 17235 root     R     1360   2%   0% top
17477 17475 nobody   S    26544  43%   0% /ffp/bin/transmission-daemon -g /mnt/HD_a2/.transmission-daemon -e /mnt/HD_a2/.transmission-daemon/transmission-daemon.log
17474     1 nobody   S    26544  43%   0% /ffp/bin/transmission-daemon -g /mnt/HD_a2/.transmission-daemon -e /mnt/HD_a2/.transmission-daemon/transmission-daemon.log
17475 17474 nobody   S    26544  43%   0% /ffp/bin/transmission-daemon -g /mnt/HD_a2/.transmission-daemon -e /mnt/HD_a2/.transmission-daemon/transmission-daemon.log

Any ideas how to get around this?
I have tested to remove some stopped torrents to no avail.

Best regards
Boogieman

Last edited by Boogieman (2013-02-04 22:26:10)

Offline

 

#2207 2013-02-06 08:22:42

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

Re: [REL] Transmission 1.3

It's not the logfile that's using up your CPU, it's Transmission itself (what you see there is the complete command that Transmission was started with).

The DNS-323 is not the most powerful device, with not much RAM, so Transmission will use up quite a bit of resources when you:
a) download many torrents at once
b) at high speeds
c) have encryption enabled
d) have large/many blocklists

Another reason for high CPU usage could be if you specified an "incomplete downloads" folder that sits on a different hard disk than the "complete downloads" folder.
In that case Transmission moves completed torrents from one disk to another, which uses up CPU.

Offline

 

#2208 2013-02-13 14:25:50

xzempt
Member
Registered: 2013-02-13
Posts: 7

Re: [REL] Transmission 1.3

Having some troubles with getting the watch-dir to work. The log says it has seen the new torrent file, but it doesn't start to download them. Here is a copy of the log from last startup.


[22:02:28.518] Transmission 2.76 (13802) started (session.c:722)
[22:02:28.518] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:803)
[22:02:28.518] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:803)
[22:02:28.518] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091/transmission/ (rpc-server.c:997)
[22:02:28.519] RPC Server Whitelist enabled (rpc-server.c:1001)
[22:02:28.519] RPC Server Password required (rpc-server.c:1004)
[22:02:28.519] UDP Failed to set receive buffer: requested 4194304, got 208896 (tr-udp.c:77)
[22:02:28.519] UDP Please add the line "net.core.rmem_max = 4194304" to /etc/sysctl.conf (tr-udp.c:82)
[22:02:28.520] UDP Failed to set send buffer: requested 1048576, got 208896 (tr-udp.c:88)
[22:02:28.520] UDP Please add the line "net.core.wmem_max = 1048576" to /etc/sysctl.conf (tr-udp.c:93)
[22:02:28.520] Using settings from "/mnt/HD_a2/.transmission-daemon" (daemon.c:517)
[22:02:28.520] Saved "/mnt/HD_a2/.transmission-daemon/settings.json" (bencode.c:1733)
[22:02:28.521] transmission-daemon requiring authentication (daemon.c:537)
[22:02:28.521] Watching "/mnt/HD_a2/TorrentWatch" for new .torrent files (daemon.c:555)
[22:02:28.521] Using readdir to watch directory "/mnt/HD_a2/TorrentWatch" (watch.c:162)
[22:02:28.521] Loaded 2 torrents (session.c:1943)
[22:02:28.522] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:72)
[22:02:28.522] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:72)
[22:02:28.522] Found new .torrent file "*TORRENT NAME BLANKED OUT*.torrent" in watchdir "/mnt/HD_a2/TorrentWatch" (watch.c:228)
[22:02:35.557] Port Forwarding Starting (port-forwarding.c:93)
[22:02:35.557] Port Forwarding Starting (port-forwarding.c:93)
[22:09:51.157] Searching for web interface file "/home/nobody/.local/share/transmission/web/index.html" (platform.c:539)
[22:09:52.163] Searching for web interface file "/ffp/share/transmission/web/index.html" (platform.c:539)

Any help would be greatly appreciated.

Oh, BTW this is on a DNS-323 running FFP 0.7 oabi
Thanks

Offline

 

#2209 2013-02-14 09:18:47

xzempt
Member
Registered: 2013-02-13
Posts: 7

Re: [REL] Transmission 1.3

Suggestions anyone? Happy to provide more info in there is something you would like to know....

Offline

 

#2210 2013-02-14 10:07:53

xzempt
Member
Registered: 2013-02-13
Posts: 7

Re: [REL] Transmission 1.3

Actually, can the watch-dir feature of Transmission and the use-tranmission feature of Automatic both be used simultaneously?
Or can you only use one or the other?

X

Offline

 

#2211 2013-02-14 15:37:16

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

Re: [REL] Transmission 1.3

It's strange that Transmission apparently found a new torrent, but then the torrent isn't actually processed. I assume there was something wrong with the torrent and Transmission decided to discard it. It's strange though that there is no further logging.


Regarding Automatics "use-transmission" option: you can use that and Transmission's watchdir functionality at the same time, as they're not relevant to each other.

Offline

 

#2212 2013-02-15 02:46:02

xzempt
Member
Registered: 2013-02-13
Posts: 7

Re: [REL] Transmission 1.3

I'm kinda giving up on using the watch-dir function anyway, cause I just wanted to use it to add a heap of old torrent files to Transmission. I'll just have to do it the slow way and add them to the rss feed. Because the use-transmission function and is working fine and downloading the new torrents in the feed fine.

Although I did notice something that may be relevant. I tried disabling the use-tranmission feature and tried to just get automatic to save the torrent file to the watch directory. It did try to safe the file, but it just save a file with a weird title (bunch of letters etc) and when I opened it up it looked like data that would be relevant to a torrent file.
So I'm guessing it could of been permission issues or something so that it wasn't saving the file name correct or something, which in turn could have something to do with Transmission not reading from the watch-dir properly.
Either way, as long as the use-transmission function is working fine, I;ll be happy big_smile

Thanks
X

Offline

 

#2213 2013-02-17 09:59:29

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Transmission 1.3

Well, I had to re-install everything, including Transmission.
And that is when the trouble started.

When I enter the su nobody -c ..... command, it comes back with: Unknown cipher type

And transmission has not started.

Any ideas?

By the way, I get the same error when I do a "transmission.sh start" command.
When I just enter "transmission-daemon" in root, it runs, but uses wrong directories and rights.

Last edited by lykle (2013-02-17 10:07:50)

Offline

 

#2214 2013-02-17 16:11:11

lykle
Member
Registered: 2013-01-24
Posts: 13

Re: [REL] Transmission 1.3

Never mind, I found my error.

I had not assigned a good shell to the user "nobody" and that was causing it.
So I used usermod to change the shell to an existing one (bash) and everything worked perfectly.

Thanks for a great piece of software.

Offline

 

#2215 2013-02-22 16:15:10

matej9o
New member
Registered: 2013-02-22
Posts: 3

Re: [REL] Transmission 1.3

Hi

I need some help with booting transmission (2.03 version) automaticly with DNS323. I serach for for some answers and find this teather: http://dns323.kood.org/forum/viewtopic.php?id=5241 .I do everything like it says in teather, reboot NAS and no joy.
After that found this: http://dns323.kood.org/forum/viewtopic. … 579#p16579 and after that, still I can't get transmission working after boot. Can I get some more sugestion what to do ?

Know this is offtopic but also need some help with unrar files download with transmission. I downloaded ARM unrar (http://www.rarlab.com/rar/unrar-3.9.9-arm.gz) on Win machine and extract unrar file and put it in /ffp/bin. When I try to unrar some movi, I get no permission message so I put chmod to 777. After that  when move in console in folder where is movie and try to unrar I get

# unrar e file.r00
-sh: unrar: not found

Don't understand how it is not found when I'm in folder where file.r00 is. Any help with that ?

Last edited by matej9o (2013-02-22 16:18:21)

Offline

 

#2216 2013-02-22 19:34:07

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

Re: [REL] Transmission 1.3

Are you able to start transmission using the shell script in /ffp/start?

The error message is saying that unrar is not found, not that file.r00 is not found. Ensure eunrar is on your path.

Last edited by FunFiler (2013-02-22 19:34:57)


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

Offline

 

#2217 2013-02-22 21:02:28

matej9o
New member
Registered: 2013-02-22
Posts: 3

Re: [REL] Transmission 1.3

FunFiler wrote:

Are you able to start transmission using the shell script in /ffp/start?

The error message is saying that unrar is not found, not that file.r00 is not found. Ensure eunrar is on your path.

Yes I can start Transmission through console with comand

Code:

/ffp/start/transmission.sh start

and I must do that every time when I reboot NAS.

Can you give me some links with tutorial how to properly install/use unrar on DNS323 ? I'm little bit new to all this.

Offline

 

#2218 2013-02-22 23:59:38

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

Re: [REL] Transmission 1.3

If the script has execute permissions, the FFP script should start it automatically. Check the FFP log to see what is going on.


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

Offline

 

#2219 2013-02-23 01:26:50

matej9o
New member
Registered: 2013-02-22
Posts: 3

Re: [REL] Transmission 1.3

FunFiler wrote:

If the script has execute permissions, the FFP script should start it automatically. Check the FFP log to see what is going on.

I manage to get transmission start up on boot. The FFP script wasn't enabled for boot in Services menu.
I saw here on the forum some scripts for transmission to unrar and delete rar files after downloading. Is there any that will unrar files and move files in other folder but leave original rar for seeding ?

Offline

 

#2220 2013-02-23 13:46:55

r00t.ati
Member
From: Italy
Registered: 2011-05-19
Posts: 5
Website

Re: [REL] Transmission 1.3

"http://kylek.is-a-geek.org:31337/" is down, is it normal?
FIXED

Last edited by r00t.ati (2013-02-27 14:11:15)

Offline

 

#2221 2013-03-09 00:48:59

echomrg
New member
Registered: 2013-03-09
Posts: 2

Re: [REL] Transmission 1.3

Hi all,
I'm a total newb here so forgive me if my question is stupid.
I went through all the 89 pages of this thread looking for my problem but couldn't find anything.

I just installed fun_plug 0.7 following this guide:
http://nas-tweaks.net/371/hdd-installat … s-devices/

and then tried installing transmission with the guide on this thread.

everything went fine until i tried launching the daemon, then i got the following response:

root@little-foot:~# su nobody -c "/ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Torrents -t -u username -v password -a 127.0.0.1,192.168.*.*"
/ffp/bin/transmission-daemon: can't resolve symbol 'posix_fadvise64'

and the daemon don't start.

any idea?
thanks!
Marcello

Offline

 

#2222 2013-03-09 00:59:54

echomrg
New member
Registered: 2013-03-09
Posts: 2

Re: [REL] Transmission 1.3

Ok, sorry, i actually found something here:
http://dns323.kood.org/forum/viewtopic. … 254#p45254
the message is from 2012-02-10 and says:

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

is that still true?

echomrg wrote:

Hi all,
I'm a total newb here so forgive me if my question is stupid.
...
root@little-foot:~# su nobody -c "/ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Torrents -t -u username -v password -a 127.0.0.1,192.168.*.*"
/ffp/bin/transmission-daemon: can't resolve symbol 'posix_fadvise64'

and the daemon don't start.

Offline

 

#2223 2013-03-10 09:57:38

vattenspindelmannen
New member
Registered: 2013-03-10
Posts: 1

Re: [REL] Transmission 1.3

Hi,

I've installed 2.77 onto a DNS-320. It worked fine the first time I ran Transmission. Now when I try to start I get "can't load library 'librt.so.0'. I can find it in the library folder. Any suggestions on how to fix?

Offline

 

#2224 2013-03-12 10:11:25

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

Re: [REL] Transmission 1.3

echomrg wrote:

Ok, sorry, i actually found something here:
http://dns323.kood.org/forum/viewtopic. … 254#p45254
the message is from 2012-02-10 and says:

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

is that still true?

echomrg wrote:

Hi all,
I'm a total newb here so forgive me if my question is stupid.
...
root@little-foot:~# su nobody -c "/ffp/bin/transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Torrents -t -u username -v password -a 127.0.0.1,192.168.*.*"
/ffp/bin/transmission-daemon: can't resolve symbol 'posix_fadvise64'

and the daemon don't start.

No, that's not correct anymore. Owners of the older devices (DNS-323, CH3SNAS) should use ffp-0.7-oabi and the respective packages.
(Unfortunately, some packagers still name their packages <name>-oarm.txz even though the package is actually oabi. Thus be careful where you get the packages from.

Offline

 

#2225 2013-03-12 10:12:33

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

Re: [REL] Transmission 1.3

vattenspindelmannen wrote:

Hi,

I've installed 2.77 onto a DNS-320. It worked fine the first time I ran Transmission. Now when I try to start I get "can't load library 'librt.so.0'. I can find it in the library folder. Any suggestions on how to fix?

Sounds weird. Maybe you installed the wrong package (oarm instead of arm or some such?).
What does "ldd `which transmission-daemon`" say?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB