[LINUX]How to mount NAS network drive or folder in Raspberry pi

we could mount network share or folder or drive, on linux

  1.  Follow step to install  required software and mount NAS share
  2. Open a Terminal and install   CIFS utility as mentioned below,
  3. sudo apt-get install cifs-utils or
    sudo apt-get install smbfs (incase old distribution)
  4. Now edit /etc/fstab file to add mount partition.
  5.   sudo vi /etc/fstab
  6. following is example where “Videos” folder from NAS is mounted on linux with guest permission.  NOTE: it should be single-line
  7. //<IP_ADDRESS>/<DISC>/Media/Videos /media/Networkdrive cifs guest,uid=33,gid=33,iocharset=utf8 0 0
  8.  save and close file
  9. on terminal  "sudo mount -a"
  10. if there are no errors it will available as  “/media/Networkdrive
    “.
  11. After reboot this share will be available.

 

About glframebuffer

just another guy.
This entry was posted in How to?, Linux, RaspberryPI, Uncategorized and tagged , , , , , , , , . Bookmark the permalink.

Leave a comment