$ sudo apt-get install samba samba-common-bin
$ sudo vim /etc/samba/smb.conf
[samba]
path = /media/2tb
writeable=Yes
create mask=0777
directory mask=0777
public=no$ sudo smbpasswd -a pi
$ sudo systemctl restart smbd
How to mount it in Windows:
“Computer” -> “Map network drive”
Disk: Z
Path: \\raspberrypi\samba
How to mount it in Mac OS X:
???
No comments:
Post a Comment