LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2006, 07:32 AM   #1
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Rep: Reputation: 15
ICS from XP Pro to Fedora Core 6


hey there, im a newbie to linux and i was hoping someone could lend me a hand

i have xp pro running on my main pc and i have just installed fedora core 6 on another pc in the house. the 2 pc's are networked and can ping each other fine (on the same subnet). i want to share the adsl connection that is always running on my xp pro pc so that when ever someone turns on the linux machine they can access the web just like i do. ive done it a million times with wifi etc on xp tp xp machines but im not sure what to do with linux...


any help would be great, thanks!
 
Old 11-14-2006, 08:00 AM   #2
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
Have you tried using the internet from the Fedora machine? There's a good chance it will work straight off. If not, you may need to set the DNS nameservers on the Fedora box.
 
Old 11-14-2006, 08:02 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
I would prefer using a router. Then, each machine will have access if the other is off. Also, a router gives some extra security.

If the XP machine is the one that will be used to share the connection, then it seems that all you need to know on the Linux end is whether to use static IP or DHCP....
 
Old 11-14-2006, 02:57 PM   #4
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
exactly. i thought it should have been working too. i want to use a router to but i want to old off until i get adsl2+ cos then i will actually need to buy some new hardware.

i dont use DNS at all so it shouldnt be an issue and i tried it both ways, with static ip and dhcp and it just wouldnt open the web page. its got me.

any ideas?
 
Old 11-14-2006, 05:52 PM   #5
Gethyn
Member
 
Registered: Aug 2003
Location: UK
Distribution: (X)Ubuntu 10.04/10.10, Debian 5, CentOS 5
Posts: 900

Rep: Reputation: 32
You *do* use DNS. Every internet computer does, as DNS is needed to convert named addresses such as linuxquestions.org into IP addresses.

Try opening a terminal and entering the following commands:
Code:
ping -c1 www.google.com
ping -c1 66.102.9.147
Post the output of these commands. The first command sends a single ping request to Google, using its domain name. The second command does the same, but uses the IP address. If the problem you're having is DNS related, the first command will fail, but the second one will work. If there's a different problem, then maybe the output from the commands will help us work out what it is.
 
Old 11-14-2006, 07:07 PM   #6
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
To further elaborate and embellish:
When you use DHCP, it automatically fetches the dns server addresses, which then get written to the appropriate config file.
 
Old 11-14-2006, 07:19 PM   #7
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
yeah sorry i was thinkin of myself, haha, i didnt think about the fact that im looking for a domain name and they use dns to match it to their ip.

ill do that as soon as im home later today and report back with the outputs/outcomes.

thanks!
 
Old 11-15-2006, 12:58 AM   #8
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
the ping to the ip worked from both the xp pc and the linux pc.
the ping to www.google.com failed on BOTH. the internet clearly works on the xp pc (which has the direct connection). Any ideas why the linux pc still doesnt want to find web pages?
 
Old 11-15-2006, 01:41 AM   #9
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
You need to enable internet sharing on the XP pro machine. Also check if the FC machine has the nameserver addresses. (cat /etc/resolv.conf) Without those, you can't resolve domain names to IP addresses. It sounds like that is what the problem is.
 
Old 11-15-2006, 01:55 AM   #10
JET-33
Member
 
Registered: Nov 2006
Posts: 80

Original Poster
Rep: Reputation: 15
fixed. i had ics on the whole time. i added my gateway pc's local lan ip to the linux pc's dns and bingo....

thanks
 
Old 11-15-2006, 03:36 AM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
The default gateway should be the IP address of the windows machine. I don't think that you want the windows machine's IP as a nameserver.
 
  


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
Fedora Core 2/WinXP ICS Network Question - need a genius opsraja Fedora 3 01-08-2005 09:06 PM
XP pro, Fedora Core 1 network setup jojotx0 Linux - Networking 10 12-12-2004 01:56 AM
fedora core 2 (kernel 2.6.7) 9800 pro #HELP# KingGuru Linux - Hardware 4 09-06-2004 01:28 PM
Dual Boot XP Pro and Fedora Core btexpress Linux - Newbie 50 05-24-2004 06:11 PM
pinnacle pctv pro in fedora core biscristi Linux - Software 0 03-08-2004 07:36 PM


All times are GMT -5. The time now is 06:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration