×
Menu
Index
  • How to create a shared folder between Windows and Controller

How to create a shared folder between Windows and Controller

 
** The PC drops the file into a "shared"  folder on the Controller.  The Shared folder is
path=/home/pi/Public/axcys/gate
 
 
 
This is only used when the network is not cooperating.  The share allows that the PC where the file lands, can be pointed to the shared folder destination.
 
** PULL UP THIS WEBSITE **
https://raspberrypihq.com/how-to-share-a-folder-with-a-windows-computer-from-a-raspberry-pi/
 
Samba
Install Samba      sudo apt-get install samba samba-common-bin
 
Edit the Config File  sudo nano /etc/samba/smb.conf
 
[PiShare]
 comment=Raspberry Pi Share
# path=/home/pi/share
path=/home/pi/Public/axcys/gate
 browseable=Yes
 writeable=Yes
 only guest=no
 create mask=0777
 directory mask=0777
 public=no   ****  Change this to YES to make it easier.
 
 
How to restart Samba:              sudo systemctl restart smbd
How to stop Samba:                  sudo systemctl stop smbd
How to check Samba Status:    sudo systemctl status smbd
 
chmod 777 /etc/samba
 
***Must add a Samba Password.  To do so type:
sudo smbpasswd -a pi
 
Set the samba password to: 'axcys'
 
MUST: restart Samba:   sudo systemctl restart smbd
 
 
If cannot connect do this:
Re: Samba public share not showing up on Windows 10
Check Control Panel > Programs & Features > Turn Windows features on or off and see if SMB 1.0/CIFS File Sharing Support is enabled or disabled. If it's disabled, try enabling it and see if that resolves your issue.