To copy a patch file to the NAS I have on my network, I need to excess the Volume1 folder.
Usually I mount my NAS with Samba, but when I do that I have no access to the Volume1, and the invisible folders in there.
I have tried:
sudo mount 192.168.0.200
sudo mount 192.168.0.200:/volume1
But both commands give the error:
can't find in /etc/fstab.
I assume i have to configure /etc/fstab
correctly, but i don't know how really, but for one, I do not see fstab folder in /etc
.
Also I am not sure how to deal with the username and password issue.
A pointer in the right direction would be much appreciated.
In reply to the answer by Jos: I did the following.
sudo mkdir /mnt/vol
sudo mount -t cifs //192.168.0.200/volume1 /mnt/vol
The error message was:
mount: /mnt/vol: bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program.
The following error message was:
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
The output of smbclient -L 192.168.0.200
was:
Sharename Type Comment
--------- ---- -------
Home Disk Home directory
Public Disk System default share
Web Disk Web default shared folder
Download Disk Download default share.
Plex Disk Default location for Plex library.
Movies Disk
Photo Disk
Ebooks Disk
Documents Disk
MyArchive1 Disk MyArchive: Series
IPC$ IPC IPC Service ()
Reconnecting with SMB1 for workgroup listing.
Server Comment
--------- -------
Workgroup Master
--------- -------
WORKGROUP
This is what needs to be done according to this thread, but from windows remote instead of Linux.
https://forum.kodi.tv/showthread.php?tid=330347
What to do when copying?
- In ADM Services > Enable "Terminal" port 22
- Download WinSCP from "https://winscp.net/eng/download.php"
- Install WinSCP as a Commander type
- Run WinSCP
- Create connection -> protocol "SCP" + host "your ip NAS" + port 22 + username "root" and password.
- After success connect > on the right panel goto / and copy volume1 (you must find volume1 from download dropbox in left side panel) from the left side to the right side .
Just got a phone call from a friend that was coming over. I asked if i could borrow his laptop (windows) to do this and got it fixed easily. I love Ubuntu, but sometimes the use of Windows can be very helpful, unfortunately.
Still I would love to be able to do this through Ubuntu too.