Anyone interested in a transmission SPK? - v2.00

Questions regarding modifying the torrent engine or download station may go here.

Moderators: Synology Inc, Honorary Moderator

Forum rules
Please note the disclaimer before modifying your Synology Product.

Are you interested in a Transmission SPK?

Yes
179
98%
No
4
2%
 
Total votes : 183

Anyone interested in a transmission SPK? - v2.00

Postby Sarav » Thu May 14, 2009 12:23 am

Intro:
It takes quite a bit of effort to make a well working SPK. So, if it works for you, please leave a note saying so. That's the least you can do to keep me motivated to maintain this.

Disclaimer:
Use it at your own risk. I (the author/packager) make no claims of implied or explicit warranty. The package is provided as is and you agree that I won't and can't be held liable for any damages or changes caused by the package to your property or anything else in this world. You also must provide this disclaimer to anyone who you provide this package to without sending them to this post.You agree to the disclaimer by downloading this package.

If you have problems with the SPK, don't PM me. Ask the questions here so that others can answer it or benefit from the answers. I will be ignoring all PMs regarding installation/configuration issues.

I released Syno-packager -- the tool I wrote to create these SPKs easily. If you are interested, then go to this post to learn more about it.

Download link: Transmission 2.01 - SPK 2.0.3.
Latest release date: Jun 27th 2010
Steps to install (upgrade instructions separate):
  1. Make sure you have DSM 2.1-0839 or above. Might work with earlier versions, but hasn't been tested.
  2. Enable user home services (Management UI -> Priviliges -> User home button above the user list).
  3. Pick the right SPK based on the architecture that corresponds to your NAS model (see below).
  4. Install it (Management UI -> System -> Package management -> Install button), but don't try to Run it yet.
  5. Add at least one user to the Transmission user list (list of users allowed to use Transmission):
    1. Login as root (admin) using SSH or Telnet.
    2. Run the following command: transmission-adduser <username> <webui port> <webui password>
    3. If you already had settings from a previous install, tranmission-adduser will NOT overwrite them. Add a "-f" option before the username if you want to force an overwrite.
    4. Usernames must match usernames used to log in to DSM.
    5. Webui port is used while accessing the Transmission UI or when using remote clients (say Apps in an Android phone) to control Transmission.
    6. Webui password should NOT be the same password that you use for DSM. Well, it can be, but is highly discouraged.
  6. Start the Transmission service (Management UI -> System -> Package management -> Choose the "Transmission" package -> Run button).
  7. Go to the Transmission URL, login and enjoy. If your NAS is accessible as 192.168.1.100 and you gave 9091 as port, then the Transmission URL would be http://192.168.1.100:9091.
  8. Adding a user to Transmission user list automatically creates a "transmission" folder under the user's home folder and makes that the default download directory. If you want to change it: Transmission Web UI -> Click the "Gear" button on the bottom left -> Preferences -> Change "Download to" -> Save.
Steps to upgrade or uninstall/install:
These steps are only if you are upgrading from a previous SPK that I released. If you used some other means to install transmission before then please follow the install instructions mentioned above. Also, if you are not an expert, remember to force overwrite your old settings.
Upgrades:
  1. Go to Management UI -> System -> Package management -> Upgrade button.
  2. Choose the new SPK and follow the instructions presented by the DSM.
  3. No more additional steps to do. No commands to run through SSH or Telnet login.
  4. You don't even need to stop the service before upgrading. Synology will automatically stop the service if it's running and start it again after the upgrade.
Uninstall/Install:
  1. Uninstall the old version.
  2. Install the new version.
  3. You also need to log in as root/admin using SSH/Telnet and add the users back to the Transmission user list using "transmission-adduser".
  4. Your old setting will NOT be overwritten. Although, when running transmission-adduser you will have to specify the webport, but that will be ignored too.
List of supported architectures/models:
Code: Select all
* 88f5281         DS107+, DS207+, CS407, RS407.
* ppc824x         DS207, DS209j, CS407e.
* ppc853x         DS109+, DS209+, DS209+II, DS409+, DS509+, RS409+, RS409RP+, DS410.
  ppc854x         DS408, DS508, RS408, RS408RP.
* 88f6281         DS109, DS209, DS409, DS409slim, RS409, DS110j, DS210j, DS410j.
* powerpc         DS106j, DS107, DS107e, DS108j, DS109j.
  x86             DS710+, DS1010+.
* - verified on a model by a user.

Verified models: DS106j, DS207+, DS108j, DS209j, DS209, DS209+II, DS409+, DS110j, DS210j, DS410. If your architecture or model is not listed as verified, and the SPK works for you, then please let me know.
Key features:
  • Easy to user helper scripts:
    1. transmission-adduser - Allows adding users to the transmission user list and also starting transmission in one shot.
    2. transmission-deluser - Allows removing the user from the transmission user list. Also has option to delete all transmission settings stored under the user home directory.
    3. transmission-setting - Allows changing the transmission settings for each user without having to edit files. Currently support "password" or "passwd", "dldir" or "downloaddir" and "port".
    4. Run all the above scripts without parameters to see usage help.
  • Auto restart Transmission on crash. If it crashes within 5 mins of starting/restarting, then it won't be auto restarted. This is to avoid a continuous loop of crash and restarts.
  • Create and set up default download dir.
  • Easy upgrade option when newer SPKs are released.
  • All x06 to x10 models have a matching SPK.
  • More secure - No other user can view or overwrite your files and other users don't share a directory with you.
  • Quick release of SPKs when new transmission versions are released. Thanks to the Syno-packager tool I wrote and open sourced (see above).
Hashes for verifying downloads:
Code: Select all
SHA1SUM:
ff87eb7bcdef4d0dfcde7a86017bfc0c8381c11e  transmission-2.01-88f5281-spk-2.0.3.spk
3dcfb8b95c0d1de9a521f6007087f8fe391e76a1  transmission-2.01-88f6281-spk-2.0.3.spk
c150bf88d19ec0185c31ff9f71902b46568651f9  transmission-2.01-powerpc-spk-2.0.3.spk
8695777f6ba79014658715338fd4dbc3fdde6fae  transmission-2.01-ppc824x-spk-2.0.3.spk
f145f12361a259ff0700d8fffa7abc0898610b19  transmission-2.01-ppc853x-spk-2.0.3.spk
c534b6ab2d3a55995680c1e0424864823c4b6747  transmission-2.01-ppc854x-spk-2.0.3.spk
98ff25d15501f469a029bc3165f357b99557c0e6  transmission-2.01-x86-spk-2.0.3.spk
MD5SUM:
5051337fbd5de03a2cfb76cbc870629c  transmission-2.01-88f5281-spk-2.0.3.spk
0995353a626785ee9c925c04914bedba  transmission-2.01-88f6281-spk-2.0.3.spk
70c94e68fbaaec5db922892b675769f1  transmission-2.01-powerpc-spk-2.0.3.spk
32ee8bf8592187be715d52aaa494d66b  transmission-2.01-ppc824x-spk-2.0.3.spk
fe3b115556079a6f3e110c5873349328  transmission-2.01-ppc853x-spk-2.0.3.spk
b45bcabf260e2c7b92b0824170d06de7  transmission-2.01-ppc854x-spk-2.0.3.spk
a7f463457f6baf40649c4e5107fc99ea  transmission-2.01-x86-spk-2.0.3.spk


Synology,

If you have any problems with this SPK, please let me know and I can pull down all the copies that I host (which is pretty much, none) and won't distribute it in the future. But I'm guessing you won't do it since it's pointless to release a 3rd party packages support and then hinder it.

Thanks,
Sarav
Last edited by Sarav on Sun Jun 27, 2010 11:36 am, edited 57 times in total.
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby biomensch » Sun May 17, 2009 12:46 pm

Hi,
that would be great.

best regards
Biomensch
biomensch
I'm New!
I'm New!
 
Posts: 1
Joined: Sun May 17, 2009 12:32 pm

Re: Anyone interested in a transmission SPK?

Postby b00n » Mon May 18, 2009 7:23 am

Do it. NOW.

:D

+1
DS-107+
Samsung HD501LJ
b00n
Beginner
Beginner
 
Posts: 26
Joined: Sun May 11, 2008 7:18 pm

Re: Anyone interested in a transmission SPK?

Postby ganjaia » Mon May 25, 2009 6:59 pm

Would this allow integration into the Disk Station Manager via Third-Party App integration?

EDIT: After snooping around Synology's site a bit more I have found the answer to my question is "Yes". I would most definitely be interested!
ganjaia
Trainee
Trainee
 
Posts: 10
Joined: Sun Mar 08, 2009 2:40 am

Re: Anyone interested in a transmission SPK?

Postby Sarav » Thu May 28, 2009 10:00 am

Ok, I made an SPK that works pretty good. To add "allowed users" you need to SSH and run script with user name, webui port and password. You also need to restart the service every time a new user is added. That's about it though. The user can change their webui password later, but the service needs to be stopped, pwd changed and service started.

The only problem now is that transmission 1.60 has a bug in which you can't access the web UI and 1.61 has a bug where you can't add torrents from your disk (Only URLs work). So, I'm waiting for a working version before I release an SPK. Applying patches tiggers some weird issue in their configure script that checks for something that's only needed by the GTK GUI app (which is not meant for a server).

Btw, can someone here host it when I release the SPK. Too lazy to create a website and purchase a domain or sign up to some hosting site.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby dondavis » Fri Jun 12, 2009 7:52 pm

+1
-----
You can only get better @ things you show some basic interest in...
Don's pc-box is a snow leopard. Telephone Nexus One Android. Iphone on e-bay
--------------
1x Qnap TS-110,Beta
2 x Qnap TS-639 Pro. Latest Stable firmware
1 x QNAP TS-439 Pro. Latest Stable firmware
1 x Synology DS-209. Latest Stable firmware
1 x Synology RS-409. Latest stable firmware
1x Synology DS-110J. Latest Beta firmware
1 x ReadyNas Duo. The king of slow backups. Latest Stable firmware

http://www.whopp.mine.nu
User avatar
dondavis
Versed
Versed
 
Posts: 230
Joined: Wed Sep 03, 2008 7:22 pm
Location: Sweden

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jun 17, 2009 11:21 am

Moved the download link and other info to the first post in this thread.

Thanks,
Sarav
Last edited by Sarav on Sun Jul 26, 2009 2:53 am, edited 3 times in total.
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby jrosado » Wed Jun 17, 2009 11:31 am

what is a transmission spk? :?: :oops:
1 DS409+ / 4 x WD20EADS 2TB Green Power / Transmission 1.73 :D
jrosado
Rookie
Rookie
 
Posts: 31
Joined: Wed Oct 22, 2008 10:44 am

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jun 17, 2009 11:37 am

As for the integration question, I don't know how to configure transmission to use the authentication provided by Synology. If anyone knows, please let me know and I will try to integrate it into the 3rd party page.

For now, the 3rd party page will always just open/point to <servername>:9091 which is the default port for tranmission and my transmission-adduser script.

See the info presented during and after install to know the dependencies and the steps needed to add a user. Without adding a valid user, you can't run the package.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jun 17, 2009 11:54 am

jrosado wrote:what is a transmission spk? :?: :oops:


Transmission is a torrent download daemon/app. SPKs are packages that you can install by doing to "System->Package Management" under the Management tab as an admin.

Btw, if anyone notices a newer stable version of tranmission is released, ping me here and I can make another SPK quickly.

-Sarav
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby Sarav » Wed Jun 17, 2009 11:58 am

I will use this single post to update usage instructions:

After adding a user, you will need to set the download directory properly before you can download any torrents. To set the download directory, click the settings icon in the webui at the bottom left corner. It looks like a gear. If you added any torrent before doing this, you will need to delete and add it again for it to work. Just a "Resume" doesn't seem to work.

Thanks,
Sarav
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby DS508_customer » Wed Jun 17, 2009 4:23 pm

Sarav wrote:
jrosado wrote:what is a transmission spk? :?: :oops:

Transmission is a torrent download daemon/app.

@Sarav: Please, consider describing in your start post what the benefits are of your feature request, if you want to promote positive votes for it. Why is the functionality of Transmission better then that of the current Download Station (which offers a BitTorrent client, as well)?

  • Model: DS1010+
  • Firmware: DSM2.3-1161
  • Volume 1: RAID 1 with 2 * Seagate ST31000333AS
  • Volume 2: RAID 5 with 3 * Western Digital WDC WD1000FYPS-0
  • Network: '1000, Full duplex, mtu 1500 with Dynamic Link Aggregation'
  • Services and packages enabled: as few as possible and at least 'Windows file service'
  • Hibernation Time: 15 minutes
  • External Devices: APC Back-UPS RS 1500VA LCD 230V via USB
C. A. R. Hoare wrote:The price of reliability is the pursuit of the utmost simplicity.

User avatar
DS508_customer
Enlightened
Enlightened
 
Posts: 436
Joined: Sun May 04, 2008 2:47 am

Re: Anyone interested in a transmission SPK?

Postby jrosado » Wed Jun 17, 2009 5:23 pm

Sarav wrote:
jrosado wrote:what is a transmission spk? :?: :oops:


Transmission is a torrent download daemon/app. SPKs are packages that you can install by doing to "System->Package Management" under the Management tab as an admin.

Btw, if anyone notices a newer stable version of tranmission is released, ping me here and I can make another SPK quickly.

-Sarav


Thanks..i knew what transmission is (i'm using it). I did not know what SPK was :D

Now all i have to do is to wait that my favorite private tracker allows transmission 1.7x :evil:
1 DS409+ / 4 x WD20EADS 2TB Green Power / Transmission 1.73 :D
jrosado
Rookie
Rookie
 
Posts: 31
Joined: Wed Oct 22, 2008 10:44 am

Re: Anyone interested in a transmission SPK?

Postby Sarav » Thu Jun 18, 2009 12:39 am

DS508_customer wrote:@Sarav: Please, consider describing in your start post what the benefits are of your feature request, if you want to promote positive votes for it. Why is the functionality of Transmission better then that of the current Download Station (which offers a BitTorrent client, as well)?


I assume people in the underground mod know what transmission is and the advantage of transmission might be different for different people. For me, it's the ability to control it from my phone. For others, it might be the WeUI or the ability to add torrents directly from their browser using tranmission-remote. So, I will leave that to each person. Also, I wasn't trying to promote it or get votes. Was just trying to figure out if it was worth packaging it for other people.

What I could describe is the advantage of SPK over ipkg or other install methods.

Thanks for suggesting.

-Sarav
Sarav
Versed
Versed
 
Posts: 236
Joined: Sat Apr 26, 2008 8:12 pm

Re: Anyone interested in a transmission SPK?

Postby brasi1 » Sun Jun 21, 2009 12:17 pm

sarav, thanks for the file

unfortunately, I get the message "failed to run package" after uploading and clicking run in the UI

any ideas ? :roll:
DS 109 / DSM 2.1-0835
brasi1
I'm New!
I'm New!
 
Posts: 6
Joined: Mon May 25, 2009 11:24 am

Next

Return to Torrent Engines/Download Station Mods

Who is online

Users browsing this forum: jarhead, MacSailer and 1 guest