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

#2101 2012-08-16 15:50:05

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

Re: [REL] Transmission 1.3

tukaidea wrote:

i upgraded to firmware 1.09
reinstall fun_plug 0.5 according to the instruction on this tutorial http://bernaerts.dyndns.org/linux/178-dns323-funplug

but i am still getting the same result
root@dlink-753679:/mnt# /ffp/start/transmission.sh start
Starting transmission-daemon
/ffp/bin/transmission-daemon: can't resolve symbol 'posix_fadvise64'

You could try this:

Code:

$ readelf -s /ffp/lib/libuClibc-0.9.33-git.so | grep fadvise

(Your ffp-0.5 installation has a different version of uClicbc. Check your /ffp/lib folder for the correct library.)

It produces the following output on my machine:

Code:

 
43:    39: 0000c0a0    60 FUNC    GLOBAL DEFAULT    7 posix_fadvise64
308:   304: 0000c064    60 FUNC    GLOBAL DEFAULT    7 posix_fadvise

What I'm wondering: If the DNS-323 with ffp-0.5 doesn't have that symbol, why is it working for so many other people?

Offline

 

#2102 2012-08-16 16:18:04

BooLE
Member
Registered: 2012-04-23
Posts: 6

Re: [REL] Transmission 1.3

KyleK wrote:

Hm, that is weird. I've never heard of that library before, and it's definitely not a dependency for Transmission:

Code:

KyleK@DNS-325 ~/test/ffp/bin$ ldd transmission-daemon
        librt.so.0 => /ffp/lib/librt.so.0 (0x40002000)
        libcurl.so.4 => /ffp/lib/libcurl.so.4 (0x4000d000)
        libssl.so.1.0.0 => /ffp/lib/libssl.so.1.0.0 (0x4005d000)
        libcrypto.so.1.0.0 => /ffp/lib/libcrypto.so.1.0.0 (0x400ad000)
        libdl.so.0 => /ffp/lib/libdl.so.0 (0x40201000)
        libz.so.1 => /ffp/lib/libz.so.1 (0x4020c000)
        libm.so.0 => /ffp/lib/libm.so.0 (0x40227000)
        libgcc_s.so.1 => /ffp/lib/libgcc_s.so.1 (0x40241000)
        libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x40254000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x40270000)
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x2a000000)

(Besides, the only thing that changed between 2.60 and 2.61 where web files).

Does it work when you go back to Transmission 2.60?

It was a problem with Curl, because I upgraded it to 7.27, when I went back to 7.21.4 its is not asking for that library anymore.

Thanks!

Offline

 

#2103 2012-08-16 16:57:09

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

Re: [REL] Transmission 1.3

Hm. Whoever built that curl release apparently also had libiberty installed, which created the (strange) dependency.

Since the current 'official' curl on ffp-0.7 is rather old, I decided to build the latest version (7.27.0), it is available here.

Offline

 

#2104 2012-08-17 06:04:06

tukaidea
Member
Registered: 2012-08-12
Posts: 5

Re: [REL] Transmission 1.3

Thank you guys for all the suggestions !!

In the end I got it to work.. i've upgraded to ffp 0.7 and install one of the following Transmission

Transmission 2.60  (ffp-0.7-arm)
Transmission 2.60  (ffp-0.7-oabi)

Offline

 

#2105 2012-08-24 00:20:19

Komano
Member
Registered: 2011-06-10
Posts: 42

Re: [REL] Transmission 1.3

FunFiler wrote:

You can either change the user that it runs as or use the option to run a script after a download completes. In that script you can do whatever you want, oncluding altering permissions. You can also set a cron job to run a script on a directory recursively to set permissions. Lots of options.

Yeah i know but i was trying to get to the root of the problem. Seems like it might just be cranky after all. I found a "fix" for this. Basically all i have to do is not login at all when connecting via Samba. Just use the Guest User and apparently all the permissions work fine. Makes me wonder what the hell is going on. But since it works then who cares.

Offline

 

#2106 2012-08-30 17:34:33

R0b1n
Member
Registered: 2011-12-03
Posts: 51

Re: [REL] Transmission 1.3

Kylek thank you very much for your good work and your excellent tuto. Working like a charm on my NAS big_smile

Last edited by R0b1n (2012-08-30 17:35:11)

Offline

 

#2107 2012-09-01 18:45:40

obveron
Member
Registered: 2008-11-01
Posts: 36

Re: [REL] Transmission 1.3

KyleK wrote:

For those of you running ffp-0.7-arm, you can grab Transmission v2.61 from here (or via Slacker).
This version fixes some security issues with the web interface.

I'm sorry I haven't yet found the time to update the other versions as well.

Hi KyleK, any chance you've found the time to compile 2.61 for ffp 0.5?  Thanks so much for your builds!

Offline

 

#2108 2012-09-02 03:56:16

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

Re: [REL] Transmission 1.3

obveron wrote:

Hi KyleK, any chance you've found the time to compile 2.61 for ffp 0.5?  Thanks so much for your builds!

KyleK wrote:

(Besides, the only thing that changed between 2.60 and 2.61 where web files)

You could edit or download just the web files that changed and apply.

Offline

 

#2109 2012-09-02 20:14:49

obveron
Member
Registered: 2008-11-01
Posts: 36

Re: [REL] Transmission 1.3

Hmm, that won't change the peer id, it will still report version 2.60.

Offline

 

#2110 2012-09-04 00:25:53

dottortanzy
Member
Registered: 2011-04-27
Posts: 18

Re: [REL] Transmission 1.3

Hi everybody .I need the 2.61 for ffp 0.5 because the other version are banned in a private tracker where I registered . Thanks a lot

Offline

 

#2111 2012-09-04 06:09:22

staeit
Member
Registered: 2011-07-27
Posts: 17

Re: [REL] Transmission 1.3

So I recently had to re-do my entire FFP because for some reason on my old setup, SSH wouldn't start. Anyways, I updated the firmware (DNS-320 2.02), formatted the HDD, and then installed FFP 0.7. I then installed (among several other things) Transmission 2.61 from KyleK via slacker.

It performed very slowly. On my previous setup I had ffp 0.5 with Transmission 2.42, which worked marvelously. I would max out my torrents, get a full 2.8-2.9 MB/s download speed, and it would connect to 58-60 peers.

On my current setup, I tried a torrent I know that I can max my connection out on. With my NAS, it was slow to connect, and then it would speed up but then randomly drop speeds. I'd average maybe 1.2 MB/s download. Having deleted that torrent, I then tried the exact same one on utorrent on my computer (same torrent, same external network), and it would max out at ~2.8 MB/s for the entire download. I observed this behavior with Transmission 2.61 on ffp 0.7, and so I then removed the 2.61 package, and reinstalled 2.42 package for FFP 0.7. I got similar results. It was like it had trouble connecting to peers.

Any ideas? A couple of key differences from my old setup:
- because of trouble with some post torrent scripts, on my ffp 0.5 setup I ran transmission as root. Now I'm running as 'nobody' since I basically started from scratch and wanted to do it right smile Just tested it running as root as well, same behavior.
- I installed KyleK's curl 7.27.0 as Transmission asked for it as a dependency
- I installed Transmission 2.61 first, then when it wasn't downloading as fast as I knew my NAS was capable of (to reiterate, it used to run at the full download speed all the time), I removed everything and installed 2.42, and observed the same problem

Any suggestions are welcome. The torrents were not the issue because I tried them on my computer and they downloaded at full speed. Also I checked the running processes ('top') and the CPU is typically at 0%, and then when I saw high download speeds in transmission webui, it would go up to ~45-50%, and when download speeds went back down to ~300-400 KB/s the CPU usage was about 10%.

My port is forwarded properly.

EDIT: fixed. I uninstalled KyleK's Transmission, then reinstalled the one from another repository. It then asked for libevent dependency, which I added. Now getting a solid 2.8-2.9 MB/s on Transmission 2.42. No idea why KyleK's releases seemed to be giving me difficulty.

Last edited by staeit (2012-09-04 06:56:09)

Offline

 

#2112 2012-09-06 14:12:15

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

Re: [REL] Transmission 1.3

Hey guys,

Transmission v2.61 is now available for all platforms!
Go to the first post for download links.

As always, let me know if something doesn't work right smile

Offline

 

#2113 2012-09-07 11:31:58

ordord
New member
Registered: 2012-09-07
Posts: 4

Re: [REL] Transmission 1.3

Thanks Kylek....both arm and oabi versions are working like a charm on ffp 0.7

Offline

 

#2114 2012-09-07 17:12:01

obveron
Member
Registered: 2008-11-01
Posts: 36

Re: [REL] Transmission 1.3

Thanks KyleK!

Offline

 

#2115 2012-09-10 21:50:08

dottortanzy
Member
Registered: 2011-04-27
Posts: 18

Re: [REL] Transmission 1.3

thanks a lot KyleK

Offline

 

#2116 2012-09-12 16:50:30

inalvi
New member
Registered: 2012-09-12
Posts: 2

Re: [REL] Transmission 1.3

hi kylek

need some help im stuck here trying to install transmission.

root@dlink:~# su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t -u <username> -v <password> -a 127.0.0.1,192.168.*.*"
/bin/sh: cannot open username: no such file

Offline

 

#2117 2012-09-12 20:23:17

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: [REL] Transmission 1.3

Hi inalvi,

If you copied the line as you ran it, the problem is with the <username> and <password> syntax.
You should change the <username> and <password> in other text.
Like:

Code:

su nobody -c "transmission-daemon -f -g /mnt/HD_a2/.transmission-daemon -w /mnt/HD_a2/Downloads -t -u  mytorrents -v difficultpassword -a 127.0.0.1,192.168.*.*"

The <username> is quite commonly used in commands to show which part should be changed by the user self...

The error you see is due to the '<' character. The '<' and '>' can be used to redirect input and output of a command.
In this case '<username' wants to use a file called username as input for transmission-daemon.
the > -v wants to redirect the output of transmission-daemon to a file called '-v'. As a problem already occured with username otherwise the same holds for <password>.

The '<' and '>' can be very usefull. But not in the command as given on the first port of this thread.

Hope this helps...


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#2118 2012-09-13 02:20:21

inalvi
New member
Registered: 2012-09-12
Posts: 2

Re: [REL] Transmission 1.3

hi rsd76 , still cant solve. oh ya im using dns320. , different mounting point ?

root@dlink:~# chown -R nobody /mnt/HD_a2/.transmission-daemon
chown: cannot access `/mnt/HD_a2/.transmission-daemon': No such file or directory

Offline

 

#2119 2012-09-13 13:47:01

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

Re: [REL] Transmission 1.3

Best thing to do would be start checking your locations.

ls -al /mnt

If there is HD_a2 listed, then do

ls -al /mnt/HD_a2

Offline

 

#2120 2012-09-14 20:24:08

rsd76
Member
Registered: 2010-04-18
Posts: 47

Re: [REL] Transmission 1.3

Hi,

I'm not familiar with the DNS-320, but from http://dns323.kood.org/forum/viewtopic.php?id=6701 the directory you should probably use is:
/mnt/HD/HD_a2/.transmission-daemon and /mnt/HD/HD_a2/Downloads
You could check this with:

Code:

ls -l /ffp

This should show /mnt/HD/HD_a2/ffp for you. If this is correct use the directories above.
Your command for starting transmission should then be:

Code:

su nobody -c "transmission-daemon -f -g /mnt/HD/HD_a2/.transmission-daemon -w /mnt/HD/HD_a2/Downloads -t -u  mytorrents -v difficultpassword -a 127.0.0.1,192.168.*.*"

You also probaly have to change the /ffp/start/transmission.sh file.
On one of the first lines the text TRANSMISSION_HOME=/mnt/HD_a2/.transmission-daemon should be changed in TRANSMISSION_HOME=/mnt/HD/HD_a2/.transmission-daemon.

HTH.


Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us. (Calvin & Hobbes)

Offline

 

#2121 2012-09-15 18:05:57

metrogeekthinker
Member
Registered: 2012-09-15
Posts: 5

Re: [REL] Transmission 1.3

Can someone recompile the ffp 0.5 with these changes?

https://trac.transmissionbt.com/ticket/4321

I am having the same error as stated above and the patch can fix it.

Or anyone can guide me on making a ffp 0.5 package.

Offline

 

#2122 2012-09-15 18:54:57

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

Re: [REL] Transmission 1.3

This will be in transmission 2.70, which should be out sooner than later. Just be a little more patient smile

Offline

 

#2123 2012-09-16 05:23:55

metrogeekthinker
Member
Registered: 2012-09-15
Posts: 5

Re: [REL] Transmission 1.3

Anyway is there any guide on compiling ffp 0.5 package? What environment, tools is needed? I have windows, mac and linux to do compilation.

Offline

 

#2124 2012-09-16 14:12:32

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

Re: [REL] Transmission 1.3

metrogeekthinker wrote:

Anyway is there any guide on compiling ffp 0.5 package? What environment, tools is needed? I have windows, mac and linux to do compilation.

As always, the wiki is your friend. Fonz provides a package containing a full toolchain + build environment.


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

 

#2125 2012-09-16 17:07:20

metrogeekthinker
Member
Registered: 2012-09-15
Posts: 5

Re: [REL] Transmission 1.3

I manage to put /usr/local/cross-compiler-armv5l and indicate the path export CC=/usr/local/cross-compiler-armv5l/bin/armv5l-gcc but the c-compiler does not compile for transmission.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB