Archive. This is an archive of the Apple Support Community. Discussions are being restored and soon you will be able to read and post here again.

Mac mini Login Items won't accept Synology NAS IP address

Mac Golden Gate 27.01 and Mac mini Apple Silicon. I changed the connection of my Synology NAS to exclude AFP and using its static IP address to connect to my network. In Finder, I used GO connect to server and enter the SMB IP address of the NAS and that works fine. The open "login items" will not allow me to add the IP address, only the folder. In the sidebar, I click on "network" and only the NAS name, not the IP address, is shown even though I have that name "turned off" on the NAS. Ideas?

2 replies

macOS cannot add a bare IP address or a server root to Login Items; it requires a specific shared folder (volume) to mount. This is expected behavior on macOS Golden Gate. When you mount an SMB share via Go > Connect to Server using the IP address, the underlying folder is what macOS registers as the target mount point.


Furthermore, the NAS name still appearing in your Finder sidebar despite being "turned off" is a result of mDNS/Bonjour broadcasting from the Synology NAS, which operates independently of whether AFP is disabled.


Finally, you cannot add the top level of the Synology shared folder directly to the Login Items folder, you can only add subfolders. For example, with the file share volume on my DS223j mounted, it cannot be added to the Login Items folder, though a subfolder on the volume can be added directly.



Instead of trying to add the IP address or the mounted volume directly, you need to create a short script or Shortcut, save it as an app, and run that app as a login item.


For example, this was posted by long-time member @Tesserax, and there are other options in that thread.


The script I use is the following. You would just need to replace the <> place holders with your NAS's IP address and user credentials. mount volume "smb://<path to NAS>/<share name>" as user name "<NAS username>" with password "<NAS password>" end try Compile the above script as an application. To do so, from the Script Editor's menu bar, hold down the option key, and then, click on File > Save As... Change the File Format to: Application, and then, click on Save. Then add this application to the user account's Login Items via System Settings > General > Login items & Extensions > Open at Login

Source thread: Unable to add a Synology NAS device to lo… - Apple Community


You could achieve the same result with the Shortcuts app.


Shortcuts User Guide for Mac - Apple Support


Thanks. That worked!