• February 24, 2025, 10:13:48 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Pages: [1] 2

Author Topic: Need help with getting Transmission running (after installing Fun_plug) (SOLVED)  (Read 17044 times)

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

So...

Completely new to all this "linuxification" but after following the tips and tricks on the following page I've managed to install fun_plug.
http://nas-tweaks.net/40/installation-of-the-fonz-funplug-0-5-for-ch3snas-ch3mnas-dns-323-and-many-more/

Transmission-2.42-1.tgz installed but when I try to run it I get the following message:
"Couldn't open "/mnt/HD_a2/.transmission-daemon/transmission-daemon.log": No such file or directory"

Shouldn't the path be "/mnt/HD/HD_a2/.transmission-daemon/transmission-daemon.log"?

According to http://dns323.kood.org/dns-320 I'm supposed to a lot of alterations, one of the first is:
Quote
nano transmission.sh
Edit the line from
TRANSMISSION_HOME=/mnt/HD_a2/.transmission-daemon
to
TRANSMISSION_HOME=/mnt/HD/HD_a2/.transmission-daemon

Is there no other "complete" package.tgz I can wget and funpkg -i instead of manually tweak so much?

Again, apologies if I've missed something obvious but the language is new to me and nothing is too basic for me.

My goal:
Have Transmission up and running in a Web UI, just like the standard Torrent client in the D-link firmware.

Grateful for help.
« Last Edit: March 08, 2012, 03:55:19 AM by Sambuccashake »
Logged

shabuboy

  • Level 2 Member
  • **
  • Posts: 78

Yes, a path most be modify. Make sure you follow the instructions.

http://klseet.com/index.php?option=com_content&view=article&id=100&Itemid=94
Logged

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

Yes, a path most be modify. Make sure you follow the instructions.

http://klseet.com/index.php?option=com_content&view=article&id=100&Itemid=94
The Transmission reference in your link is unfortunately dead.
And the rest of the links are most along the lines of installing the fun_plug itself.
Logged

shabuboy

  • Level 2 Member
  • **
  • Posts: 78
Logged

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

Yeah that's the page I'm trying to decipher...  ;)

I must have made some alterations properly because
"sh /ffp/start/transmission.sh start"
gave me:
"Starting transmission-daemon"

But when I go to my NAS-ip + Transmission port (9091) I get:

Quote
Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

If you're editing settings.json, see the 'rpc-whitelist' and 'rpc-whitelist-enabled' entries.

If you're still using ACLs, use a whitelist instead. See the transmission-daemon manpage for details.

Googled "rpc-whitelist" but wasn't the awakening I was hoping for.

Apparently the settings.json file resides in /mnt/HD/HD_a2/.transmission-daemon.
How do I open and edit it?
« Last Edit: March 05, 2012, 01:29:43 PM by Sambuccashake »
Logged

shabuboy

  • Level 2 Member
  • **
  • Posts: 78

if you followed the instructions, you also downloaded an app called "nano" to edit the *.sh files. Use that.... or however you edited the files. In a few words, you just need an editor.
Logged

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

Arghhh!!

I really appreciate your help dude but I must say that these walkthroughs are somewhat rubbish to a novice like me. (Would it kill 'em to mention just HOW you edit the settings.jcon file?)

Anymoo, got it open in nano now. Off to find what to change.

Might (probably) be back.

Cheers so far!

EDIT:
Aaaand we're back...
Edting the settings file, I find the rpc-whitelist section and add 192.168.* (all my units are in this IP range). Save settings, close ssh, enter ip+port = same result

Quote
Unauthorized IP Address.

Either disable the IP address whitelist or add your address to it.

Well.. I thought I did this by adding my IP range into the rpc-whitelist section?

EDIT 2.
Stopped and started the daemon, no change.

EDIT 3.
For some reason, my added IP range wasn't saved properly to the settings.json file.
Now I see it in the Web UI!

But I (transmission) get a permission error when trying to write to the download folder.
Well... One step at a time.
« Last Edit: March 05, 2012, 11:11:44 PM by Sambuccashake »
Logged

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

Current status:

Fun_plug installed
Transmission Daemon running
Web UI access working
I can start to download a torrent but it fails after a few seconds with the following message:
Quote
Error: Permission denied (/mnt/HD_a2/Downloads/

So is it a write problem, settings.json problem or a directory issue?
« Last Edit: March 06, 2012, 12:46:03 AM by Sambuccashake »
Logged

albert

  • Level 5 Member
  • *****
  • Posts: 510
    • SoHo NAS Forum

I would strongly advise referring to Kylek's method, obviously there is issue with folder permission.
Logged
D-Link DNS-320 rev A1 (FW: 2.05) [FFP-0.7]
PCI NAS-01G (FW: Encore ENNHD-1000 4.10)
PCI NAS-01G (FW: OpenNAS 1.9]

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21

Kylek wrote:
Quote
$ /ffp/start/transmission.sh stop
$ chown -R nobody /mnt/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD_a2/Downloads

Since the DNS-320 is different I have used the following paths:
Quote
$ /ffp/start/transmission.sh stop  
$ chown -R nobody /mnt/HD/HD_a2/.transmission-daemon
$ chown -R nobody /mnt/HD/HD_a2/Downloads

Same result.

My settings.json say:
"download-dir": "/mnt/HD/HD_a2/Downloads/" but the error message have an extra slash at the end

"Error: Permission denied (/mnt/HD/HD_a2/Downloads//"
Important?

EDIT: Removed the final slash in download-dir but to no avail.
Same error message (- the slash at the end)
« Last Edit: March 06, 2012, 01:49:18 AM by Sambuccashake »
Logged

baltzatu

  • Level 2 Member
  • **
  • Posts: 45
  • Slayer Fan
Re: Need help with getting Transmission running (after installing Fun_plug)
« Reply #10 on: March 06, 2012, 06:47:36 AM »

Try

chmod -R 777 /mnt/HD_a2/Downloads
chmod -R 777 /mnt/HD/HD_a2/.transmission-daemon

It should do.

Since you have FFP installed, maybe you can answer a question that's bugging me for some time now. My user-defined shares disappear after a system restart. How about yours?
« Last Edit: March 06, 2012, 06:53:14 AM by baltzatu »
Logged
R.I.P., Jeffrey John "Jeff" Hanneman (January 31st, 1964 – May 2nd, 2013)...

shabuboy

  • Level 2 Member
  • **
  • Posts: 78
Re: Need help with getting Transmission running (after installing Fun_plug)
« Reply #11 on: March 06, 2012, 09:20:50 AM »

I followed Kylek's method with no issue whatsoever.

And baltzatu, I installed FFP two weeks ago. I shutdown DNS-320 nightly, no issue with user shares at all. Lots of people have FFP installed. However, I created all my user shares via the manag GUI. Running firmware 2.0.
« Last Edit: March 06, 2012, 09:28:08 AM by shabuboy »
Logged

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21
Re: Need help with getting Transmission running (after installing Fun_plug)
« Reply #12 on: March 06, 2012, 11:31:01 AM »

baltzatu, I tried your commands but the result is the same.

Logged into the NAS to move some other files around and noticed the following in the "Recent activities"  field:
Quote
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.

So if [nobody] is allowed to connect, why does the NAS all of a sudden percieve it as [GUEST] and fail all operations?

(Note, anyone on my network can access the NAS without password and are able to read/write)
Logged

baltzatu

  • Level 2 Member
  • **
  • Posts: 45
  • Slayer Fan
Re: Need help with getting Transmission running (after installing Fun_plug)
« Reply #13 on: March 06, 2012, 10:05:54 PM »

Thanks for your reply. Looks like I have to dig deeper, to see what's wrong with my device.

You might want to check this link, maybe install FFP and Transmission from scratch. Before installing Debian, I followed that guide by the letter and everything worked out fine. You should give it a try.
Logged
R.I.P., Jeffrey John "Jeff" Hanneman (January 31st, 1964 – May 2nd, 2013)...

Sambuccashake

  • Level 1 Member
  • *
  • Posts: 21
Re: Need help with getting Transmission running (after installing Fun_plug)
« Reply #14 on: March 08, 2012, 12:49:36 AM »

And now I've learned how to access the Transmission deamon log.

Basically it comes down to the following every time:
Quote
[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$

So it is surely an authorization problem but when checking ls -laR it looks like [nobody] is authorized to do everything.

Quote
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 .
« Last Edit: March 08, 2012, 03:44:43 AM by Sambuccashake »
Logged
Pages: [1] 2