Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Fstab after reboot does not work

$
0
0

I have a problem with the mount Windows directory.

  1. (terminal) I mount:

    mount.cifs //192.168.1.151/_wymiana /mnt/share_2 -o user=wega

    and it works.

  2. When I go to /etc/fstab and add:

    //192.168.1.151/_wymiana /mnt/share_2 cifscredentials=/root/.smbcredential_2,iocharset=utf8,sec=ntlm 0 0

After reboot it did not work:

.smbcredential_2 fileusername=wega   password=1234

Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>