Connecting to a Windoz share troubles

I ripped 4-5 albums onto a second disk on my W10 pc in a directory I named MyMusic. The path is K:/MyMusic
The directory structure in MyMusic looks like:
Genre/AlbumTitle/Track1, Track2…TrackN

I used the Windoz drive manager to create a share and enable CIFS ver1 server (and client), the default for Windoz is V2 (or 3…don’t recall).
According to the info Windoz gives me, the share path is //share_device/share_name, e.g. //MY_WORKSTATION/MyMusic

In configuring Volumio, i specify CIFS protocol, and the path is //MY_WORKSTATION/MyMusic.
It does not find it.
I also tried making another directory and configured the share using windows default sharing, e.g. //MY_WORKSTATION/k:/MyMusic and entered this into Volumio, still no joy.
I am a bit lost as to how to make Volumio find my windows share…Any help/suggestions are appreciated.
BTW, I can connect to the workstation share from my windows laptop with no problem…
I tried to connect from within a Ubuntu guest server VM on Windows host (running VirtualBox) and no joy either…am thinking that is more a function of the VM…
Also, both of the windows shares are accessible to ‘everyone’ and everyone has r/w/m privileges.

Firstly, try specifying the cifs version in Volumio advanced options (vers=1.0) can-connect-smb-cifs-network-share-t9340.html

Thank you…very bizarre behavior resulted…
Specified my ip: 192.168.1.5, and my share name: Music2, tried cifs, vers=1.0 and it prompted for username and password. Nothing on the system has a password. I clicked Save and it connected.

The problem is, Music2 contains many subdirectories and has one called Music, which is what I should have specified in the path. It was taking forever to scan (350+GB) so I removed the share, rebooted the RPi, and tried again, only this time specing \Music2\Music. Same prompt for username and pw…hit save…just sat there. After a bunch of attempts, one of which I redid the first attempt that succeeded, nothing was working. Tried vers=1.0 and vers=2.0 along with different path variations, nothing worked. 2+ hours later, I am writing this note…

What should be the proper path specification: Music2\Music ? Music2/Music ? Music2\Music\ ? Music2/Music/ ? Music ?

After more playing around, on a few occasions when it ‘scanned for shares’ it found my two linux machines on my network - never found the windows machine…and after a couple of discovers, it went back to not finding any machines. I am beginning to think there is something a bit brittle in the connection to share code…
Additional help needed…
Thanks
J

This sounds like a naming problem for your share vs. how Linux sees it. If you have access to the command line on your device (ssh access), then would you mind running ‘smbclient -L 192.168.1.5’ (or whatever your windows IP address is).

On my windoz machine (192.168.1.16, aka jjh_workstation) …
c:\ net view \jjh_workstation

Shared resources at \jjh_workstation

Share name Type Used as Comment


Brother MFC-J5930DW Printer (Copy 1) Print Brother MFC-J5930DW Printer (Copy 1)
c_drive Disk
C_jjhPC Disk
I Disk
jjh_workstation_Documents Disk
K Disk – this is a 1TB partition of a 2 TB disk where I keep the Music and Music2 folders
M Disk – this is the remaining 1TB partition of the 2TB disk
Music Disk – This is the original shared director
Music CDs Disk
Music2 Disk – this is a second directory I created using embedded windows disk mgmt tools
– specified to use CIFS 1.0 for client, server support.
Users Disk
The command completed successfully.

*the following commands are what I believe is the equivalent of “smbclient -L 192.168.1.16”

c:\ dir \jjh_workstation\Music

Volume in drive \jjh_workstation\Music is JJH_2TB_Data_P1
Volume Serial Number is 9612-02F0
Directory of \jjh_workstation\Music

03/05/2019 11:00 AM .
03/05/2019 11:00 AM …
11/06/2018 08:33 PM 1_BlueGrass
02/09/2019 07:12 PM 1_Christmas Music
01/11/2019 08:58 PM 1_Church Music
02/09/2019 06:47 PM 1_Classical_Music
11/05/2018 01:03 PM 1_Classic_Oldies_Music
11/21/2018 01:26 PM 1_Contemporary Music
01/19/2019 01:54 PM 1_Country Music
02/09/2019 07:04 PM 1_EasyListening Music
01/21/2019 10:29 AM 1_Electronic Music
01/21/2019 01:04 PM 1_Greek Music
01/12/2019 12:05 PM 1_Instrumental
01/12/2019 05:56 PM 1_Jazz_Music
01/19/2019 04:27 PM 1_Kids Stories Music
01/20/2019 03:03 PM 1_Latin_Music
01/12/2019 01:40 AM 1_New Age Music
01/12/2019 12:03 PM 1_Pop Music
01/12/2019 01:04 AM 1_Reggae
01/20/2019 11:23 PM 1_Rock Music
01/20/2019 04:04 PM 1_Rythmn Blues
01/11/2019 07:36 PM 1_Soul
11/06/2018 10:57 PM 1_Tango Dance Music
01/12/2019 12:06 PM 1_Vocal_Music
01/12/2019 04:12 PM 1_World

16 File(s) 84,593,004 bytes
26 Dir(s) 672,264,286,208 bytes free

c:\ dir \jjh_workstation\Music2

Volume in drive \jjh_workstation\Music2 is JJH_2TB_Data_P1
Volume Serial Number is 9612-02F0

Directory of \jjh_workstation\Music2

08/20/2017 01:32 AM 16gb stick
01/13/2019 09:29 PM 1_MP3
02/10/2019 12:31 AM 1_Music mp3
01/08/2019 11:20 AM Mopidy
03/05/2019 11:00 AM Music
01/10/2018 08:20 PM Music CDs
03/03/2019 02:34 PM Music2 [??\Volume{bfbf16f2-0000-0000-0000-100000000000}]
02/10/2019 01:07 AM music_mp3_2
11/29/2018 09:46 PM 2,478,210 Tekscope_1976_V8_N2.pdf
11/29/2018 09:50 PM 16,599,429 tektronix_fg504_function_gen.pdf
11/29/2018 09:46 PM 216,493 Tek_fg5010_fg507_fg504_description.pdf
02/25/2019 09:42 PM Videos
08/15/2018 04:10 PM Videos & Pictures
03/03/2019 10:44 PM Volumio

46 File(s) 219,014,185 bytes
73 Dir(s) 672,264,286,208 bytes free

I want to be able to connect to \Music and not Music2
Thanks
J

Sorry, I should have been more clear. Run smbclient on your Volumio device … you should then be able to see exactly what Windows is sharing.

I thought that is what you meant but figured you wanted to see something else…here are the results

ssh’ed to my RPi running volumio (192.168.1.17)…

volumio@volumio:~$ smbclient -L 192.168.1.17
Enter volumio’s password:
Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian]

    Sharename       Type      Comment
    ---------       ----      -------
    Internal Storage Disk      Volumio Internal Music Folder
    USB             Disk      Volumio Internal Music Folder
    NAS             Disk      Volumio Internal Music Folder
    IPC$            IPC       IPC Service (Volumio Audiophile Music Player)

Domain=[WORKGROUP] OS=[Windows 6.1] Server=[Samba 4.2.14-Debian]

    Server               Comment
    ---------            -------
    PLUTO-SERVER         pluto-server server (Samba, Ubuntu)
    VOLUMIO              Volumio Audiophile Music Player

    Workgroup            Master
    ---------            -------
    WORKGROUP            PLUTO-SERVER

***** from the command line on volumio…I run the command and point to the Windows box…
volumio@volumio:~$ smbclient -L 192.168.1.16
Enter volumio’s password:
OS=[Windows 10 Pro 17134] Server=[Windows 10 Pro 6.3]

    Sharename       Type      Comment
    ---------       ----      -------
    ADMIN$          Disk      Remote Admin
    Brother MFC-J5930DW Printer (Copy 1) Printer   Brother MFC-J5930DW Printer (Copy 1)
    C$              Disk      Default share
    c_drive         Disk
    C_jjhPC         Disk
    D$              Disk      Default share
    I               Disk
    IPC$            IPC       Remote IPC
    jjh_workstation_Documents Disk
    K               Disk
    K$              Disk      Default share
    L$              Disk      Default share
    M               Disk
    M$              Disk      Default share
    Music           Disk
    Music CDs       Disk
    Music2          Disk
    print$          Disk      Printer Drivers
    Users           Disk

Connection to 192.168.1.16 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled – no workgroup available
volumio@volumio:~$

As I interpret it, volumio doesn’t see the Windos shares???

I played around more with trying to connect to the windows share, still not joy…

Can you explain why I see the name/password prompt when I try to connect to a machine that has only one username and no passwords for anything?

Is there any sort of debugging capabilities built into this program? Logfiles? execution traces? state memory dumps?

So your PC has shares at Music, Music CDs & Music2, which Volumio can see ok with cifs. To mount these, you should be trying something like:
IP Address: //192.168.2.17
Path: /Music

Can you post exactly what you are entering in the GUI when you try and mount a share (or post some screenshots) please?

You can either see the error log in real time from the commandline on the RPi by typing “sudo journalctl -f” (then try & mount the share), or by uploading a log as detailed here..

I can post details when I get home, but, I can see one issue already: In the GUI for the IP address, I only typed the address and NOT the two forward slashes.
For the Path, I did put in the forward slash.

When I did this, I got a window in the GUI that asked for UserName and password…
Hence the other question I am wondering about.
J

“//” preceeding the IP address is incorrect sorry (not needed in Volumio GUI, but is for CLI).

The user and password prompts come as a cifs requirement. Have you tried adding your username and a blank password? I rarely use cifs, but I do believe that it has a “guest” option, but how that would fit in with Volumio’s implementation I don’t know without fiddling … might be as simple as including it in the advanced options. I will set up a Windows box this weekend if I have time.

Also,

Do you mean you have overridden the default cifs protocol version in Windows? If so, don’t do this, because it is likely to complicate the situation. Volumio should be quite happy with cifs vers 2 or 3 … specifying vers 1 in Volumio should only be the case of old hardware such as a NAS which is incompatible with the more secure versions.