Torrent client on NSA-310

Marvell Kirkwood based
Post Reply
kaocko
Posts: 1
Joined: Sat Dec 22, 2012 4:46 pm

Re: Torrent client on NSA-310

Post by kaocko » Sat Dec 22, 2012 5:05 pm

Hi guys,

Thanks for all info you provided. I have managed to get FFP and transmission installed and running.

But there's one thing which bothers me, transmission's web interface.

Could you please give me a guid how to restrict access to the interface? I'm using <publicIP>:9091 to connect and it lets me in like that. I have noticed some stuff about restricting access in settings.json but im worried that i will mess something up since im not familiar with those settings.

Please help
Thanks in advance

//edit: i was able to restrict access once by changing values on these lines>

Code: Select all

"rpc-authentication-required": true, 
"rpc-password": "mypassword",
"rpc-username": "myname",
But then something changed and even i set up everything it wont ask me for login and pwd. Please help.

//Edit2: I have created a trap on my self... changes mentioned above WILL restrict access to account you set!
At first time i have saved name and password in my browser, then each try to get it work i have set same password in the settings.json so browser didnt asked for login and password, of course... But i didnt realize that... =)

My "problem" solved, hope this will help someone=)

veedub1955
Posts: 1
Joined: Sun Jan 06, 2013 11:21 pm

Re: Torrent client on NSA-310

Post by veedub1955 » Sun Jan 06, 2013 11:24 pm

Thanks a lot for all the advice on this forum, all installed and sorted no problems

I wanted a client that I could control with my android phone as well and it works perfectly for what
I want

Thanks again

Vermillion
Posts: 1
Joined: Mon Jan 07, 2013 8:47 pm

Re: Torrent client on NSA-310

Post by Vermillion » Mon Jan 07, 2013 9:08 pm

Hi Guys thanks to your info in this thread I have transmission up and running on my Nsa310. My question is I am trying to run a script once download completes to shut down transmission, but I am failing miserably. I set the settings.json file like so:

"script-torrent-done-enabled": true,
"script-torrent-done-filename": "/ffp/start/transmission.sh stop",

But this will not work. I also made a sh file containing the line /ffp/start/transmission.sh stop and set the settings.json "script-torrent-done-filename" to the path, but that also will not work.
this is my first dip into Linux so any help will be much appreciated

ps i did chmod +x the sh file.
:?:

sushuiren
Posts: 34
Joined: Thu Jul 26, 2012 8:33 am

Re: Torrent client on NSA-310

Post by sushuiren » Sat Mar 09, 2013 1:33 pm

Hello SEW,

I followed below steps strickly and got transmission successfully.
Now I plan to install http://www.transmissionbt.com/resources/ ---Bullet point 2 "Tr Web Control".
I also followed steps, overlapped the previous files and then re-started.
However, I still got the old transmission interface.
Would you please kindly let me know how to install the Tr web control?
Thank you!

sew wrote:The following tutorial will guide you step-by-step through the process of setting-up Transmission BT on FFP-0.5 running on NSA310 (apparently there is a problem with uClibc in FFP-0.7/oarm).
This tutorial is by Linux Rookie and is meant for Rookies.

STEP 1 - Prepare
If you already have FFP v0.5 up and running proceed to STEP 2, otherwise you’ll need to (re)create your FFP stick:

1.1 Download the zipfile from here and extract all files onto your USB drive (you will need to delete 2nd partition if you’re recreating your stick).
1.2 Before you put your stick into NAS and start standard procedure of setting-up FFP, edit after_booting.sh file on your USB device: find the line with FFPVERSION=auto and change it to FFPVERSION=0.5
Important: Make sure you use an editor that supports Linux line breaks (for Windows users I recommend PsPad).
1.3 Plug USB device into your NSA, reboot and setup the FFP.

STEP 2 – Download and install
(main thread and latest packages for Transmission on FFP here)

2.1 Download following packages:
- curl-7.18.1.tgz
- Transmission 2.50 (ffp-0.5)

To download, run following commands in Terminal:

Code: Select all

wget http://kylek.is-a-geek.org:31337/files/ffp/0.5/curl-7.18.1.tgz

wget http://kylek.is-a-geek.org:31337/files/ffp/0.5/Transmission-2.50-1.tgz
2.2 Installation

Code: Select all

funpkg -i curl-7.18.1.tgz  
      
funpkg -i Transmission-2.50-1.tgz
STEP 3 – Configuration
(this is not a standard configuration – it just suits me best – you can adjust it to your needs)

3.1 Create three new directories for: downloads, transmission config files and incomplete downloads

Code: Select all

mkdir /mnt/HD_a2/downloads

mkdir /mnt/HD_a2/admin/transmission

mkdir /mnt/HD_a2/admin/transmission/incomplete
3.2 Change the owner of newly created directories

Code: Select all

chown -R nobody:501 /mnt/HD_a2/downloads

chown -R nobody:501 /mnt/HD_a2/admin/transmission

chown -R nobody:501 /mnt/HD_a2/admin/transmission/incomplete
3.3 Run Transmission for the first time

Code: Select all

transmission-daemon -g /mnt/HD_a2/admin/transmission
* -g parameter sets the config-dir (where the Transmission should look for configuration files)

3.4 Stop transmission-daemon

Code: Select all

/ffp/start/transmission.sh stop
STEP 4 – Edit settings.json file

4.1 [optional] You might need to change the ownership of settings.json file to allow editing

Code: Select all

cd /mnt/HD_a2/admin/transmission

chmod 777 settings.json

4.2 Edit settings.json file

- Go to transmission folder in you admin share and open settings.json file in a proper editor (like PsPad for Windows)

- Edit (at least) following lines, so they look like this:

Code: Select all

"download-dir": "/mnt/HD_a2/downloads", 
---
"incomplete-dir": "/mnt/HD_a2/admin/transmission/incomplete", 
"incomplete-dir-enabled": true,
---
"rpc-whitelist-enabled": false,
---
"umask": 0,

* rpc-whitelist-enabled: set to false gives access to Transmission to all IPs (machines), that’s why it's important to set the password for transmission.
** umask set to 0 grants full access to downloaded files to the world (so you can edit, move and delete downloaded files).

STEP 5 – Start and use transmission

5.1 [Important] In order to start transmission you must always include -g parameter and point it to the config directory of your choice (like when you ran it for the first time). If you don’t do this, Transmission will create a new config file in a different (default) directory and your settings won’t be valid.

To start Transmission:

Code: Select all

transmission-daemon -g /mnt/HD_a2/admin/transmission
5.2 Run Transmission Web interface

http://[your-nas-ip]:9091

>> Other Transmission controls:

Code: Select all

/ffp/start/transmission.sh stop		# stop transmission

killall transmission-daemon			# kill all transmission processes

/ffp/start/transmission.sh status		# status of transmission

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: Torrent client on NSA-310

Post by barmalej2 » Sat Mar 09, 2013 5:49 pm

Followed instructions? Hmm... Where do you see overlap in second step?
1.Download the compressed package
2.Backup Transmission Web Interface directory and remove all files
3.Unpack content to the Transmission Web Interface directory-/ffp/share/transmission/web

Mentat
Posts: 5
Joined: Sat Jun 15, 2013 8:18 pm

Re: Torrent client on NSA-310

Post by Mentat » Sat Jun 15, 2013 8:22 pm

I've use FFP and Transmission pack from the German Zyxel Repository.
I Run Transmission 2.77 and the installation was really easy.

My problems are:

1. I don't know there settings.json is located on this type of installation

2. how to restart the transmission daemon via SSH.

I need this in order to put rpc auth password!

rpqvdt
Posts: 21
Joined: Wed Jun 19, 2013 8:58 pm

Re: Torrent client on NSA-310

Post by rpqvdt » Wed Jun 19, 2013 9:07 pm

Hello everyone,

Thank you for all this information! It all worked very well the first time around :)..

After restarting my nas I noticed my torrent client was off so I started it again using telnet and I did not do the -g option first so I got the 403 error.

I checked and rechecked my settings.json but there was nothing wrong with them (I cross checked them with other on the net). So I went to google. I found loads of information but nothing worked.

I was running transmission from my USB. In FFD / start I got the message that I wasn't allowd to go in. I tried connecting over telnet but that did not work out so after a few hours I decided to remove Transmission and reinstall it. I coundn't remove the admin/transmission folder (not allowd). But I could remove my USB maps and format it so I did. After trying to do the guide here again step by step I got the following message's:

FFP/start/transmission.sh not found.

I am kinda lost here and would love to make it work like it did because it was running awesome!

Hopefully I didn't destroy everything..

Would someone be so kind to help me out?

Many thanks!!

Roald

rpqvdt
Posts: 21
Joined: Wed Jun 19, 2013 8:58 pm

Re: Torrent client on NSA-310

Post by rpqvdt » Thu Jun 20, 2013 4:42 pm

Well I fixed it myself by renaming the transmission folder.
Downloading the new transmission:

wget http://kylek.is-a-geek.org:31337/files/ ... 2.76-1.tgz

Because installing the old transmission kept on giving me the message that it was already installed.

The new transmission went on to delete the old one and install the new one.

I renamed the transmission folder in my admin menu (was about the only thing I could do).

Rerun the install here and mounted it again.

I copied the old json settings in the new json setting and started it fingers crossed and it worked!!

I also restarted my nas and started transmission using: the -g option and this did work out. Won't make that mistake again but it's a lot of bloody effort after making one mistake lol.

My admin folder has about 3 maps I cannot delete but ey, never look there anyway so happy as a butterfly!

rpqvdt
Posts: 21
Joined: Wed Jun 19, 2013 8:58 pm

Re: Torrent client on NSA-310

Post by rpqvdt » Thu Jun 20, 2013 4:47 pm

Mentat wrote:I've use FFP and Transmission pack from the German Zyxel Repository.
I Run Transmission 2.77 and the installation was really easy.

My problems are:

1. I don't know there settings.json is located on this type of installation

2. how to restart the transmission daemon via SSH.

I need this in order to put rpc auth password!
This forum is created to start transmission using telnet. I also started with installing it using the pack but I couldn't find the json myself.

I use a site that needs a password and username to push torrents to my transmission so this was about the only thing I could do.

It took me two days + two days to fix an error after it already worked but it is worth the effort. Just use the steps in this forum and eventually you should be able to do it!

barmalej2
Posts: 2388
Joined: Sun Apr 29, 2012 5:24 pm

Re: Torrent client on NSA-310

Post by barmalej2 » Thu Jun 20, 2013 6:20 pm

Code: Select all

updatedb

Code: Select all

locate settings.json
or

Code: Select all

locate *.json

Mentat
Posts: 5
Joined: Sat Jun 15, 2013 8:18 pm

Re: Torrent client on NSA-310

Post by Mentat » Sat Oct 19, 2013 2:03 pm

One quick question, please:

My NSA 310 is running the latest firmware - V4.61(AFK.0)

I run Transmission 2.81 (14128)

The problem is that the files (folders) created by Transmission in /mnt/HD_a2/video/ cannot be modified.
I need to add subtitles to the movies, but I cannot add the srt files.
It asks for autentification ! (admin login does not work).

I've changed the 755 permission to 777 for one folder and it works, but I do not want to do this each time I download a movie!

Please advise!

Problem rezolved!

I've modified the umask from 18 to 0 in settings.json

rabbitus
Posts: 1
Joined: Tue Nov 26, 2013 7:09 am

Re: Torrent client on NSA-310

Post by rabbitus » Tue Nov 26, 2013 11:47 am

Hello,

I have installed transmission 2.82, FFP version 0.7/arm, running on NSA310_ZyXEL nsa310, firmware V4.62(AFK.0).
It works great except one problem : the download speed is very,very slow. The highest rate i've seen is around 6-7MB/sec.
The NSA310 is connected directly to my router (WDR4300), all ports are forwarded, and the link is 1Gbit.
LAN transfers speed is 33-34MB/sec for the internal HDD and 28-29MB/sec for usb HDD.
The speed i've got on my desktop while downloading torrents is 35MB/sec with at least 40 peers (my internet connection is 500Mbps and speedtests revolves around 380-400Mbps).

Now the question is why is this huge speed difference ?Is there any software/hardware limitation i have to check ?

Mentat
Posts: 5
Joined: Sat Jun 15, 2013 8:18 pm

Re: Torrent client on NSA-310

Post by Mentat » Tue Nov 26, 2013 12:09 pm

This nas has a very small arm processor.
This is the limitation.
Try xpenology on a x86 nas/build (google it"

butoremontas
Posts: 4
Joined: Thu Nov 14, 2013 8:59 am

Re: Torrent client on NSA-310

Post by butoremontas » Fri Nov 29, 2013 9:09 am

Omg. I looked to this topic and understood that i will stay on Zyxel managed soft.
After FFP stick you must control nas with command line....
And all just for torrent reason.

Mentat
Posts: 5
Joined: Sat Jun 15, 2013 8:18 pm

Re: Torrent client on NSA-310

Post by Mentat » Fri Nov 29, 2013 9:24 am

Yes, Zyxel "rulz" that's why is so cheap...

Also step by step tutorial
http://forum.softpedia.com/topic/938063 ... -tutorial/

Post Reply