Samba Shares on Raspberry Pi
I use my Rpi as a file server too. I can manage my torrents on Pi (from my home as well as remotely using Weaved service). My Pi downloads all the files directly to a 2TB HDD connected with it and I can view the movies and serials from practically anywhere in my home.
Some benefits of this configuration
- View from anywhere - I just have to be connected on Wifi network and I can access my HDD from anywhere in my home.
- No need to plug HDD to a single computer. Multiple users can stream the content directly without plugging HDD.
- Works on any device that supports SMB protocol. I stream directly to my smartphone (Android) using ES-Explorer and of-course on my laptop too.
- Torrents keep running on Pi and once any download is finished the file is available for anyone to view.
sambaon Rpi. I used
apt-getsince I use raspbian.
- Create a mount-point for HDD / Thumbdrive. I forgot the exact reason to do this but I vaguely remember that this step was required to make drives with NTFS or other format shareable with Samba.
- Mount HDD to the mount point.
Add a new entry to
/etc/samba/smb.conf. I have added following to my
smb.confand I use
/datamount point for mounting HDD.
[Raspberry Pi] comment = Raspberry Pi Share browseable = yes path = /data guest ok = yes read only = no
Restart Samba Using
sudo /etc/init.d/samba restart