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

#1951 2012-03-02 21:01:42

c952
New member
Registered: 2012-03-02
Posts: 1

Re: [REL] Transmission 1.3

Is there some sort of step by step guide for linux morons to get transmission installed...  I have been satisfied with the built in torrent app, until magnet links took over, and the app doesn't support them.

So I would like to get Transmission up and running, I downloaded the files in the beginning of this thread, and I understand and can read the code commands in this post, but I need a 'step 1'


So I have my DNS-323 turned on, with firmware 1.08.

Now what?  I am a linux dummy.

Is there such a guide posted anywhere?

I have a mac, and I think there may be an app that will allow me to connect to the DNS once at that step, but I don't even know which one to use.

Anyone with patience willing to help?

Offline

 

#1952 2012-03-02 23:36:54

dejawho
Member
Registered: 2012-03-01
Posts: 11

Re: [REL] Transmission 1.3

KyleK wrote:

It's important to not mix packages for ffp-0.5 and ffp-0.7. Therefore I've updated the first post to make the difference a bit more clear.
Please note that I currently don't have packages for ffp-0.7-oarm/oabi!


@dejawho: Don't manually extract packages and copy them somewhere. Use funpkg instead:

Code:

$ funpkg -i curl-7.21.4-arm-1.txz

Ok, that's work. Thanks!
Now i've transmission working on my DNS-320

Offline

 

#1953 2012-03-06 12:06:03

Sambuccashake
New member
Registered: 2012-03-06
Posts: 3

Re: [REL] Transmission 1.3

So, I've managed to install the fun_plug and Transmission on my D-link DNS-320 but I have some problems with getting the torrents to run.

I can log onto the Web UI, I can load the torrent file and downloads starts.
After a few seconds I get "Error: Permission denied (/mnt/HD/HD_a2/Downloads/"

Hmm... folder authorization problem?

I follow your advice on this page:

$ /ffp/start/transmission.sh stop 
$ chown -R nobody /mnt/HD/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD/HD_a2/Downloads

But I get the same error.

Seems like I've overlooked something obvious but I don't know what.

Would be very grateful for your help.

By the way: I'm super novice so please explain carefully. wink

Last edited by Sambuccashake (2012-03-06 12:07:52)

Offline

 

#1954 2012-03-07 12:15:00

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

Re: [REL] Transmission 1.3

Check the permissions on /mnt/HD/HD_a2/Downloads. They should be 0755.

Offline

 

#1955 2012-03-07 13:54:39

Sambuccashake
New member
Registered: 2012-03-06
Posts: 3

Re: [REL] Transmission 1.3

Hi!

Thanks for the reply but I don't really know how to ascertain the permission and/or change 'em. (Like I said, I'm a novice)
'ls -laR' gave me:

root@dlink-FFB072:/mnt/HD/HD_a2/Downloads# ls -laR
.:
total 8
drwxrwxrwx  2 nobody root 4096 Mar  6 08:51 .
drwxrwxrwx 16 root   root 4096 Mar  6 08:51 .

Also, I noticed something odd in the NAS (D-link DNS-320) "recent activity" field:

Mar 6 19:37:30 CIFS: [192.168.0.196] connected to [Volume_1] as user [nobody].
   Mar 6 19:37:30 CIFS: [192.168.0.196] connected to [Volume_2] as user [nobody].
   Mar 6 19:37:30 CIFS: [192.168.0.196] connected to [P2P] as user [nobody].
   Mar 6 19:37:30 CIFS: Authentication for user [GUEST] has FAILED.

This is repeated everytime I start a torrent.

And when looking in the transmission deamon log I find this:

[09:44:29.504] Couldn't create "/home/nobody/Downloads": Permission denied (fdlimit.c:360)
[09:44:29.504] torrentname.mkv tr_fdFileCheckout failed for "/home/nobody/Downloads/Torrentname.S$

Last edited by Sambuccashake (2012-03-08 12:42:07)

Offline

 

#1956 2012-03-08 13:55:50

Sambuccashake
New member
Registered: 2012-03-06
Posts: 3

Re: [REL] Transmission 1.3

SOLVED! (Brute force style)

The error message in the log complained about /home/nobody/Downloads

This is a directory found in the settings.json file under 'incomplete-dir:'
I changed 'incomplete-dir-enabled' to "false" and everything works fine.

Granted, I won't be able to use the "incomplete" functionality but frankly IDGAF so I won't investigate why transmission aren't allowed to create /home/nobody/Downloads.

Last edited by Sambuccashake (2012-03-08 13:56:31)

Offline

 

#1957 2012-03-08 15:43:13

jeffjoker
Member
Registered: 2011-11-23
Posts: 52

Re: [REL] Transmission 1.3

I have just one comment with the latest release:
I have used funpkg -u Transmission.tgz and as anyone would expect for it to Update my install.
But it also overwrote my config files (.transmission-deamon and /ffp/start/transmission.sh), I lost everything !!!
Next time I'll do a backup of those before, but is there a way not to have those file overwritten ?

Offline

 

#1958 2012-03-09 21:11:23

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

Re: [REL] Transmission 1.3

jeffjoker wrote:

I have just one comment with the latest release:
Next time I'll do a backup of those before, but is there a way not to have those file overwritten ?

I have a script that I run that save my config and script, updates the package, then copies my scripts back.


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

Offline

 

#1959 2012-03-13 12:59:59

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

Re: [REL] Transmission 1.3

jeffjoker wrote:

I have just one comment with the latest release:
I have used funpkg -u Transmission.tgz and as anyone would expect for it to Update my install.
But it also overwrote my config files (.transmission-deamon and /ffp/start/transmission.sh), I lost everything !!!
Next time I'll do a backup of those before, but is there a way not to have those file overwritten ?

On ffp-0.5, the startup script does indeed get overwritten, but there's nothing I can do about. The issue is fixed with ffp-0.7 though.

Your Transmission configuration is never overwritten though, because those files aren't included in the package, ever.
If you used a custom path for the settings, the files should still be there.

Offline

 

#1960 2012-03-14 00:42:32

hom
Member
Registered: 2009-01-26
Posts: 25

Re: [REL] Transmission 1.3

Hi,
I'm using transmission on a dns 323 downloads, but uploads are not starting.

[23:38:37.007] Transmission 2.50 (13,228) started (session.c: 718)
[23:38:37.007] RPC Server Adding address to whitelist: ?? (rpc-server.c: 803)
[23:38:37.007] RPC Server Adding address to whitelist: ?? (rpc-server.c: 803)
[23:38:37.007] RPC Server Adding address to whitelist: ?? (Rpc-server.c: 803)
[23:38:37.008] RPC Server Adding address to whitelist: ?? (rpc-server.c: 803)
[23:38:37.008] RPC Server Serving RPC and Web requests on port 127.0.0.1:9091 / transmission / (rpc-server.c: 997)
[23:38:37.008] RPC Server Whitelist enabled (rpc-server.c: 1001)
[23:38:37.008] Using settings from "/ FFP / etc / transmission" (daemon.c: 488)
[23:38:37.009] Saved "/ mnt/HD_a2/ffp/etc/transmission/settings.json" (bencode.c: 1731)
[23:38:37.009] Saved pidfile "/ tmp / .transmission.pid" (daemon.c: 500)
[23:38:37.009] Loaded 10 torrents (session.c: 1937)
[23:38:37.009] Port Forwarding (NAT-PMP) initnatpmp succeeded (0) (natpmp.c: 72)
[23:38:37.010] Port Forwarding (NAT-PMP) sendpublicaddressrequest succeeded (2) (natpmp.c: 72)
[23:38:39.038] Port Forwarding (UPnP) Internet Gateway Device Found "http://??:99999999/upnp/control/WANIPConnection" (upnp.c: 202)
[23:38:39.039] Port Forwarding (UPnP) Local Address is "*.*.*.*" (upnp.c: 204)
[23:38:39.039] Port Forwarding (UPnP) Port forwarding through "http://??:99999999/upnp/control/WANIPConnection", service "urn: schemas-upnp-org: service: WANIPConnection: 1". (Local address: ??:99999999) (upnp.c: 279)
[23:38:39.039] Port Forwarding (UPnP) Port forwarding successful! (Upnp.c: 282)
[23:38:39.039] Port Forwarding State changed from "Not forwarded" to "Forwarded" (port-forwarding.c: 93)
[23:38:40.054] RadioItalia Tracker error: "access denied, torrents limit reached" (torrent.c: 531)
[23:38:40.055] RadioItalia access denied, torrents limit Reached (announcer.c: 990)
[23:38:40.055] RadioItalia announce retrying in 316 seconds. (Announcer.c: 999)
[23:38:43.102] CougarRecruits.com (RealityGang.com) Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.102] CougarRecruits.com (RealityGang.com) scrape retrying in 350 seconds. (Announcer.c: 1264)
[23:38:43.103] La.Peggior.Settimana.Della.Mia.Vita.2011.iTALiAN.DVDRip.XviD-CRiME.avi Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.103] La.Peggior.Settimana.Della.Mia.Vita.2011.iTALiAN.DVDRip.XviD-CRiME.avi scrape retrying in 356 seconds. (Announcer.c: 1264)
[23:38:43.103] [Wii] Mario Collection Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.103] [Wii] Mario Collection scrape retrying in 326 seconds. (Announcer.c: 1264)
[23:38:43.104] MKV.iTALiAN.DVDRip.XviD TSR-Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.104] MKV.iTALiAN.DVDRip.XviD-TSR scrape retrying in 323 seconds. (Announcer.c: 1264)
[23:38:43.104] Windows.7.SP1.Ultimate.MSDN Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.104] Windows.7.SP1.Ultimate.MSDN scrape retrying in 302 seconds. (Announcer.c: 1264)
[23:38:43.105] The Doors - A Collection (2011) Scrape error: Gave Tracker HTTP response code 404 (Not Found) (announcer.c: 1255)
[23:38:43.105] The Doors - A Collection (2011) scrape retrying in 320 seconds. (Announcer.c: 1264)

any idea?

Offline

 

#1961 2012-03-14 13:20:24

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

Re: [REL] Transmission 1.3

Sambuccashake wrote:

SOLVED! (Brute force style)

The error message in the log complained about /home/nobody/Downloads

This is a directory found in the settings.json file under 'incomplete-dir:'
I changed 'incomplete-dir-enabled' to "false" and everything works fine.

Granted, I won't be able to use the "incomplete" functionality but frankly IDGAF so I won't investigate why transmission aren't allowed to create /home/nobody/Downloads.

Sure you can use the incomplete-folder feature:

Code:

$ transmission-remote --incomplete-dir /mnt/HD_a2/Downloads_incomplete

This will put incomplete downloads in the specified folder, and once they're finished downloading, will move them to your download folder.

You can chose whatever folder you wish, of course.

Offline

 

#1962 2012-03-14 16:29:42

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

Re: [REL] Transmission 1.3

Any chance for a folder which automatically starts torrents? Is there anything to do with the folder autotorrents in .transmission-daemon?

Offline

 

#1963 2012-03-14 17:13:04

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

Re: [REL] Transmission 1.3

Transmission does have watchfolder functionality.
On older NASes (like the DNS-323 or the CH3SNAS), inotify is a bit difficult to work with, so in the ffp-0.5 build I disabled inotify support.
You can still enable the watchfolder (check transmission-remote --help for the command), but I wouldn't do that, because it falls back to a solution that scans that folder every 10 or so seconds, preventing your drives to go to standby.

The ffp-0.7-arm build has proper inotify support and should work just fine.

Offline

 

#1964 2012-03-14 17:20:51

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

Re: [REL] Transmission 1.3

I see. No way to set the watch folder interval in settings.json eh?

EDIT: Just read that it's hard coded. Don't supposed you can do anything about it?

EDIT 2: Just checked transmission-remote --help and i can't seem to find anything about a watch command or inotify.

EDIT 3: I think you meant transmission-daemon

EDIT 4: So from my understanding, If i am on the ffp 0.7 arm build then i wouldn't have any problems with enabling --watch-dir because it's using iNotify instead of falling back to the 10second directory check?

Last edited by Komano (2012-03-14 19:15:39)

Offline

 

#1965 2012-03-14 21:27:43

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

Re: [REL] Transmission 1.3

Yes, it's hardcoded. It'd certainly be possible to change it/make it configurable, but I won't have the time to deal with that at the moment.

If your NAS supports EABI (i.e. it isn't a DNS-323 or a CH3SNAS or some similar device) then switching to ffp-0.7-arm is possible and recommended.
(Check though if all the packages you currently use exist for 0.7 before you decide to switch)

Offline

 

#1966 2012-03-15 00:26:59

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: [REL] Transmission 1.3

Hi all!
I am using a dns-320. I know it is a 323/321 topic, but I did not find solution there.
I installed funplug 0.7, uclibc, and transmission 2.50. I got an error message when I want to start transmission at firs time:

/mnt/HD/HD_a2 # /ffp/start/transmission.sh start
Starting transmission-daemon
/ffp/bin/transmission-daemon: can't resolve symbol '__aeabi_atexit'

The transmission daemon does not start so there is no configuration file. I can not set the whitelist etc.
Could somebody help me? What did I wrong?

Offline

 

#1967 2012-03-15 00:53:43

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

Re: [REL] Transmission 1.3

Thanks KyleK. I'll leave watch folders enabled because i'm on a DNS-320 and i'm pretty sure i'm using the arm build. Hurray for me i guess.

Offline

 

#1968 2012-03-15 08:39:59

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

Re: [REL] Transmission 1.3

Ripley, are you sure you installed ffp-0.7-arm, and not ffp-0.7-oarm/oabi?
I currently only provide arm packages for ffp-0.7.

Komano: Actually, there should be a line in the log file about the watch folder feature. It tells you if it uses inotify or not.

Offline

 

#1969 2012-03-15 10:03:32

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: [REL] Transmission 1.3

I installed: http://www.inreto.de/dns323/squeezecent … lug/7.7.1/ , because I want to use squeezcenter too. I don't know if it arm or oarm/oabi. I just know it is a 0.7 based fun-plug. Probably it is oarm version, as I see in the fun_plug.tgz. So what should I do if I want to use transmission too?
I tried to install squeezcenter with fun_plug 0.5 before but it was really long and unsuccessful. I tried this howto: http://forums.slimdevices.com/showthrea … ht=dns-320 . The transmission worked fine on 0.5.
I tried theese funplug because it is really easy to install but it seems there is no transmission what works on this oarm funplug.

Last edited by Ripley (2012-03-15 10:26:09)

Offline

 

#1970 2012-03-15 13:31:57

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: [REL] Transmission 1.3

Ripley wrote:

I installed: http://www.inreto.de/dns323/squeezecent … lug/7.7.1/ , because I want to use squeezcenter too. I don't know if it arm or oarm/oabi. I just know it is a 0.7 based fun-plug. Probably it is oarm version, as I see in the fun_plug.tgz. So what should I do if I want to use transmission too?
I tried to install squeezcenter with fun_plug 0.5 before but it was really long and unsuccessful. I tried this howto: http://forums.slimdevices.com/showthrea … ht=dns-320 . The transmission worked fine on 0.5.
I tried theese funplug because it is really easy to install but it seems there is no transmission what works on this oarm funplug.

Finally I installed this: http://www.inreto.de/dns323/squeezecent … ug/7.5.4/. It is a 0.5 based fun-plug. But I can not install Transmission, because the funpkg does not exist.

/mnt/HD/HD_a2 # funpkg ?
/ffp/bin/sh: funpkg: not found

Is there any possibility to install funpkg?

Last edited by Ripley (2012-03-15 13:34:44)

Offline

 

#1971 2012-03-15 14:59:58

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

Re: [REL] Transmission 1.3

Kylek, Yeah i did see the log. It does use iNotify. I've checked it and it works so far so good. One less script for me to use!

Checked for like long term use, NAS was on since yesterday until now and i just placed a torrent file in the watch folder and it was added. Seems like it's all good! big_smile

EDIT: Just curious and wondering if you know how to fix this. On my old connection to the NAS via SSH via PuTTY. i would see the various letters being highlighted and my text in the terminal wouldn't be truncated and it would display the full path. Any reason why it's now all just black and white with the current directory being truncated?

Last edited by Komano (2012-03-15 15:11:15)

Offline

 

#1972 2012-03-15 16:50:17

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

Re: [REL] Transmission 1.3

Ripley wrote:

Ripley wrote:

I installed: http://www.inreto.de/dns323/squeezecent … lug/7.7.1/ , because I want to use squeezcenter too. I don't know if it arm or oarm/oabi. I just know it is a 0.7 based fun-plug. Probably it is oarm version, as I see in the fun_plug.tgz. So what should I do if I want to use transmission too?
I tried to install squeezcenter with fun_plug 0.5 before but it was really long and unsuccessful. I tried this howto: http://forums.slimdevices.com/showthrea … ht=dns-320 . The transmission worked fine on 0.5.
I tried theese funplug because it is really easy to install but it seems there is no transmission what works on this oarm funplug.

Finally I installed this: http://www.inreto.de/dns323/squeezecent … ug/7.5.4/. It is a 0.5 based fun-plug. But I can not install Transmission, because the funpkg does not exist.

/mnt/HD/HD_a2 # funpkg ?
/ffp/bin/sh: funpkg: not found

Is there any possibility to install funpkg?

The squeezcenter package you installted is a convenience solution if all you want on your device is SqueezeCenter, and nothing else.
If you want more, you need to install funplug first, and then the squeezecenter package in addition.
If you have a DNS-323 device, only oarm and oabi will work. I currently don't provide Transmission packages for that.

If you have a DNS-320, or a DNS-325, I suggest you install ffp-0.7-arm (http://inreto.de/ffp/0.7/arm/). SqueezeCenter is available for this as well (http://inreto.de/ffp/0.7/arm/packages/s … -arm-1.txz).

As a sidenote, please let's keep this thread about Transmission. If you have trouble with other tools and apps, look for existing threads or open a new one.

Offline

 

#1973 2012-03-15 18:32:35

Ripley
Member
Registered: 2012-03-15
Posts: 8

Re: [REL] Transmission 1.3

KyleK wrote:

The squeezcenter package you installted is a convenience solution if all you want on your device is SqueezeCenter, and nothing else.
If you want more, you need to install funplug first, and then the squeezecenter package in addition.
If you have a DNS-323 device, only oarm and oabi will work. I currently don't provide Transmission packages for that.

If you have a DNS-320, or a DNS-325, I suggest you install ffp-0.7-arm (http://inreto.de/ffp/0.7/arm/). SqueezeCenter is available for this as well (http://inreto.de/ffp/0.7/arm/packages/s … -arm-1.txz).

As a sidenote, please let's keep this thread about Transmission. If you have trouble with other tools and apps, look for existing threads or open a new one.

Thanks for your help and please excuse me for the short off! I have DNS-320 and I'll try the ARM packages, hopefully they will work.

Offline

 

#1974 2012-03-16 02:37:01

shibby44
New member
Registered: 2012-03-16
Posts: 1

Re: [REL] Transmission 1.3

Hi,
I've recently installed fun_plug 0.7 oarm on a DNS-323 and I don't want to downgrade to use transmission.

Kylek can you provide the fun_plug scripts/sources you used to make the eabi build so that we can use them as a reference to make an oarm build? or give us some tips/point us to some howto/wiki that explains how to build fun_plug packages?. That way we can at least try to build the oarm version.


Thanks in advance.

Offline

 

#1975 2012-03-16 09:35:43

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

Re: [REL] Transmission 1.3

Mijzelf here on the forum has built Transmission for oarm, but says it doesn't work correctly.
He and fonz found out some other tools don't work correctly as well, so fonz created a new branch, ffp-0.7-oabi: http://dns323.kood.org/forum/viewtopic.php?id=7004
If you want to switch to 0.7 on the DNS-323, use the oabi branch.
Mijzelf provides a Transmission package for that as well. (http://dns323.kood.org/howto:ffp#slacker_sites)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB