LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 09-01-2009, 07:32 PM   #1
khskinsfan
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
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.
 
Old 09-01-2009, 09:08 PM   #2
ilp
LQ Newbie
 
Registered: Nov 2007
Location: Bangalore, India
Distribution: Fedora 20
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-01-2009, 11:01 PM   #3
khskinsfan
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 09-02-2009, 08:45 AM   #4
ilp
LQ Newbie
 
Registered: Nov 2007
Location: Bangalore, India
Distribution: Fedora 20
Posts: 7

Rep: Reputation: 0
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.
 
Old 09-02-2009, 08:53 AM   #5
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Linux Mint
Posts: 8,516

Rep: Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896Reputation: 896
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
 
Old 09-02-2009, 06:32 PM   #6
khskinsfan
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
Old 09-02-2009, 10:45 PM   #7
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware, Mint
Posts: 1,240

Rep: Reputation: 196Reputation: 196
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for help to connect to internet with wireless connection donnymac2005 Linux - Wireless Networking 2 10-05-2008 10:54 PM
Unable to connect to internet via wireless OR wired connection frznchckn Linux - Wireless Networking 5 06-19-2008 02:12 PM
How connect Linux pc and a windows pc to same dsl internet connection lmtytex Linux - Newbie 8 07-31-2007 02:52 PM
adsl connection problem, linux cannot connect to internet, but windows can backbone Linux - Networking 7 12-18-2005 02:11 PM
Newbie - How SuSE Linux COnnect to Windows 2003 Internet Connection Cipherfx Linux - Networking 4 01-07-2005 01:44 AM


All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration