
Went back to Windows to copy a file to the drive.
#Raspberry pi samba windows share install#
Installed samba onto the Pi Zero and created a share of the Seagate drive on it. Windows clients look for this share name as a source of downloadable printer drivers print comment Printer Drivers path /usr/share/cups/drivers browseable yes read only yes guest ok no workgroup yourworkgroupname wins support yes. Jump to step: Update Raspberry Pi OS Install Samba Create storage directories Enable authentication prompt Adjust private storage permissions Adjust. Attached the Seagate drive to it and copied a file to the microSD card - got around 50MB/s. You can now access the defined share from a Windows machine or from an app that supports the SMB protocol.įor more information, visit the Samba website. Thinking I royally messed something up, I flashed a new image of Raspbian onto a Raspberry Pi Zero W. Save the changes and restart Samba using sudo /etc/init.d/samba restart Scroll down to the end of the file and add a share definition (e.g., for photos replace with the actual path to the directory containing photos): Open the smb.conf file for editing in the Nano text editor using sudo nano /etc/samba/smb.confĪnd uncomment the security = user line. Samba is a network protocol to allow Windows clients to share files, printers and access other Windows services such as Active Directory. To install Samba on Raspberry Pi, run sudo apt-get install samba samba-common-binĪnd add user pi to the local smbpasswd file: sudo smbpasswd -a pi

So, if you want to access photos stored on the Raspberry Pi server from your Android device, deploying Samba is the way to go. For example, the Photo Mate RAW processing app for Android can access photos stored on Windows shares.

Even if your local network is free from Windows clients, having Samba running on the Raspberry Pi server can come in handy in many situations. If you have Windows machines on your local network and you want to access photos stored on the Raspberry Pi server, you should install and configure Samba software. (From “Photo Server: Turning Raspberry Pi into a photo server” by Dmitri Popov, Raspberry Pi Handbook, Special Edition 14, pg.
