#HA is not able to connect to a USB drive connected to my router via Samba Share on the router
1 messages · Page 1 of 1 (latest)
Thanks for the info. I did as you suggested but still no-go.
Note: The router's System Log - General Log does not register any activity.
Here is the pertinent HA Blue log:
Logger: homeassistant.components.hassio
Source: components/hassio/websocket_api.py:145
integration: Home Assistant Supervisor (documentation, issues)
First occurred: May 23, 2025 at 8:28:31 PM (35 occurrences)
Last logged: 6:12:13 AM
Failed to to call /mounts - Mounting 86u_ha_bkups did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-86u_ha_bkups.mount for details.
Failed to to call /mounts - Mounting ha_backups did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-ha_backups.mount for details.
Failed to to call /mounts - does not match regular expression ^[^\/]+ for dictionary value @ data['server']. Got '\\franken1410'
Failed to to call /mounts - Mounting habkups did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-habkups.mount for details.
Failed to to call /mounts - Mounting Share did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-Share.mount for details.
Can you show me a picture of what you wrote into these boxes? Also check the host logs as it says but it looks like you didn't stick to the syntax I explained.
regular expression ^[^\\\/]+
Huh?
What did the host logs say?
The router System Log does not reflect any related entries.
No the host log of HAOS. I linked to it above: #1375681604835348523 message
What I wonder is where \\\\franken1410 comes from.
I'm trying to figure out how to upload a file to discord
Just drag & drop.
could not resolve address for franken1410: Unknown error.
Can you try the ip instead? Also what does nslookup franken1410 say?
Well that does it.
Can you tell me what that same command in linux mint says?
Sorry, I thought that is what you meant. Above is from the linux mint terminal. I will do the same from the HA terminal.
Huh. If mint can't resolve that name, how can it mount the share?
Okay we need to take a detour and figure out your DNS situation.
On mint run this
resolvectl status
ip route
Can you resolve it like this?
nslookup franken1410 192.168.50.1
That asks your router directly.
Alright then I'm confused what franken1410 is and how you're able to mount it in mint.
maybe enabling: "Allow guest login"
One of the issues right now is that franken1410 cannot be resolved to the ip of the router. I'm not really concerned about the share itself at the moment.
ok
Maybe franken1410 is just the name it advertises itself as but not necessarily provide that name as DNS entry.
Use 192.168.50.1 instead of that name.
ok
Alright so back to HAOS. That ^[^\\\/]+ regex just makes sure you're not using a / which you didn't so it shouldn't complain.
nslookup is for resolving names into ips. You gave it an ip.
What does it say now?
Are you sure 86u_ha_bkups is its own share rather than just a directory in the main share?
hmm, I am a novice at this so let me see what the router gui sais.
Try this in the SSH addon
apk add samba-client
smbclient -U USERNAMEHERE -L 192.168.50.1
That should list all shares and as a bonus allows you to test your credentials.
Use .50.1, not .51.1.
Looks okay to me. You should be able to use 192.168.50.1 as Server, 86u_ha_bkups as Remote share and home265 as Username.
I'll try with those parameters
no-go. I tried home265 for the samba share username and again with the actual router samba share username.
But you saw that at least in the CLI it worked. What's it say this time?
does this error mean anything:
Mounting my_ha_backup did not succeed. Check host logs for errors from mount or systemd unit mnt-data-supervisor-mounts-my_ha_backup.mount for details.
Invalid argument
Kinda vague. No idea at the moment. Maybe you could try another CIFS version such as 2.0.
bingo. I had tried CIFS 2.0 and 1.0 before but not with the router IP. It is now connected. It did say that CIFS 2.0 is unsafe, what do you think, should I get a NAS instead? In any case, thanks so much for the patience and troubleshooting. We "no-clue" people would be lost without help.
I see that all backups will be encrypted so I guess it is ok.
I'm not a security nut. In my LAN I wouldn't really care much. I think everyone with a few devices could benefit from a NAS but I'm having a hard time recommending a retail one.
Thanks a million again. I hope you can enjoy your memorial day weekend.