51
40
In Mac OS X 10.7 (Lion) Apple has replaced good old SMB support. Now I can't auto connect to my shared (SMB) network drives. Workarounds? Or is this impossible? In OS X Snow Leopard, I could automatically connect my Ubuntu (SMB) shared network drives with auto_smb / auto_master (autofs configuration in /private/etc/). I made three mount points (folders) directly in '/Volumes', I used /Volumes/Data and /Volumes/webroot (both SMB shared).
Unfortunately Lion doesn't connect (automount) my network drives. I have to manually connect to the server (Ubuntu file server) in Finder, then open up Terminal to navigate to the mount points, and then it connects. This is not a workable solution. I've searched (Google/SO) but found no solutions apart from an unsupported hack.
Isn't it possible anymore to automatically connect to an SMB-shared drive during startup?
Tested on Yosemite 10.10, works a-ok – Artur Bodera – 2014-11-13T10:15:28.283
Maybe "smb://guest:@" suppress Finder dialog. But this way doesn't mount share after unmounting. – Dmitry – 2015-10-14T10:35:02.287
It've connected only 1 share from 6. Very unstable solution. – Dmitry – 2015-10-14T12:03:37.623
Second restart - and no one share was connected. Error right by every of them. Kind became Unknown. OS X El Capitan. So it doesn't work at all. – Dmitry – 2015-10-14T12:05:45.450
6
It works :) However if you don't like having Finder popping up every time you login, you could use Automator instead: http://apple.stackexchange.com/questions/18522/mounting-shares-with-login-items-at-login-finder-windows-popup
– wildpeaks – 2012-05-24T15:03:08.267You can hide the Finder by selecting the checkbox next to the login item. – Arne – 2013-08-06T17:43:30.340
3Checking the Hide checkbox next to the Login Items does not hide the Finder… I ended up using the Automator script suggested above and that works. – Toland H – 2014-01-19T08:31:44.420