SMB stands for Server Message Block and is the network protocol Windows uses to share drives over the network and talk to printers. You could do something similar with afp:// which is the Apple Filing Protocol which is how Macs share network drives. OSX can talk to both kinds but you have to specify which way it should try in the connection string. It's just like doing ftp:// or http://. Each one is just specifying what protocol to connect with. As an aside, traditional unix boxes used something called NFS or Network File System. OSX can also connect to these but you have to fiddle in Terminal to make that happen. SMB for a Mac user has some limitations such as not being able to use it to store Time Machine backups, server-side file copying and not automatically reconnecting when you put your machine to sleet. Until OSX 10.9 the SMB support was also a bit flaky but now it seems to be pretty solid. I'd still use AFP if the network drive supports it.

CB

On 2/15/15 7:47 PM, Rob wrote:
Mabey someone can correct me if I'm wrong, but I believe the smb on the beginning of the IP address is needed when connecting to a windows machine or network storage drive. The instructions that came with my wireless router said to use smb when connecting from a Mac.
You can try it without the smb and see if it works.
Are you connecting to a NAS or another computer?
Let us know if it works.
On 2/15/2015 6:02 AM, Daniela Rubio wrote:
Hi allª
This sounds really interesting. Doe’s SMB is part of the iP? or shall I leave that as well and just take the numbers of my actual volume ip.
Thanks!

Daniela Rubio T
iPhone: +34662328507




El 15/2/2015, a las 10:41, Andrew Lamanche <[email protected] <mailto:[email protected]>> escribió:

Hi Rob,

Thanks very much for posting the script. Could you tell us where to save the exported script as application? And how does one activate it? These are possibly very uninformed questions :).

Andrew
On 15 Feb 2015, at 04:56, Robert Cole <[email protected] <mailto:[email protected]>> wrote:

Hi,
Here is a apple script to mount a network drive.
using the script editor, export as app instead of script.

tell application "Finder"
    try
        mount volume "smb://193.169.0.6"
    end try
end tell

replace the IP address with the IP of your drive.
Thanks,
Rob
Sent from my MacBook

On Feb 13, 2015, at 8:25 PM, Barry Hadder <[email protected] <mailto:[email protected]>> wrote:

Yeah I see that now.
Another option is to create an automator work flow and save it as an app. The work flow will only have get specified server and connect to server in that order. In the get specified server, just enter the server url. Then save it as an app. I’ve tried it and it connects and mounts at login without the finder window opening.

There is another way as well which involves editing the /etc/fstab file, but I’m not sure off the top of my head how to create an entry for a network drive. I should add that if you want to try to go that root, you only edit fstab using vifs.

And, there is yet another way using launchctl, but I’m not going to try to tell you how to do that either it as I don’t actually have a nas. I’m just using an ftp server for testing. You would want to use something like mount_afp or mount_smbfs. You can look at the man page and play around with it. The automator app is probably the easiest option though.




On Feb 13, 2015, at 7:30 PM, Rob <[email protected] <mailto:[email protected]>> wrote:

OK, I tried that but it still opens a finder window of the drive.
even when the hide checkbox was checked, so I deleted it.
I will try it again.
if it continues to open the finder window, do you have any more suggestions?

On 2/13/2015 6:28 PM, Barry Hadder wrote:
To keep something from opening at startup, you need to check the box in the hide column next to it in the startup apps table.

On Feb 13, 2015, at 5:37 PM, Rob <[email protected] <mailto:[email protected]>> wrote:

Hi,
Can someone remind me
How to  mount networked drive at startup?
I added it to user/log on apps, but that caused the drive to open once the Mac booted.
I want the drive to show on the desktop, but not open.

Thanks,
Rob


--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Barry Hadder
[email protected] <mailto:[email protected]>



--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

--
¯\_(ツ)_/¯

--
You received this message because you are subscribed to the Google Groups 
"MacVisionaries" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/macvisionaries.
For more options, visit https://groups.google.com/d/optout.

Reply via email to