Install samba:
sudo apt-get install sambaModify the Samba config file to add a share called pihome which points to the /home/pi directory:
sudo nano /etc/samba/smb.confScroll to the bottom and add the following:
protocol = SMB2 [pihome] comment= Pi Home path=/home/pi browseable=Yes writeable=Yes only guest=no create mask=0644 directory mask=0755 public=no
Setup a samba password for the Pi user:
sudo smbpasswd -a piRestart the samba service:
sudo service smbd restartYou should now be able to connect to your Pi using the address:
//ip_address_of_pi/pihome
No comments:
Post a Comment
Note: only a member of this blog may post a comment.