Mounting Samba

instruksi mounting samba ke raspberry pi

sudo apt-get install smbclient

sudo mount -t cifs -o user=IRZA,password=S***,sec=ntlmv2,rw,file_mode=0777,dir_mode=0777 //192.168.30.97/Public /home/pi/data/


untuk raspberry pi bisa dimounting di Windows.

sudo apt-get install samba samba-common-bin

edit file /etc/samba/samba.conf

tambahkan:
  workgroup = yes
  wins support = yes

dan berikut ini:

[pihome]
   comment= Pi Home
   path=/home/pi
   browseable=Yes
   writeable=Yes
   only guest=no
   create mask=0777
   directory mask=0777
   public=no

0 komentar:

Posting Komentar