cBrandon Community

General Category => Raspberry Pi => Topic started by: branx86 on December 24, 2015, 02:00:28 PM

Title: Mount network Drive on Raspberry Pi
Post by: branx86 on December 24, 2015, 02:00:28 PM
manual mounting
  mount //192.168.1.251/directory   /tmp/directory -o username=Of server or Nas,password=Of server or Nas
Example: mount -t cifs //192.168.1.251/FrontDoorCam /tmp/motion/video -o username=administrator,password=?#?$$#$,rw,file_mode=0777,dir_mode=0777

auto mounting using etc/FSTAB
//192.168.1.251/directory   /tmp/directory  cifs defaults,username=Of server or Nas,password=Of server or Nas  0  0

//server/share /mnt/name cifs defaults,rw,username=username,password=password,domain=domain 0 0