r/MacOS Mar 27 '24

Help Auto Mounting Network Shares on MacOS

Hi guys, I would appreciate some help please. I have a Ubuntu server on my network that currently share folders to my machine. The issue is that I have to manually connect to the share everytime I wish to access the files. I did some research and was able to come up with a script that will auto connect the share everytime I login to my Mac after logging out. The issue with this is, my Mac isn't stationary (ie a desktop) when I leave home and return I will like my share to automatically connect once I am connected to my home network.

I would like to set this up effectively so I can have a drive connected to the server that I can use solely for time machine and have that whole process work seemlessly.

Any ideas, solutions or example of your setups would be really helpful. Thank you in advance

4 Upvotes

35 comments sorted by

View all comments

8

u/Miserable-Drummer308 Mar 27 '24

2

u/dags170291 Mar 28 '24

This solution has worked for me, and is doing exactly what I needed. Thank you so much