I have a remote server which is connected to my wi-fi modem. So I can access this server by I want to mount a folder from this server on my local machine permanently. I wrote

\\\share  /mnt/buffalo  cifs  credentials=/home/l-one/Documents/credentials,iocharset=utf8,gid=1000,uid=1000,file_mode=0777,dir_mode=0777  0  0

in my /etc/fstab file. Now I can mount this folder every time I type sudo mount -a But there's a problem. When I restart my computer I have to type this sudo mount -a again to mount it. So what do I make to mount it one time and forever. I typed sudo mount -a in the Startup Applications and in the /etc/rc.local but it did not help. What am I supposed to do ?

  • I have one line exactly like yours, except it would be // My credentials are also in /root/creds. It is auto mounted on reboots. – Rui F Ribeiro May 11 '16 at 12:59
  • yeah the share should be // - not \\\share – mazs May 11 '16 at 14:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.