Create torrent on NAS

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
vandersat
Posts: 3
Joined: Mon Nov 19, 2012 11:00 am

Create torrent on NAS

Post by vandersat »

Hi All

I have just installed Transmission on my QNAP TS-110 Nas.
Downloading is excellent and is the web interface tools are excellent
But none of the tools used have the "Create Torrent" menu.

This is a function to be activated? How?

Thanks in advance
maki.ato
Posts: 70
Joined: Fri Apr 15, 2011 10:20 pm

Re: Create torrent on NAS

Post by maki.ato »

You can do it using a command-line tool (i.e. from telnet/ssh) that comes with transmission daemon.

Code: Select all

sh-3.2# transmission-create --help
Usage: transmission-create [options] <file|directory>

Options:
 -h --help              Display this help page and exit
 -p --private           Allow this torrent to only be used with the specified
                        tracker(s)
 -o --outfile <file>    Save the generated .torrent to this filename
 -c --comment <comment> Add a comment
 -t --tracker <url>     Add a tracker's announce URL
 -V --version           Show version number and exit
sh-3.2#
Then, you load it to transmission (you might need to tweak the torrent file's permission (chmod) or ownership (chown) depending on the login credentials you use in the telnet/ssh session and the account you use to run transmission.
vandersat
Posts: 3
Joined: Mon Nov 19, 2012 11:00 am

Re: Create torrent on NAS

Post by vandersat »

Thanks Maki for the answer.
But... using putty to access the nas, and running the command suggested, I receive this error :

[~] # transmission-create --help
transmission-create: error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory


What I missing ?
maki.ato
Posts: 70
Joined: Fri Apr 15, 2011 10:20 pm

Re: Create torrent on NAS

Post by maki.ato »

What's the output from running the command:

Code: Select all

ldd transmission-create
On my NAS it looks like its either statically linked with libevent or more likely that transmission was built without the libevent support:

Code: Select all

sh-3.2# ldd /ffp/bin/transmission-create
ldd: can't open cache '/ffp/etc/ld.so.cache'
        librt.so.0 => /ffp/lib/librt.so.0 (0x4000e000)
        libcurl.so.4 => /ffp/lib/libcurl.so.4 (0x40018000)
        libssl.so.0.9.8 => /ffp/lib/libssl.so.0.9.8 (0x4005c000)
        libcrypto.so.0.9.8 => /ffp/lib/libcrypto.so.0.9.8 (0x400a2000)
        libdl.so.0 => /ffp/lib/libdl.so.0 (0x401d9000)
        libz.so.1 => /ffp/lib/libz.so.1 (0x401e4000)
        libm.so.0 => /ffp/lib/libm.so.0 (0x40201000)
        libpthread.so.0 => /ffp/lib/libpthread.so.0 (0x4021c000)
        libc.so.0 => /ffp/lib/libc.so.0 (0x40236000)
        ld-uClibc.so.0 => /ffp/lib/ld-uClibc.so.0 (0x40000000)
sh-3.2#
vandersat
Posts: 3
Joined: Mon Nov 19, 2012 11:00 am

Re: Create torrent on NAS

Post by vandersat »

Here the output :

[~] # ldd transmission-create
ldd: ./transmission-create: No such file or directory
[~] #



Sorry if it's a stupid question, but I'm no so strong in Linux use. :)
maki.ato
Posts: 70
Joined: Fri Apr 15, 2011 10:20 pm

Re: Create torrent on NAS

Post by maki.ato »

sigh, oh boy.
You should use the full path to transmission-create. If you don't know where it is, try running the command:

Code: Select all

which transmission-create
Edit: So from your answer I understand that you didn't compile it yourself. Contact the person(s) who compiled it and report this issue.
Post Reply