LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-18-2013, 04:08 AM   #1
erfan
LQ Newbie
 
Registered: Dec 2006
Posts: 9

Rep: Reputation: 0
Question sharing Internet from windows XP to Blackryhno


hi
i have fat PS2 with HDD and Blackryhno linux on it which i use it as my home server for managing some stuff and...
i have windows XP machine which connects to my router using wifi
i connected my Blackryhno with a cable and can ping both machines.
the problem is i can't share my XP machine's internet with Blackryhno! i configured ip addresses like this:
BlackRyhno:
/etc/network/interfaces
Code:
IP: 192.168.101.2
Netmask: 255.255.255.0
Default Gateway: 192.168.101.1  (my router configured on this ip)
/etc/resolv.conf
Code:
4.2.2.4 (my ISP DNS)
8.8.8.8 (My Alternate DNS)
Windows xp ethernet :
Code:
IP: 192.168.101.6
Netmask: 255.255.255.0
Default Gateway: 192.168.101.1
DNS: 4.2.2.4
ALT DNS: 8.8.8.8
i enabled "Allow internet sharing..." on this card too

Windows xp wifi :
Code:
IP: 192.168.101.5
Netmask: 255.255.255.0
Default Gateway: 192.168.101.1
DNS: 4.2.2.4
ALT DNS: 8.8.8.8
when i try to connect the cable my internet is gone! so i think it's because XP machine confuses which Card to use in order to get to the internet!
could anyone plz tell me where did i messed up? or what am i missing?
thanks in advance
 
Old 11-18-2013, 12:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,193

Rep: Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087
When you configure internet connection sharing on the wifi adapter the lan adapter will automatically be setup as 192.168.0.1 netmask 255.255.255.0. This as far as I know can not be changed. If you setup the BlackRyhno using DHCP then it will automatically get an IP address and DNS information from XP.

http://support.microsoft.com/kb/306126
 
1 members found this post helpful.
Old 11-18-2013, 02:32 PM   #3
erfan
LQ Newbie
 
Registered: Dec 2006
Posts: 9

Original Poster
Rep: Reputation: 0
thanks, i can now access internet! didnt know xp changes ethernet ip
 
Old 11-18-2013, 02:41 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,193

Rep: Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087Reputation: 6087
It is how internet connection sharing works...

You can mark the thread as solved under thread tools at the top of the page.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sharing internet with windows xp dip_10 Fedora 5 04-30-2006 12:16 AM
sharing internet with windows xp system dip_10 Linux - Networking 1 04-16-2006 08:38 PM
Windows and Linux Internet Sharing LinuxSeeker SUSE / openSUSE 12 11-10-2005 02:41 PM
Sharing internet with windows Tryxl Mandriva 6 03-23-2004 07:17 PM
Sharing internet with windows Tryxl Linux - Networking 1 03-23-2004 11:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 AM.

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
Open Source Consulting | Domain Registration