Wednesday, September 13, 2023

setting up smb server raspberry pi

sudo apt-get install samba samba-common-bin
sudo nano /etc/samba/smb.conf

## add to bottom
[thon2na]
path = /home/pi/
writeable=Yes
create mask=0777
directory mask=0777
public=no

sudo smbpasswd -a pi
sudo systemctl restart smbd

No comments:

Post a Comment