how to setup a samba server on raspberry pi code example Example 1: pi samba config sudo nano /etc/samba/smb.conf Example 2: configure samba on RPI sudo smbpasswd -a pi