Tag Archives: smb


Up until recently I was modifying my files via the command line using sudo nano configuration.yaml but a friend said to me why don’t you setup SMB shares on my raspberry pi so I could easily access and edit them. This also comes in handy for checking the home-assistant.log to find out why home assistant hasn’t booted up correctly.

First if you haven’t already you need to install samba

sudo apt-get install samba samba-common-bin

Now you will need to edit your config file to setup the shares

sudo nano /etc/samba/smb.conf

Now here is a snippet from my smb.conf file you can find the shares within the smb.conf file by searching for:

Share Definitions

[code language=”plain”][/code]

[code language=”plain”][/code]

path = /
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 =

So the above now shows within my folders as: