💾 Archived View for chirale.org › 2013-01-02_713.gmi captured on 2024-06-16 at 12:35:49. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2024-05-12)

-=-=-=-=-=-=-

Raspberry pi as network torrent downloader with Transmission

I wrote an article about transforming Raspberry Pi into a NAS to share files on a local network with an external usb storage: see technical details there, for brevity here just suppose you’ve a Raspberry PI  on local network with a USB drive attached.

transforming Raspberry Pi into a NAS

Since Raspberry PI has limited resources, my choice go to Transmission daemon. It’s a very light version of Transmission running as a service (daemon) in background. There are different client available, but I use the Web interface:

Web client

Using web client, I can start and stop and download torrents within the local network and, if you expose raspberry in the DMZ and use a static IP or a dyndns, from everywhere you are.

Let’s install! On root console, type:

\# apt-get install transmission-daemon

Edit the configuration file according to your filesystem:

Edit the configuration file

\# nano /var/lib/transmission-daemon/info/settings.json

Change “download-dir” and “incomplete-dir” into different directories on your external usb device, something like /media/MYDRIVE/mydownloaddir and /media/MYDRIVE/myincompletedir.

I also changed:

I leave unchanged:

Before restarting transmission, copy the configuration file somewhere as a backup copy, because sometimes Transmission overwrite it badly.

Restart transmission:

\# service transmission-daemon restart

Now you should reach web interface in this way:

=> http://RASPBERRY_PI_LOCAL_IP:rpc-port/rpc-url/ http://RASPBERRY_PI_LOCAL_IP:rpc-port/rpc-url/

e.g.

http://5:9091/mysecretpath/
=> http://5

or using the host name, for raspbian “raspberrypi”:

=> http://raspberrypi:9091/mysecretpath/

Typing username and password you can start to add torrent using the first icon on the left (Open torrent):

=> https://chirale.wordpress.com/wp-content/uploads/2013/01/upload.jpg?w=300 upload

Uploading a file from your local filesystem or providing a torrent url from an external service.

Important note: please remember that Raspberry PI has limited resources. Do not start too many torrents at once because hash calculations are cpu intensive.

After you finished download, seed for a while and then clear the completed items (right click to show options) you’ve already downloaded to keep Transmission running smoothly.

See also

https://web.archive.org/web/20130102000000*/https://chirale.wordpress.com/2012/08/31/turn-raspberry-into-a-small-nas-with-samba/

https://web.archive.org/web/20130102000000*/https://trac.transmissionbt.com/wiki/EditConfigFiles

https://web.archive.org/web/20130102000000*/http://RASPBERRY_PI_LOCAL_IP:rpc-port/rpc-url/

<p>e.g.</p> <blockquote><p><a href=

https://web.archive.org/web/20130102000000*/http://192.168.0.5

<p>or using the host name, for raspbian &#8220;raspberrypi&#8221;:</p> <blockquote><p><a href=

https://web.archive.org/web/20130102000000*/http://raspberrypi:9091/mysecretpath/

<p>Typing username and password you can start to add torrent using the first icon on the left (Open torrent):</p> <p><a href=

https://web.archive.org/web/20130102000000*/https://chirale.wordpress.com/2013/01/02/raspberry-pi-as-network-torrent-downloader-with-transmission/upload/

https://web.archive.org/web/20130102000000*/https://chirale.wordpress.com/2013/01/02/raspberry-pi-as-network-torrent-downloader-with-transmission/upload/

https://web.archive.org/web/20130102000000*/http://www.raspberrypi.org/phpBB3/viewtopic.php?f=27&amp;t=8714

</ul>