jon_hill987 Posted February 10, 2007 Share Posted February 10, 2007 situation as it is: Desktop PC, running Windows XP MCE, connects to the internet via a wifi router. In addition to the USB wifi card it has Ethernet ports. Laptop, running XP home/Kubuntu doesn't have a wifi card but does have an Ethernet port. I want to be able to get internet on my laptop (in windows or linux) by plugging it into the desktop PC (and still have internet on my desktop), but can't get it to work. Does anyone know how to do this? Link to comment Share on other sites More sharing options...
Ray Jones Posted February 10, 2007 Share Posted February 10, 2007 Yes, what you need is a cross connect cable between laptop and PC and IP-rorwarding/routing on the PC enabled (to pass packets between wireless and cable network). I'm too lazy to think about the details at the moment, maybe I can come up with something, later. Link to comment Share on other sites More sharing options...
jon_hill987 Posted February 11, 2007 Author Share Posted February 11, 2007 I have the cross connect cable, I will look up IP-forwarding/routing and see what I can come up with. cheers. EDIT: OK, I have enabled IP Forwarding on the desktop, I must still be missing something though as it is still not working. Link to comment Share on other sites More sharing options...
Ray Jones Posted February 11, 2007 Share Posted February 11, 2007 Can you ping from the laptop to the network cards of the desktop, or to the WLAN-router? Did you set up a gateway IP for the laptop? What IP addresses are you using? Got milk? Link to comment Share on other sites More sharing options...
jon_hill987 Posted February 12, 2007 Author Share Posted February 12, 2007 Can you ping from the laptop to the network cards of the desktop, or to the WLAN-router? Did you set up a gateway IP for the laptop? What IP addresses are you using? Got milk? Well, the router IP is 192.168.1.1, and my desktop wifi connection is 192.168.1.15 (static), I tried setting that connection to shared, but still nothing. I think the problem is that I have no idea what to use as the settings for the ethernet connection... Link to comment Share on other sites More sharing options...
jon_hill987 Posted February 13, 2007 Author Share Posted February 13, 2007 OK, I have it going now, cheers for the help. turns out the ip forwarding was unnecessary BTW, I just set up the wifi card as shared in the end. it was the config of the laptop that was giving me the trouble. Link to comment Share on other sites More sharing options...
Ray Jones Posted February 13, 2007 Share Posted February 13, 2007 turns out the ip forwarding was unnecessary BTW, I just set up the wifi card as shared in the end That's what Windows calls it. Basically, if you have a computer with two NICs, to get from one network card to the other (and vice versa), you must forward the packets from one card to the other, hence "IP-Forwarding". This must, of course, be activated only for the PC with two network adapters, which will then function as a router between the two (wired and wireless) networks. This should enable you to ping from one "end" of the network (laptop) "through" the desktop-PC-router to the other (internal IP of the wifi-router). All there is left to do then is that you have to set the wifi-router's internal IP as gateway for that laptop. Link to comment Share on other sites More sharing options...
jon_hill987 Posted February 13, 2007 Author Share Posted February 13, 2007 I see, I found a site telling me to change the registry to enable it, which turned out to be a load of rubbish as it seems the network set up wizard can do it. Anyway, all working well now for both widows and linux so i am happy. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.