I've found that the Raspberry Pi tutorials out there are mostly self-explanatory, and any trouble I come across can be fixed with a quick Google search. Not so with this one. I have Git running on a Raspberry Pi (Raspbian, latest via sudo apt-get update/upgrade), and would like to back it up with an external hard drive. Long story short, I formatted a 4TB external hard drive to ext4 via gparted, and have it under /media/FilePi . The problem is that I cannot, for the life of me, get Windows 7 nor Windows 8.1 to even see it on the network. Trying both \\GitPi\Files and \\192.168.1.84\Files results in a generic "Windows cannot find what you're looking for" error message.
My /etc/samba/smb.conf is the default except for the following section I added:
Code: Select all
#### Shep Shares ####
comment = GitPi Files
path = /media/FilePi
valid users = @users
force group = users
create mask = 0660
directory mask = 0771
read only = no
#guest ok = yes
That last line I added but didn't seem to affect the outcome. I've checked the "obvious", and I can't figure out why it won't connect as is. All three computers (both Windows machines and GitPi) are on the same network and workgroup, and the strangest part is that if I do something like this:
then the instant I try just "\\GitPi" in Windows, two connection entries show up -- one for the name of the computer, and one for it's IP address, yet both are entirely blank! Trying "\\GitPi\Files" does not show anything however.
I'm at wits end with this, but basically I'd like to just "plug and play" on the Windows side, so I can set this up on other machines without too much hassle. I'd also like to set up user accounts so that some are read-only, preventing the more malware-prone machines from altering any files without my knowledge. Am I missing something in my config settings, or should I be looking for an alternative? I've read a bit about WebDav being an alternative, but quite slow as well. I'm just baffled as to why it won't ever ask for authentication nor recognize that the share is valid.