💾 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
⬅️ Previous capture (2024-05-12)
-=-=-=-=-=-=-
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:
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:
\# 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.
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 “raspberrypi”:</p> <blockquote><p><a href=
https://web.archive.org/web/20130102000000*/http://raspberrypi:9091/mysecretpath/