I’m currently trying to set up OSMC on a RBPi and would like to stream from Windows 10
Let me just say that I am aware that my problem is not new and that this is a similar thread to many others. But the others haven’t answered all the questions I have and I am still lost.
Steps I have taken:
*Shared the relevant folders and the drive (an external HDD in Win 10)
*Removed password sharing in Network Config (Win 10)
*Made sure my AV/Firewall isn’t being screwy - I’m using BitDefender
Problems I am having:
*Unable to browse SMB on OSMC - I know that there are problems with browsing on Win 10
*Unable to set up specific folders.
My PC name is ‘ASGARD’, the external HDD is the G: drive and the folder is called ‘TV’
Entering “smb://ASGARD/TV” into ‘Add Network Location…’ in OSMC yields ‘Connection time out’.
The same thing happens with “smb://ASGARD/G” or trying lower case etc
My workgroup is just called WORKGROUP
Through going into the various forums, I keep coming across the advice to use fstab or edit an .xml file. The issue with that is I don’t know how to properly format the fstab, and I’m also not sure what to put down for any SMB username and password - I am logged into Windows 10 using a ‘@live.co.uk’ account.
Can anyone offer some help? I’ve tried youtube tutorials too, but all those can simply browse for their folders of interest.
Thanks, I tried that too last night. Same deal. Whether I include the password or not, I get the same error after any password prompt. I also tried specifying the workgroup name and also using the version flag in this call, those were the only flags that seemed relevant in this case. In addition, I tried to use //ASGARD/ instead of the device IP. Each time same error.
Essentially I get a list of the detected samba shares and then the same NT_STATUS_… error and a NetBIOS / no workgroup message.
osmc@osmc:~$ smbclient -L <IP address>
Enter osmc's password:
OS=[Windows 10 Home 17134] Server=[Windows 10 Home 6.3]
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
D$ Disk Default share
G$ Disk Default share
H$ Disk Default share
IPC$ IPC Remote IPC
Connection to <IP address> failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
I took your example and got it to work in my environment:
You need to give sharing access to G$ AND directory TV for local user osmc within Win 10
You need to change the fstab-line from //IP/G$/TV … to //IP/G/TV …since the sharing name for G$ is simply G for normal users. The concept to use concatenated sharing names is not clear to me but I simply document how it works. I would use //IP/TV ... instead which makes it much more simple.
You need to specify the 3.0 cifs protocol in your /etc/fstab so let start the option list with vers=3.0,x-systemd.automount, …
So, here the example which works in my setup with Win 10: