SMB/CIFS Share -- Setup in Ubuntu

  • It makes me crazy "mounting under Ubuntu is a nightmare for me.


    I placed below entry into /etc/fstab/


    Code
    //192.168.10.27/Users/Home/AM/ /mnt/windowsshare cifs credentials=/home/ubuntuusername/.smbcredentials,iocharset=utf8,sec=ntlm 0 0


    When I run mount -a I get the following error:


    Code
    root@DK8888:~# mount -a
    error 2 (No such file or directory) opening credential file /home/ubuntuusername/.smbcredentials


    I can't see what I should have done wrong, but else I know it would work.

  • I did some changes in the mount string:


    Code
    //192.168.10.27/media/4fcfda30-31ac-49ad-8d8c-d84723cbe1af/Users /mnt/windowsshare cifs credentials=/home/snofla/.smbcredentials,iocharset=utf8,sec=ntlm 0 0


    When running mount -a


    I get the following error:


    Code
    root@DK8888:~# mount -a
    Retrying with upper case share name
    mount error(6): No such device or address
    Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!