Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

MacOS and SMB unmounting issues, work around

2
0
NAS
DS220+
Operating system
  1. macOS
Mobile operating system
  1. Android
Mounted SMB-volumes are ejected/unmounted maybe once or twice a day. Remounting is not possible (DS as server is found, but no shared volumes are available).

Solution: Open your DSM GUI and check the "Connected Users" panel. Click on the (-) next to the SMB service. Now mounting shared volumes is possible again.

For those who are familiar with Apple Script, I came up with the following script so you don't have to mess with the DSM GUI. SSH must be enabled in DSM.

AppleScript:
tell application "Terminal"
    activate
    set ServerAddress to "YOUR-NAS-IP-ADDRESS"
    set ServerUserName to "YOUR-USERNAME"
    set ServerPassword to "YOUR-PASSWORD"

    set currentTab to do script ("ssh " & ServerUserName & "@" & ServerAddress & ";")

    delay 1
    do script (ServerPassword) in currentTab

# Line breaks are important!
    tell application "System Events" to keystroke "sudo synosystemctl restart pkg-synosamba-smbd.service\r" using {}

    delay 1

    tell application "System Events" to keystroke ServerPassword & "\r"
    
delay 2

    tell application "System Events" to keystroke "exit" & "\r"

end tell

try
   do shell script "killall Terminal"
end try

# Add your volumes here, music given as example

mount volume "smb://" & ServerUserName & "@" & ServerAddress & "/" & "music"

 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Popular tags from this forum

Similar threads

I reviewed this document. But I will check again based on your advice. thanks
Replies
5
Views
733
  • Question Question
It could be one the windows side of the cable: Does this help...
Replies
3
Views
1,027

Thread Tags

Tags Tags
macos smb

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending content in this forum

Back
Top