Accessing SMB share on DNS-323 that requires login

I have a DNS 323 NAS and set up the SMB Share. I've tested the access on Windows, so it working. It connected, and asked for login and password, and showed the files.

But I cannot access the SMB using my Ubuntu 20.04.1 LTS in which I'm using KDE as the desktop.

  • The Dolphin solution cannot connect, even I've written

    smb://[email protected]/ on the location.

  • I've tested with smb_client, as suggested here

    $ smbclient -L //192.168.1.1
    protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
    
  • Also tested the cifs suggestion did not work, either.

    $sudo mount -t cifs -o username=user //192.168.1.1 /media/NAS/
    mount: /media/NAS: special device //192.168.1.1/ does not exist.
    

Is there something that I'm missing so that I can connect to my NAS using my Linux machine?


Solution 1:

Using a Synology NAS in 20.04.1 I can successfully access my NAS by adding the following to my fstab file:

//192.168.1.117/share_name /media/NAS/share_name cifs username=user_name,password=pass_word,rw,uid=1000,gid=500

and sudo apt-get install cifs-utils

After some experimentation, the OP has found that the following line in his fstab works seamlessly:

//192.168.0.102/Volume_1 /media/NAS cifs vers=1.0,noauto,users,username=User,password=Pass,iocharset=utf8

where instead of the share_name he has included /Volume_1 set at the time of initialising the NAS which Windows did not require to establish the connection under that regime.