I am a newbie at this HA stuff, and just trying to follow instructions that appear current. I have reformatted SD starting from scratch a dozen times and have gotten to various levels of success. One time with duckdns/ssl/Samba even working, but then upgraded from 87 to 0.88.0 and could no longer log into HA any more. Rather than bore with sorted details of this past week, I am starting clean once again, with 88.1 on new Pi B+ and 64k SD, and running headless. My router is set to issue fixed IP 192.168.1.127 with 8123 and 3218 port forwarding. I can log in using the hassio.local:8123 or fixed 192.168.1.127:8123. I add/modify Samba config, only changing username/password/interface,then save and start. But hassio file share does not show up on my Windows 10. I try to map network drive to \192.168.1.127\hassio", type in name/password, but fails saying canât find. On my windows network I have âAll Networksâ with options set for âturn on sharing to anyoneâ and âuse 128-bit encryptionâ. Iâve tried rebooting HA, but no change.
** Samba partial LOG after restart and map network drive attempt :**
added interface eth0 ip=192.168.1.127 bcast=192.168.1.255 netmask=255.255.255.0 INFO: Profiling support unavailable in this build. No builtin backend found, trying to load plugin tdb(/var/lib/samba/registry.tdb): tdb_open_ex: could not open file /var/lib/samba/registry.tdb: No such file or directory daemon_ready: STATUS=daemon âsmbdâ finished starting up and ready to serve connections waiting for connections Processing section â[config]â Processing section â[addons]â Processing section â[ssl]â Processing section â[share]â Processing section â[backup]â check_ntlm_password: Authentication for user [rarndt] -> [rarndt] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=1 Auth: [SMB2,(null)] user [SYSTEMS][rarndt] at [Fri, 22 Feb 2019 22:53:12.071897 EST] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [B4B6863A08F2] remote host [ipv4:192.168.1.7:60341] mapped to [SYSTEMS][rarndt]. local host [ipv4:192.168.1.127:445] Processing section â[config]â Processing section â[addons]â Processing section â[ssl]â Processing section â[share]â Processing section â[backup]â check_ntlm_password: authentication for user [my-name] -> [my-name] -> [my-name] succeeded Failed to fetch record! pcap cache not loaded
I must say, I am quite excited about giving HA a go in replacing my proprietary ADT system with $40 monthly service fee, but I need to get beyond this head bashing some how. Thanks for the help!
Windows may be your problem here. Windows does everything to make it difficult to map any network drive.
Here are some notes from my ordeal of mapping an NAS to my Windows 10 PC.
(Note, I was mapping the guest account on the NAS with no password)
In Network and Sharing Center/ Advanced Sharing Settings:
Home Profile:
Turn On Network Discovery
Turn on file and Printer Sharing
Turn on Public Folder Sharing
Under File Sharing Connections:
Enable file sharing with devices that 40- or 56-bit encryption
Under Homegroup Connections
I set User Accounts, but I never use Homegroups
In Windows 10, the computer needs to manage accounts
Under My Computer, Network:
Right click on Network and select âMap Network Driveâ
Select the drive letter and enter \Nst-600nu\public.
Login Name: Guest
Next, in âControl Panelâ, âAll Control Panel Itemsâ, Creditential Manager", click on âWindows Credentialsâ then the NAS name, then Edit, and enter the same Computername\user, and the password for the NAS.
Works now.
But, I have had other Samba devices that just wonât map in Windows 10 no matter what I try.
For those, I just use the net commands in a batch file.
For example:
net use s: /d
net use s: \192.168.1.29\steve /user:steve MyPassword /persistent:yes
net use z: /d
net use z: \nus2000\z /user:user user /persistent:yes
Also, is there an folder named âhassioâ on the Raspberry?
Good catch, I forgot that step.
But Windows doesnât make it easy to find.
Go to Control Panel, Programs and Features, âTurn Windows Features on or offâ. Then select the smb features:
Good lord thank you! Iâve never had an issue using Samba on my piâs and ubuntu linux machines but FINALLY, after reading your little comment here, I was able to get my partnerâs stupid Windows 10 puter talking to my HA!
(Gawd I hate Windows)
Although I had Samba working on HA87 a couple weeks ago on my Windows 10, I am not able to duplicate the effort after upgrading to HA88. I have gone through the suggestions here. SMB1 is enable and configured with printer/file/folder sharing and 40-56 bit encryption, but no success with sharing appearing in â>Networkâ view or finding it through âMap Network Driveâ. It does not show up on my Windows 7 either. ânet use s: \192.168.1.127\hassio /user:myName myPassword /persistent:yesâ just responds ânetwork name cannot be foundâ.
Thanks for all your help, but I have uninstalled Samba and will move.
I am new to Home Assistant and want to load HACS but it seems the HA File editor will only move one file at a time so I tried to use SAMBA Share but have been unable to get SAMBA to work. I am running a Windows 10 Version 10.0.18362 Build 18362 computer. I am unable to see my Raspberry pi under the Network computers. I have looked at many of the videos explaining various reason SAMBA wonât work properly and have checked them:
SMB1.0/CIFS Client is checked
Network profile is Private with network discovery and automatic setup checked
Function Discovery Resource Publication is set to automatic and running
After doing more research I realized that Samba was never starting. I never got the green dot on the app. More looking around i found a comment that said the password could not be null. Added a password and Samba now starts - green dot and all. Now to see if I can access the files from my windows 10 machine.
I will try the ip address.
Where is this documented? I have been futzing with /etc/samba/smb.conf to get my shares to work. No wonder that my share of [backup] would never work⌠It already existed.
For some reason samba just stopped working on my windows 10 computer. No changes that I am aware of. Map is not connected, canât remap. Can ping, tacert, no issues.
There is HIGH PROBABILITY some recent Windows update literally uninstalled SAMBA from its features. I used SMB to access my HA for at least a years with sudden lost the access. Enabling the feature in W10 as shown above solved it. Unbelievable.
It is a feature! The claim is security (surprised they donât blame covid as everyone does for anything that is not working). The default removed samba 1. Make sure you also have ssh installed. I use the ssh and web terminal from the add on. Never had an issue with this.
for people this didnt work for: you can adding sambas homeassistant hostname to your host file. eg 192.168.254.40 HOMEASSISTANT
just add that to host file and change the ip to your home assistant ip, then delete credentials and try again to connect to HOMEASSISTANT