Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What is the easiest way for a Mac to access files on a PC?

I used to find out the local IP of that PC (which can change after a few days), such as 192.168.1.5, and then

in Mac's Finder app
Go -> Connect to Server

in the

Server Address:

box

type in

smb://192.168.1.5

Now I know I can just type in the name of the computer directly, such as

smb://peter
smb://bookroom

So there is no need to find the local IP first. But is there a better way? Any method such as viewing on a PC, where there are icons of "Peter" and "Bookroom" that let you directly click on them?

share|improve this question

4 Answers 4

up vote 3 down vote accepted

FWIW: My Mac just knows about my PC (shows up under "network" in finder).

I looked at a network capture of my Mac starting up and it queries netbios looking for computers. (I'm running Leopard OS X 10.5.8)

share|improve this answer

What you can do is create an Alias for those server mounts you created. When you double click on them it will log you in.

share|improve this answer

Do the systems show up in the Finder's sidebar under Shared? If so, that would work... If not, then you could make an Applescript that would mount the Windows systems... And place it in the Accounts --> Login items...

Let me know if your interested in the Applescript for it...

share|improve this answer

You can use shares on Windows and mount these shares from your Linux system as a Samba file system volume. To make things easier, add it to a shell script on your desktop so you can double click it to mount.

example:

mount -t smbfs -o username=Administrator,password=pass //computer/C$ /mnt/

this will mount the Windows PC's C drive under /mnt. You can also add it to fstab and mount them on boot:

//computer/C$ /mnt/ smbfs auto,gid=users,fmask=0664,dmask=0775,iocharset=iso8859-15, credentials=/etc/sambapasswords 0 0

make sure to add the username and password to /etc/sambapasswords as well.

username = Administrator
password = pass

to secure your passwords to only allow root access:

chown root:root /etc/sambapasswords
chmod 600 /etc/sambapasswords
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.