Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rrpalma

macrumors member
Original poster
Sep 21, 2008
45
0
Hello,

I'm a heavy Linux user that's starting to get into Mac OS X recently. In Linux, I use a command similar to this to mount my remote Samba / Windows shares:

mount -t cifs //dlinknas01/Volume_1 /home/rrpalma/dlinknas01 -o username=myUserID,password=myPasswd

Can I do the same in Mac OS?
 
Code:
$ mount_smbfs --help
mount_smbfs: illegal option -- -
usage: mount_smbfs [-Nh] [-d mode] [-f mode]
                   //[domain;][user[:password]@]server[/share] path

How does this sound to you?

Another option would be to install avahi-daemon and advertise the samba share over zerconf. I like to this, then the shares just show up in the finder side bar.

Hope it helps.
 
This is a nas right? You should have the option to turn on smb or AFP which means the mac will see the nas in the finder and let you mount it that way without terminal commands
 
Code:
$ mount_smbfs --help
mount_smbfs: illegal option -- -
usage: mount_smbfs [-Nh] [-d mode] [-f mode]
                   //[domain;][user[:password]@]server[/share] path

How does this sound to you?

Hope it helps.

Thanks!! Sounds like a good idea. I'll give it a try.
 
Hello,

I'm a heavy Linux user that's starting to get into Mac OS X recently. In Linux, I use a command similar to this to mount my remote Samba / Windows shares:

mount -t cifs //dlinknas01/Volume_1 /home/rrpalma/dlinknas01 -o username=myUserID,password=myPasswd

Can I do the same in Mac OS?

mount -t smbfs //username:password@smbserver/directory localdir

As mentioned above, if you need just GUI access, you can find Windows shares in the sidebar of the Finder or connect directly to a server by pressing command-K (Go -> Connect to server.. menu) in Finder and enter the address smb://smbserver. You will be prompted for un/pw.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.