I was recently given an old NAS (Omninas KD20). This model was discontinued in 2015 and I have spent the last three days trying to mount it in a Linux container to no avail. I am very close to just chucking it in the bin!
Here's what I have tried:
I've created a directory call test on the NAS which is public. I can connect to this in Windows (however I had to re-enable SMBv1). I can connect to the share in Linux with smbclient and also with Gigolo. I cannot seem to mount the share using the mount command.
Code:
$ sudo mount -t cifs //192.168.1.56/test/ /home/cifs/ -o username=john,password=john
mount error(112): Host is down
I thought maybe it's the SMBv1 issue? dmesg contains an error mentioning dialect level, so let's try that.
Code:
$ sudo mount -t cifs //192.168.1.56/test/ /home/cifs/ -o username=john,password=john,vers=1.0
mount error(1): Operation not permitted
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
There is no error after this command in dmesg.
Very weird because smbclient works!
Code:
$ sudo smbclient -L 192.168.1.56/test -U john
Enter john's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.32]
Sharename Type Comment
--------- ---- -------
test Disk
iTunes Disk Default_iTunes_share
disk Disk Default_share
IPC$ IPC IPC Service (OMNINAS Series)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.32]
Server Comment
--------- -------
LAPTOP-UMPSESSF
OMNINAS-434369 OMNINAS Series
RTORRENT Samba 4.2.14-Debian
Workgroup Master
--------- -------
WORKGROUP OMNINAS-434369
I can also access the share using Gigolo on another laptop. I simply type in the IP address, check 'Windows Share' and then it can connect. I can then open it in a terminal and see the files.
This is incredibly frustrating because I can't do the one thing I need to do with this Does anyone have any ideas?!