Samba
- Install Samba
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install samba samba-common-bin
- create a share, e.g.
- sudo mkdir -m 1755 /share
- to create a share under which more directories can be created for specific needs
- configure the share
- edit /etc/samba/smb.conf
- to contain similar to...
- [share]
- Comment = Pi shared folder
- Path = /share
- Browseable = yes
- Writeable = Yes
- only guest = no
- create mask = 0755
- directory mask = 0755
- Public = yes
- Guest ok = no
- and test by running
- sudo testparm
- we need to create samba users (e.g. MFP)
- $ sudo /usr/sbin/useradd --shell /bin/bash -m MFP
- $ sudo passwd MFP
- $ sudo smbpasswd -a MFP
- and start service
- sudo service smbd restart