LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 04-22-2005, 07:28 PM   #1
pbjorge12
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Rep: Reputation: 0
ICS troubles


I need to share the internet from my XP box to my Ubuntu box. Here is my configuration.

I have my XP box connected to the linux one with a crossover cable. The XP box is currently running on a wireless usb linksys.

I have the wireless card set to share it's internet through the LAN. I get an ip in Ubuntu and can ping any ip in the network but I can't get internet. Any help would be appreciated. Thanks
 
Old 04-22-2005, 08:06 PM   #2
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
If you can ping the Windows box and the Windows box is online with the goofy "Allow users to access the internet on this connection" (in other words ICS) button checked, then you should be close. I suspect DNS settings. Type the following at a command prompt

cat /etc/resolv.conf

This will tell you what DNS servers your Ubuntu box is set up to use. Additionally, did you set the gateway of the Ubuntu box to the ip of the Windows box? If not type the following at a prompt.

route add default gw <Winxpip>

Replace <Winxpip> above with the ip address of the Windows box.
 
Old 04-22-2005, 08:42 PM   #3
pbjorge12
LQ Newbie
 
Registered: Jun 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for the help! I had the DNS set to the XP machines ICS ip rather than my routers DNS.
 
Old 04-22-2005, 09:00 PM   #4
Pcghost
Senior Member
 
Registered: Feb 2003
Location: The Arctic
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820

Rep: Reputation: 46
Anytime, and welcome to LQ. :-)
 
  


Reply



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
troubles with SATA, troubles with NVIDIA aevangelica Linux - Hardware 6 10-17-2005 02:39 AM
ICS and cacheing meetenshah Linux - Newbie 1 09-14-2004 05:32 PM
ICS, Mandrake, and XP ions Linux - Networking 4 07-06-2003 06:53 PM
ics setup fragged one Linux - Newbie 7 12-18-2002 07:37 PM
ICS - XP box has ICS enabled, Linux box to connect, how? Thymox Linux - Networking 16 12-11-2001 09:18 AM

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

All times are GMT -5. The time now is 09:02 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