LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Connect to internet via Windows XP wireless connection (https://www.linuxquestions.org/questions/linux-general-1/linux-connect-to-internet-via-windows-xp-wireless-connection-751922/)

khskinsfan 09-01-2009 06:32 PM

Linux Connect to internet via Windows XP wireless connection
 
Hi,

Here's my setup. I have two PCs. One Linux Fedora 11, the other Windows XP SP 3.

The Windows XP has a wireless connection to the internet. The Linux does not. The windows machine has two cards one wired, one wireless. So I have the wired one connected to the 4 port router in one port along with the Linux machine connected in another port.

What is the best and safest way to allow the linux machine to connect to the internet via the wireless network connection on my XP machine?

Thx much.

ilp 09-01-2009 08:08 PM

In XP you already have a wireless setup, is it necessary to use a wired connection again from the modem? If the modem 4 ports you can connect your linux machine directly to the modem.

If you really want to connect via your XP, then you can bridge the wireless and wired connection to the linux machine.

khskinsfan 09-01-2009 10:01 PM

Thx for response.

I dont have a wireless connection on the linux. The router is a way to try to connect to the XP machine in order to use the XP's internet connection. I just dont know how to set it up. I can ping each ip address through the router. So it looks like i can communicate between the two.

Thx.

ilp 09-02-2009 07:45 AM

You dnt need a wireless in Linux to bridge the two cards in XP. Is there any reason to connect internet through XP? Why not directly? If you can provide us some info on why you need such a setup, it will be easy for us to think a solution.

repo 09-02-2009 07:53 AM

You need to enable internet sharing on XP
http://support.microsoft.com/kb/306126
Then set the lan IP from XP as the default GW in Linux, and off course put your linux in the same subnet as XP.
Don't forget to set the DNS servers in /etc/resolv.conf

khskinsfan 09-02-2009 05:32 PM

Thx...The reason I can connect directly with linux is th I dont have a wireless card or usb device. I only have the ethernet port on that machine and am trying to save $$ by not buying a new wirless device for that machine.

Thx I'll try the suggestion.

w1k0 09-02-2009 09:45 PM

If I were you I'd install Linux on wireless machine and Windows on the other one. Linux is much safer than Windows as a gateway.


All times are GMT -5. The time now is 05:38 PM.