SHARE
TWEET

Untitled

a guest Jun 30th, 2018 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. apt-get install  samba-common smbclient samba-common-bin smbclient  cifs-utils
  2.    
  3. mkdir /mnt/abc
  4. mount -t cifs //server/share /mnt/abc
  5.    
  6. mount -t cifs //server/share /mnt/abc -o user=user,pass=password,dom=domain
  7.    
  8. umount /mnt/abc
  9.    
  10. sudo nano /etc/fstab
  11.    
  12. //server/share  /mnt/abc  cifs  guest  0  0
  13.    
  14. sudo mount -a
  15.    
  16. //server/share  /mnt/abc cifs username=username,password=password  0  0
  17.    
  18. nano ~/.smbcredentials
  19.    
  20. username=username
  21. password=password
  22.    
  23. chmod 600 ~/.smbcredentials
  24.    
  25. //server/share  /mnt/abc cifs credentials=/home/pi/.smbcredentials  0  0
  26.    
  27. sudo mount -a
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top