So I installed samba from the app store, and I can not see the default shares on my windows computers, so I used apt-get to install smbclient to check, and got this.
osmc@osmc:/etc/samba$ smbclient -L 192.168.1.126
Enter osmc's password:
Connection to 192.168.1.126 failed (Error NT_STATUS_CONNECTION_REFUSED)
osmc@osmc:/etc/samba$ smbclient -L localhost
Enter osmc's password:
Connection to localhost failed (Error NT_STATUS_CONNECTION_REFUSED)
osmc@osmc:/etc/samba$ smbclient -L 0
Enter osmc's password:
Connection to 0 failed (Error NT_STATUS_UNSUCCESSFUL)
osmc@osmc:/etc/samba$ iptables -L
I check the log files at /var/log/samba/log.smb and nmb and they show no error messages. I am pulling out what little hair I have left trying to get this to work. Any ideas/help would be greatly appreciated.
You wouldn’t need to install samba to see shares on a networked Windows PC. I usually set up the workgroup in System|services (you need Advanced or Expert set) to see this, I think.
If you’re talking about shares on your Pi running OSMC being seen from Windows, then it is a known weakness that Windows doesn’t often show them, BUT, if you get up Explorer in Windows (NOT Internet Explorer), and put \ \192.168.1.126 in the address bar and hit return (if that was the Pi IP address), you should see them.
Derek
another option is NFS, you could just map the shares you want, and not have to worry about finding them. I use NFS to map my media shares to my other HTPCs, but samba for accessing the rest of the OS to copy file between machines, that I can’t use scp