networking a Mac and a pc to share internet.

Hello,
I have a pc that is running a wireless connection using windows xp and I have a Mac running Leopard. I have them connected but I would like to use the internet on my Mac through the pc. Does anyone know what I need to do to set this up. I haven't changed any settings yet cause I didn't really know where to begin. Any advice is appreciated.

Thanks

agp, Mac OS X (10.5.1)

Posted on Jan 16, 2008 5:47 PM

Reply
29 replies

Jan 16, 2008 5:54 PM in response to nick andres

I would put "tight VNC" on the PC, then go into my sharing on the mac, enable remote desktop, then, in options, enable "vnc users may control the screen..." etc and put a password on it.

fire up VNC on the PC, input the IP of the Mac and the password. The desktop of the mac should show up on your PC desktop, and you should be able to run the mac from your pc.

BR

Jan 17, 2008 5:06 PM in response to nick andres

Sorry for the delay but thanks for the reply. I'll give that a shot and post back. This will allow me to access the internet with my Mac correct? My monitor has a dual input so I can easily switch back and forth. I was originally thinking that I could just create a network that would allow me to share the internet but I'll give this a shot first.
Thanks

Jan 21, 2008 11:05 AM in response to nick andres

I have never done the reverse (PC access to Mac) so I do not know for certain if you need VNC or not for this though I doubt it. I believe in XP (is that what you're using?) there is network setup wizard which within has an option to share your connection with another computer. I believe it is Control Panel. I would go through the wizard and follow those steps and see what happens. Let me know if that works...

Jan 21, 2008 11:20 AM in response to nick andres

Some posters have recommended VNC. VNC is a good option if you want to control one machine from another. From reading your post, I think you are describing the need for sharing....

I do this quite a bit, and it is easy. In OS X and Windows, there is the ability to "share" an internet connection. All you need is an ethernet cable. In OS X, there is an option in the Sharing preference for "Internet Sharing". Basically, the computer creates an internal network on the shared interface. If the computer with the internet connection has a wireless connection, you will need to enable sharing on the ethernet interface and then connect the 2nd computer with an ethernet cable. Vice versa also works. The Mac (or PC) will create a private internal network on the shared interface, and act as a DHCP server. I have not done this in Windows in quite some time, but I remember that it is not difficult, and the options can be found in the network settings. You just need to remember that you can't share the connection out the same way that it comes in. Wireless can share to ethernet, and ethernet can share to wireless. They can not share to the same type of connection.


My father has an iMac G5 hooked to a cable modem. When I visit, I set his iMac to share the connection through the wireless card. The Mac then acts as a DHCP server and router. The only hassle to this setup is the OS X firewall. I had to open ports for the internal network before everything worked flawlessly. At home, I set OS X up to share its wireless connection through ethernet. This allows me to hook up computers with no wireless cards to the network through the Mac.

Good luck!

Steve

Jan 21, 2008 11:43 AM in response to nick andres

Few questions Tell us about your wireless connection from your pc, does it come from an access point? What model of Access point.
What kind of mac are we talking about
If you want to share you internet connection from the pc goto-->Control panel-->Network Setup wizard choose the appropriate connection for your application, probably the first one "This computer connects directly to the internet other computers on my network connect to the internet through this computer" Then choose your wireless connection and then the next screen make sure your lan connection is checked. (you could probably share the wireless connection here as well)
The reason I ask about your access point, and mac, it may be better instead of sharing the connection from your pc to just connect directly to the wireless from the mac

Jan 21, 2008 6:19 PM in response to nick andres

So, am I understanding this correctly? You are saying to use one ethernet cable to connect the two computers?

To give a quick response to the second to last post. I have tried the network set up wizard and got nothing. I have a G4 and the wireless router and adapter hooked to the pc are both linksys. The adapter is not compatible with the Mac so that is why I am torturing myself in this manner. 🙂

Jan 21, 2008 8:55 PM in response to nick andres

well, I guess you didn't mean one cable because I just tried it for the heck of it and the pc said that the ethernet port wasn't plugged in. If that leaves me with my router to connect them then I am still running into the problem that it takes priority over the wireless for some reason and shuts down my internet.
I'm pretty sure that the router connecting the computers is fine. It is set to be a DHCP server. Do I need to change anything in those settings?
I appreciate the time

Jan 22, 2008 5:50 AM in response to nick andres

Have you looked in to getting a USB wireless adaptor for the Mac? I bought one for the COO of my company so he could use his old iMac G3 as streaming music server and it works great. I believe it was an Asus/Addlogix and it is specifically for the Mac. We use Belkin hardware here at work and there were no issues connecting. I doubt you'd have any compatibility issues with Linksys. If you do it this way instead of the other way around it will be much easier. You can also eliminate the router.

Jan 22, 2008 6:48 AM in response to nick andres

I would like to help you, but you need to give us the information that I asked you for so I can get an idea of your setup. I need the manufacturer and model of your router, and tell me what your pc is connecting to wirelessly (is it the same router?) and what model of mac you have. With that information, I can sort you out in a few minutes.
I don't know where you got the one cable idea, but if you are hooking a computer directly to another computer without a switch or router it needs to be a crossover cable (cat5 A to cat5B) Some modems also require a crossover cable.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

networking a Mac and a pc to share internet.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.