Configuring Network Share from Raspberry Pi to access from Windows (Samba)
Updated: August 08, 2020
This step is optional but it will make your life a lot easier if you want to upload or download the files to/from your FDR unit (RPi)
Connect to RPi via SSH
sudo apt-get install samba samba-common-bin
Answer “Yes” to all the questions on the way.
Open Samba configuration file
sudo nano /etc/samba/smb.conf
Go to the very end of the file and add the following lines:
[pishare] comment = Pi Shared Folder path = /home/pi browsable = yes guest ok = yes writable = yes only guest=no create mask=0777 directory mask=0777 public=no
Save and close the file.
Samba maintains its own user database. So we need to add pi user to it. You will be asked to provide password for the pi user.
sudo smbpasswd -a pi
Restart your RPi board
When the RPi restart completed you will be able to access it by typing \\192.168.0.111\ in the Windows Explorer and access the RPi files system just like any other shared folder in your network.