Remote access to files using macOS

Hi!

How can I access my files on the raspberry pi HA installation remotely from my iMac by using netatalk? I installed netatalk on the pi user but I can’t find the home file? When I try to install netatalk on the home assistant user I am asked for a password, which I don’t really know.

Anyone?

Thanks!

I don’t know anything about netatalk. But I just set up a samba share following @bruhautomation 's excellent guide. I just use finder, connect to the share, and browse to my files.

Do you use macOS? :wink:

The thing is that once I have installed it, I know how to set it up etc. The thing is when trying to install it as the homeassitant user, it does not allow. Will further test.

I use MacOS and using samba on my Pi to access the config files is very easy and straightforward - any reason why you want to use netatalk specifically?

I use both on different servers and have always found netatalk a little more complicated to get working.

However as the prompt suggests, you are being asked for the sudo password which is normally ‘raspberry’ on a fresh install but it does depend how you have your pi set up? If you don’t know your sudo password and you installed the system, you could be in for problems in the future…

Are you sure you need to be using the homeassistant user to install netatalk, rather than the pi user? Cause that would solve your problem.

Thanks for your replies guys. I figured I do not need to be on the homeassistant account to install a remote access server.

The reason why I have not used samba is because originally I though only windows could make use of it. I have it a test run but is there any chance that any of you could send me your config file? I don’t know exactly how to lay everything out.

I installed HA using the manual installation and it’s running in a virtual environment.

MacOS can quite happily find a samba share.

Finder > Go > Connect to server > smb://ip of your pi

should work or if you follow the guide above, MacOS should discover it automatically.

My smb.conf file is:

[global]
netbios name = homeassistant
server string = The Pi File Center
workgroup = WORKGROUP
hosts allow =
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
remote announce =
remote browse sync =

[HA]
path = /home/homeassistant/.homeassistant
comment = No comment
browsable = yes
read only = no
valid users =
writable = yes
guest ok = yes
public = yes
create mask = 0777
directory mask = 0777
force user = root
force create mode = 0777
force directory mode = 0777
hosts allow =
follow symlinks = yes
3 Likes

Thanks. Will try once I get home. Very much appreciate @johngc!

That solved the issue John. Thanks for your help!