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

#1451 2010-11-22 10:20:40

track2
New member
Registered: 2010-11-22
Posts: 1

Re: [REL] Transmission 1.3

How can I skip verify when want "re-seed" my files?? HELP ,verification take too much time!!!!please help me

Offline

 

#1452 2010-11-22 13:24:56

breasthead
Member
Registered: 2009-02-05
Posts: 38

Re: [REL] Transmission 1.3

FunFiler wrote:

Looks like something went wrong with your FFP install.

Yeah thats what I figured, so I've formatted the drives and started again....3 times!

I know this is prob the wrong place, but since my problem only happens when I try and run the initial command-line startup:

Code:

# su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/SHARE/Downloading -a 127.0.0.1,192.168.*.*" 
su: cannot run /bin/sh:/ffp/bin/bash: No such file or directory

All I've done since format is;

1) Place fun_plug and fun_plug.tgz in Volume_1
restart
2) Telnet in and activate root user:

Code:

#pwconv 
#passwd
#usermod -s /ffp/bin/sh root
#login
#store-passwd.sh

3) Activate SSH (and de-activate telnet)

Code:

#chmod a+x /ffp/start/sshd.sh
#sh /ffp/start/sshd.sh start
#chmod a-x /ffp/start/telnetd.sh

4)Copy over the packages Transmission-2.12-1.tgz, curl-7.18.1.tgz
5)Install and try and start

Code:

#funpkg -i curl-7.18.1.tgz
#funpkg -i Transmission-2.12-1.tgz
# su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/SHARE/Downloading -a 127.0.0.1,192.168.*.*" 
su: cannot run /bin/sh:/ffp/bin/bash: No such file or directory

What have I forgotten to do? I know it must be something simple, but I can't for the life of me figure it out!
If anyone can see a mistake here please let me know.

Cheers,
B

Offline

 

#1453 2010-11-22 14:23:32

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

Re: [REL] Transmission 1.3

It seems your install of funplug is missing bash. It is a separate package provided by fonz and must be installed separately.
I'd say install it and try again.

Although I honestly don't know what in the failing command is using bash.

Offline

 

#1454 2010-11-22 14:25:12

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

Re: [REL] Transmission 1.3

track2 wrote:

How can I skip verify when want "re-seed" my files?? HELP ,verification take too much time!!!!please help me

If you want to seed files that you haven't seeded before, you can't skip the verify. Transmission has to know which parts you already have (and it cannot know beforehand that you already have all pieces).
A verification might also occur if you had a power failure or didn't shut down Transmission cleanly.

Offline

 

#1455 2010-11-22 14:34:04

razor_xxx
Member
Registered: 2010-11-11
Posts: 7

Re: [REL] Transmission 1.3

Hi everybody,
I wonder if there's some package or piece of code that controls the fan speed in CH3HNAS or similar, cos it's very noisy, and other one that enables sending alerts (overtemperature, failure, ...)
Thanks!

Offline

 

#1456 2010-11-22 14:41:56

breasthead
Member
Registered: 2009-02-05
Posts: 38

Re: [REL] Transmission 1.3

KyleK wrote:

It seems your install of funplug is missing bash. It is a separate package provided by fonz and must be installed separately.
I'd say install it and try again.

Although I honestly don't know what in the failing command is using bash.

Hi KyleK, thanks for the suggestion. I've downloaded and installed bash-3.2-3.tgz from fonz repository, restarted and tried again but still no luck, still getting the same error?

I have tried installing all fonz's packages on previous attempts, doing (as is suggested in fonz readme):

Code:

# cd /mnt/HD_a2
# rsync -av inreto.de::dns323/fun-plug/0.5/packages .
# cd packages
# funpkg -i *.tgz

But that still didn't get it going? .... hrmmmmm...

Cheers,
B

EDIT
I just re-installed all the fonz packages (code as above), rebooted, and still getting the same errors..

Last edited by breasthead (2010-11-22 15:29:47)

Offline

 

#1457 2010-11-22 16:57:42

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

Re: [REL] Transmission 1.3

razor_xxx wrote:

Hi everybody,
I wonder if there's some package or piece of code that controls the fan speed in CH3HNAS or similar, cos it's very noisy, and other one that enables sending alerts (overtemperature, failure, ...)
Thanks!

This has nothing to do with the topic. I suggest you try and search this forum.


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

 

#1458 2010-11-22 17:45:47

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

Re: [REL] Transmission 1.3

@breasthead: Can you start bash on the console? What does this command do:

Code:

$ which bash

If those work, you can try and change your default shell to bash:

Code:

$ usermod -s /ffp/bin/bash root

and log in again.

Please also check if user nobody exists.
And: Can you run Transmission as user root?

Code:

$ transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/SHARE/Downloading -a 127.0.0.1,192.168.*.*

Offline

 

#1459 2010-11-23 05:35:30

Soprano
Member
Registered: 2009-01-18
Posts: 17

Re: [REL] Transmission 1.3

Something is wrong with the latest update. I was running 1.92 for along time with no issues, once I upgraded to 2.12, Every torrent from a few private trackers and public trackers error out with "Announce error: tracker did not respond - Today 09:33:58 PM
Next announce in 31 min 45 seconds"

I did get it to work after rebooting my router, but any newly added torrents gave this same error. I even tried downgrading back to 1.92, and I still have this issue. Any ideas?

Offline

 

#1460 2010-11-23 08:03:40

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

Re: [REL] Transmission 1.3

Since it continues even though you reloaded an old versions, I'd have to say it isn't an issue with the new release. Have you verified all the settings in your configuration file? When you rolled back, did you restore a backup configuration file? Are there errors in yout log file? Does it capture the ports and do UPNP port forwarding?


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

Offline

 

#1461 2010-11-23 08:18:59

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

Re: [REL] Transmission 1.3

Ehen Transmission gives an error about a tracker not responding, in 90% of the cases it is just that: the tracker did not respond smile Maybe it was offline for maintenance, or under heavy load, or your ISPs DNS failed and couldn't resolve the IP.

Just wait for a while, and check with others on the tracker if they have similar problems.

Offline

 

#1462 2010-11-23 08:34:51

breasthead
Member
Registered: 2009-02-05
Posts: 38

Re: [REL] Transmission 1.3

@KyleK

Hi again. First thanks again for giving me some more things to try. Last night I was again frustrated with this and formatted the HDD's again before going to sleep, so I'm starting again on a clean minimal install. I've done nothing more than fun_plug, curl, transmission and bash (in that order).

Code:

# which bash
/ffp/bin/bash
... to elaborate, I've installed bash-3.2-3.tgz ..

I tried switching to bash shell, logging out and back and still get the same error:
su: cannot run /bin/sh:/ffp/bin/bash: No such file or directory

My users are as follows:

Code:

#cat /etc/passwd
root:x:0:0:Linux User,,,:/home/root:/ffp/bin/bash
admin:x:500:500:Linux User,,,:/home/admin:/bin/sh
nobody:x:501:501:Linux User,,,:/home/nobody:/bin/sh:/ffp/bin/bash
sshd:x:33:33:sshd:/:/bin/false
avahi:x:1000:3::/home/ftp:/ffp/bin/sh
messagebus:x:1001:3::/home/ftp:/ffp/bin/sh
brent:x:1002:1002:Linux User,,,:/home/ftp:/bin/sh

It appears that the nobody user is there. Actually, looking at this, I don't understand why there is an avahi user there still? I haven't re-done all the avahi stuff yet this time?


And yes ... I forgot to mention that earlier, I can run as user root with:

Code:

# transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/SHARE/Downloading -a 127.0.0.1,192.168.*.*
[15:49:47.853] Transmission 2.12 (11423) started (session.c:622)
[15:49:47.854] RPC Server Adding address to whitelist: 127.0.0.1 (rpc-server.c:789)
[15:49:47.854] RPC Server Adding address to whitelist: 192.168.*.* (rpc-server.c:789)
[15:49:47.855] RPC Server Serving RPC and Web requests on port 9091 (rpc-server.c:962)
[15:49:47.855] RPC Server Whitelist enabled (rpc-server.c:966)
[15:49:47.856] DHT Generating new id (tr-dht.c:384)
[15:49:47.856] Using settings from "/mnt/HD_a2/.transmission-daemon" (daemon.c:483)
[15:49:47.856] Saved "/mnt/HD_a2/.transmission-daemon/settings.json" (bencode.c:1686)
[15:49:47.857] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c:70)
[15:49:47.857] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c:70)
[15:49:55.901] Port Forwarding State changed from "Not forwarded" to "Starting" (port-forwarding.c:95)
[15:49:55.902] Port Forwarding State changed from "Starting" to "???" (port-forwarding.c:95)
[15:50:14.008] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:241)
...but this is the last of the output it sits here for several minutes with nothing more happening so ctrl. c to quit.

Cheers,
B

Offline

 

#1463 2010-11-23 14:10:29

Soprano
Member
Registered: 2009-01-18
Posts: 17

Re: [REL] Transmission 1.3

KyleK wrote:

Ehen Transmission gives an error about a tracker not responding, in 90% of the cases it is just that: the tracker did not respond smile Maybe it was offline for maintenance, or under heavy load, or your ISPs DNS failed and couldn't resolve the IP.

Just wait for a while, and check with others on the tracker if they have similar problems.

This doesn't happen with the exact same torrent on the latest OS X version of Transmission, or on utorrent for Windows...

Offline

 

#1464 2010-11-23 22:21:54

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

Re: [REL] Transmission 1.3

@Soprano Can you ping the tracker from the NAS? What about the Windows and/or Mac machine, do they all resolve to the same IP address?

If you can reproduce the problem then please report it to the Transmission devs. Although I really can't think of a reason why it would work on the Mac but not the NAS.

(Except: if the tracker is really overloaded, getting a response will be hit-or-miss. Your Mac/Windows clients may just have gotten lucky.)

Offline

 

#1465 2010-11-23 22:26:57

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

Re: [REL] Transmission 1.3

@breasthead

Running store-passwd.sh saves the passwd file to the flash ROM of the NAS, that's probably why there's still a user "avahi".

I think I found the culprit:
The shell entry for user nobody looks very fishy. There's one path too many there.

Try this:

Code:

$ usermod -s /bin/sh nobody

Offline

 

#1466 2010-11-24 08:28:46

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

Version 2.12 is crashing every day on my NAS. Other versions I had (eg. 2.03) worked for weeks without crashes. Maybe it depends on the torrents or the trackers'. Logs are never informative. They just stop at a certain point without a suspicious activity.

Offline

 

#1467 2010-11-24 08:37:31

breasthead
Member
Registered: 2009-02-05
Posts: 38

Re: [REL] Transmission 1.3

@KyleK

Thankyou so much for all your help, that was my problem, all good and back with Transmission!
Now to figure out why I was told to edit the nobody information ....

Cheers for everything mate,
B

Offline

 

#1468 2010-11-24 11:07:29

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

Re: [REL] Transmission 1.3

breasthead wrote:

Now to figure out why I was told to edit the nobody information ....

You just did smile


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

 

#1469 2010-11-24 11:14:20

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

Re: [REL] Transmission 1.3

irotjaf wrote:

Version 2.12 is crashing every day on my NAS. Other versions I had (eg. 2.03) worked for weeks without crashes. Maybe it depends on the torrents or the trackers'. Logs are never informative. They just stop at a certain point without a suspicious activity.

Could you please do a fresh start and set up Transmission from scratch? (best way is to rename the settings folder /mnt/HD_a2/.transmission-daemon to something else, and then follow the instructions from the first post.)

I know this can be painful, especially when you have lots of running downloads/seeds, but sometimes Transmission just doesn't like old cache files or something :)

So far you're the first person here that reports problems with 2.12, so for now I have to assume the problem is on your side.

(Keep in mind, the NAS has not much memory. If lots of stuff is running simultaneously, memory might get sparse, and sooner or later one running application will just call it quits)

Offline

 

#1470 2010-11-24 14:29:14

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

Re: [REL] Transmission 1.3

Actually, I posted an issue with Transmission 2.12 earlier in the thread smile

There is an issue with the gzip library when using the blocklist update option.


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

Offline

 

#1471 2010-11-24 15:26:04

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

Re: [REL] Transmission 1.3

Oh, there is? Is it known to the Transmission devs already?
If not, can you elaborate on how the problem solidifies?

I myself don't use the blocklist feature, maybe that's whay I haven't stumbled upon it yet.

Offline

 

#1472 2010-11-24 16:02:09

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

Re: [REL] Transmission 1.3

I didn't see any reference to it on the Transmission site. It looked to me more like a compile issue.

If you enable the blocklist update in settings.json and point it to the URL that is hardcoded in previous releases

Code:

    "blocklist-enabled": true, 
    "blocklist-url": "http://update.transmissionbt.com/level1.gz",

and then issue the update command (modifying for your actual port)

Code:

/ffp/bin/transmission-remote 9090 --blocklist-update

then the following error is logged and the daemon hangs

Code:

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

Although I was successful in modifying and compiling Automatic, I didn't manage to get Transmission to compile yet so I couldn't investigate further myself.

Last edited by FunFiler (2010-11-24 16:07:25)


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

Offline

 

#1473 2010-11-25 05:58:14

irotjaf
Member
Registered: 2010-08-05
Posts: 14

Re: [REL] Transmission 1.3

Today Transmission was kaput again. I checked the logs but nothing was special there. I had perhaps 100-150 torrents, but most of them were paused. I deleted most of them and will run Transmission again. Re-installing from scratch is a painful process which I may try after the actual doenloading torrent is finished.

P.s. I thought paused torrents doesn't load the machine, but who knows. Maybe there are a lot of connections for paused torrents which cause an overload...

Offline

 

#1474 2010-11-26 22:49:37

SkyNet
Member
Registered: 2009-01-14
Posts: 25

Re: [REL] Transmission 1.3

I am trying to update the blocklist from the Transmission Remote GUI web interface; unfortunately I get the following error:
gotNewBlocklist: http error 404:Not Found and then an Access Violation error.
Any ideas what could the problem be?

Also how can I connect to the transmission daemon using SSL?

Offline

 

#1475 2010-11-26 23:41:16

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

Re: [REL] Transmission 1.3

If you are running Transmission 2.12, I don't thing it will work even if you enter a proper URL value. See my post a few pages back on this issue.


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

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB