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://user@192.168.1.1/on the location.I've tested with smb_client, as suggested here
$ smbclient -L //192.168.1.1 protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTEDAlso tested the
cifssuggestion 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?
`
– graham Jan 12 '21 at 19:20mount: /media/NAS: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.– kelalaka Jan 12 '21 at 19:24sudo apt-get install cifs-utilsThe file I mentioned is .smbcredentials to store user and password – graham Jan 12 '21 at 19:33//192.168.1.1 /media/NAS cifs username=user,password=passwd,rw,uid=1000,gid=500returnsmount error(22): Invalid argument Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)withsudo mount /media/NAS– kelalaka Jan 12 '21 at 19:38//192.168.0.102/Volume_1 /media/NAS cifs vers=1.0,noauto,users,username=User,password=Pass,iocharset=utf8This solved. The final mistake was the requiredVolume_1that Windows did not required. Thanks for the help. If you want, write a answer? – kelalaka Jan 12 '21 at 19:57