Posts: 215
Threads: 55
Joined: Sep 2019
Nov-09-2019, 03:35 PM
(This post was last modified: Nov-09-2019, 03:41 PM by Pavel_47.)
(Nov-09-2019, 03:27 PM)Gribouillis Wrote: It is essential that you specify the path of the shared folder. In my example the shared folder was the whole C drive, hence the C. The path I specified is that, suggested by windows when I open properties of shared folder.
Should I specify "real" path instead ?
(Nov-09-2019, 03:33 PM)Gribouillis Wrote: Isn't SARATOGA a subfolder of a windows volume such as C: or E: ? You probably need to include the name of the volume in the path. SARATOGA is the name of the Windows machine.
Tried also with full-path option, i.e. 192.168.0.1:C:/Users/.../pdf2.
The same error - bad UNC
Posts: 4,783
Threads: 76
Joined: Jan 2018
Try this perhaps (without the second colon) 192.168.0.1:C/Users/.../pdf2.
Posts: 215
Threads: 55
Joined: Sep 2019
Tried. Unfortunately the same.
Posts: 4,783
Threads: 76
Joined: Jan 2018
Does nmblookup SARATOGA print the IP address ?
Posts: 215
Threads: 55
Joined: Sep 2019
Yes, even two:
192.168.0.1
192.168.1.186
Concerning 2nd one I'm not aware what is, as when I configured wired connection, I used the 1st one.
Posts: 4,783
Threads: 76
Joined: Jan 2018
The issue goes further from what I know or remember from samba shares. You could try the second IP address to see if it works better. I think you're very close to mounting the shared folder but I can't tell you more. Good luck.
Posts: 215
Threads: 55
Joined: Sep 2019
Sorry, the order I dsisplayed two IPs was flipped.
Actuall it is as follows:
192.168.1.186 SARATOGA<00>
192.168.0.1 SARATOGA<00>
Posts: 4,783
Threads: 76
Joined: Jan 2018
Nov-09-2019, 04:00 PM
(This post was last modified: Nov-09-2019, 04:00 PM by Gribouillis.)
Instead of the ip address, you can perhaps try //SARATOGA/User/... Also make sure the username and password are correct.
Posts: 215
Threads: 55
Joined: Sep 2019
(Nov-09-2019, 03:55 PM)Pavel_47 Wrote: The issue goes further from what I know or remember from samba shares. You could try the second IP address to see if it works better. I think you're very close to mounting the shared folder but I can't tell you more. Good luck. Well I'll probably ask on Ubuntu forum.
Once it mounted should I use ordinary file access operations like open ?
Posts: 4,783
Threads: 76
Joined: Jan 2018
Nov-09-2019, 04:03 PM
(This post was last modified: Nov-09-2019, 04:03 PM by Gribouillis.)
Once it is mounted you can use it like any other linux directory, even see it in the file browser, etc. You can unmount it with the command
Output: sudo umount CORRECT_PATH
with the same path that succeded with mount.
|