Hi, I made a previous post about AFP Netatalk, but I have removed that package now and am trying Samba4. I cannot find out how to delete my post sorry. I have installed Samba4, enabled MacOS sharing, and added my drive at the bottom of the LuCI page, /mnt/sda1/backups. In my Time Machine pane on OSX I can see 'backups on OpenWRT.local' however I cannot select the disk. I get: 'There was a problem connecting to the server "OpenWrt". The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection and then try again.' Then a message saying: OSStatus Error 64.
What should be my next steps? I cannot reply at the moment as have been barred from replying to anyone, but I will be able to reply in 15 hours. Any help will be greatly appreciated.
The disk, on the mount points page, says UUID: 5f7f8b30-ac1b-409c-b6f5-65c611f10c98
(not present). I don't know if this is relevant.
4335 root 31964 S /usr/sbin/smbd -F
4336 root 19260 S /usr/sbin/nmbd -F
and OSX says there is a problem connecting to the server. Prior to installing Samba I installed AFP Netatalk, now uninstalled, should I also uninstall Avahi or AvahiUtils? Could avahi service file or daemon be causing a conflict with SMB? I am running Mac OSX 10.15.7 on my main machine, and the latest stable build of OpenWRT. My Mac can find a server called OpenWrt it thinks is a time capsule, but cannot connect to it, that's in Finder. It can also find backups in OpenWrt local in the Time Machine interface, but cannot connect OSStatus error 64 now. The drive is mounted in /mnt/sda1, but may be mounted improperly, how do I check and remount properly?
When I try Finder > Go > Connect to Server > smb://192.168.1.1 I get the server unavailable message, check the ip address. It seems I cannot connect to my router as an SMB server. What would be causing this? Also, I cannot find a UUID for the drive in LuCI. Is it not mounted properly? Should I unmount, reformat, and try again?
@vgaetera Ok so I have uninstalled Avahi and installed umdns. Now the Mac cannot find the disk at all. Am I supposed to do something with umdns? The guide page is very sparse and I do not really understand it.
first command does not work, from my Mac if I ping the hostname I set (haydn_command) in /etc/config/system I get nothing, but if I ping openwrt.local there is success.
Installing samba4-server (4.11.12-1) to root...
Collected errors:
* check_conflicts_for: The following packages conflict with samba4-server:
* check_conflicts_for: samba36-server *
* opkg_install_cmd: Cannot install package samba4-server.
So I cannot now install Samba4 even though I do not have samba36-server installed. There seems to be some serious problem. Should I reflash the device?
UPDATE: Fresh flash of firmware, and mounting drive, installing samba4-server from scratch, and I have an accessible drive and NAS storage! So I think it was a conflict with my earlier attempts to install AFP Netatalk and Avahi, which messed with Samba's Avahi settings. All solved now. Thanks for your help, @vgaetera!