OK I have installed samba via the app store and can see my pi from my Windows machine but it asks for username and password which I know is osmc and osmc but it won’t let me access the devices folder where my external hard drive is connected. So I have 2 issues, 1. I would like to be rid of the username and password and 2. How do I get my windows machine to access the external drive attached to my pi?
Thanks in advance.
I have a model B pi with adequate power. Everything else works as it should.
The hard drive is formatted as ntfs. I would like to be rid of the username and password as I use some programs on my windows pc to scan for new episodes etc…
Do I need to add the external hard drive to the fstab? It is auto mounted and works fine from the pi eg. I can watch movies etc I just cannot access it via my windows pc. I can however access the external hard drive via my phone with es explorer.
When i open up network on my windows pc i see the icon for OSMC just like you would any other network device. Whe i double click it i get this
All i would like to be able to do is click on the OSMC icon to access my Media to transfer new content or delete old content without the need for a username or password.
Now in case you ask, yes my network is configured correctly as i can ssh into my pi
as seen above.
I am using the default smb.conf that comes installed with samba from the app store.
If i type in the address to my pi in the address bar i get prompted for a username and password (osmc:osmc) which i wish to remove. The reason i left this section for last is because previously i could access my pi (Raspbmc) from the network icon but now i cannot and that way would be preferred.
That SSH login screen doesn’t prove anything, as SAMBA has its own way of dealing with passwords. You might need to post your /etc/samba/smb.conf, in case there is a readily spotted problem there.
Just in case there is a problem with the clicking on icon to access, can you see if accessing by use of \\IPaddress in the explorer path field exhibits the same behaviour.
Have you tried connecting to \\osmc\osmc instead of just \\osmc ? Depending on the security settings of your windows install the second may not work but the first should.
Have you changed your password to osmc and if so are you expecting that new password to work for samba as well ? The samba password must be changed separately to the ssh password using smbpasswd. Both passwords start out as osmc, but they don’t track each other.
when I installed samba from the store I also could not connect from my Windows machine. I did not think about it a lot and just set a new password for the osmc samba user (smbpasswd -a osmc). After that I could connect and browse all shares.
I’ll try changing the password for samba tomorrow as I switched cards and am now back on raspbmc to update my media as I have it configured with no password as I prefer it that way to access from all my home devices.
Question? Why can I not use the smb.conf from raspbmc with osmc? Obviously changing pi to osmc which I did but it was of no use.
After that reboot both OSMC and your Windows PC - see if that allows you to browse to \\osmc (or via Network) and see the share list, which should be devices and osmc. When you actually try to enter one of the share it should still prompt you for a username and password however. (osmc/osmc)
I wonder: have you tried changing the ownership of the external drive on the RPi to your own account? Because if you are able to see the contents of the RPi’s SSD card on your Windows PC but not the external drive, that could be it.