I wrote an email to a bloke called Simon and tried to explain how to network a Mac and a PC together. This is one of those things that is in fact easier to do than to explain, but it isn’t a straightforward process by any measure.
The email I wrote relied on there being a router involved and both machines connected to it, receiving DHCP addresses from it. The instructions on doing this bit are usually included with your router and would probably be part of the initial set up that you go through. From there you need to follow the steps here to get it all running.
I am using Mac OSX 10.4.x and Win XP Pro, but it works the same with Win XP Home. This is what I said:
OK – if you have OSX 10.2 or above this is going to be a piece of cake. Without going into the detail too much, when you network two computers they need to be in the same ‘group’. By default, a MacOSX machine is placed into a group called ‘workgroup’. However, a Windows machine by default is in a group usually called MSHOME. You can choose to change either or both to be the same.
In Windows (XP), click on control panel, then System. In the box, click the tab for computer name, then look for the button to ‘Change’ it. In there you can type ‘workgroup’ for the group – it will only go in as capitals. You will need to re-start the machine to apply the changes.
Or, in Mac, open your applications/utilities folder and start up ‘Directory Access’. You will need to authenticate – click on the lock and type your password. In the list of services highlight the one with ‘SMB/CIFS’ and then click on ‘Configure…’ – you can now type in the name for the workgroup that you want. You won’t need to re-start!
Personally, I leave the Mac as Workgroup and change the PC to be the same. With luck this is all that you’ll have to do… apart from set up a shared folder. For lots of reasons I only ever share a folder on a PC, not the entire drive. Create a folder, name it and right click on it. In properties, set up the share name there. On the Mac, go into the System prefs and under ‘Sharing’ click on ‘Windows Sharing’. The Mac will tell you the path that other users can use to get to your machine, so make a note of it – it will be something like \\192.168.1.10\username.
The next step is to make sure that you can ‘see’ the PC from the mac and vice versa. Ensure that your network cables are connected to your router and that both machines have Internet access – open a browser and check a search in Google, for example. If you have set the router up properly this should be straight forward, and the router should be supplying ‘DHCP’ info for both the PC and the Mac.
You need to know what the IP address is for the PC – you can get this usually from the router’s internal info or from the PC itself. Depending on the router, log in (could be 192.168.1.1 or 10.0.0.1 as the address to log in to the router – type this into Safari or Firefox), and look for the ‘DHCP assigned routing table’. In there you will see what each machine connected to the router has been assigned. If you prefer to use the PC, go to the start button and then click on ‘Run’ and type in ‘cmd’ – this starts up the command line prompt in a window. Once there, type ‘ipconfig’ and you should see the IP address that the PC has been assigned.
If that all works, on the Mac go into applications/utilities and start up the Network Utility. Click on ‘Ping’ and type in the IP address for the PC. If all is well, the Ping will start and you should get ten results under 1ms. You can do the same to the Mac from the PC – go into the command line again and type ‘Ping’ and the IP address for the Mac…
If you can ping both machines successfully, there is no reason why you can’t now mount the shared volumes with ease.
On the Mac, open a finder window and on the top left click on the ‘network’ icon and browse to ‘servers’ – you should see the PC listed there – click on it and click ‘connect’. You will be prompted for a user name and password – the username is typically the name of the account you created in win XP. If you use a password, type it there. The list of available shared volumes will appear, click the one you want. If there is only one it may not give you the option, so check to see if a network icon appears on your desktop. If you arrange the desktop view by name it will appear under the hard drive icon in the top right of the screen.
That is full access to the PC shared folder, and you can simply drag and drop stuff into there or from there.
On the PC the Mac should now appear in the Network places. You could click on the ‘Show Workgroup’ icon and browse for it if not. However, if you can’t find it, you may need to ‘Add a network place’. To do this you’ll need the info you noted down earlier when prompted by the wizard. This will then give you an icon in the ‘My Computer’ area which will link to the Mac and will be called something like ‘username on MacOSX (computername or share name), so for me it is ‘Hal on Mac OSX (Jumbo).
Again, you’ll need your Mac OSX username and password (the one you use for admin stuff, like installing apps), and then the mac folders will appear for you… simply drag and drop files to and from whatever folder you need.
After that I guess it is time to open up any bottle of something nice to drink that you have got lying around. I would think I might have missed some bits and pieces out, so feel free to let me know if I have.