LinuxQuestions.org
Visit Jeremy's Blog.
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 10-09-2002, 06:46 PM   #1
shipper
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Rep: Reputation: 0
Question Windows XP ICS & Linux Client


WindowsXP box is connected to internet via modem and ICS is enabled, static IP of 192.168.0.1 on the nic. Other windows PC's on the LAN have access to the internet via ICS no problem. They all obtain IPs via DHCP. I have tried both a static IP on the linux box as well as DHCP. Either way I can ping from linux to any other pc on the LAN, and the others can ping the linux box as well, so the network is running fine. When I run Netscape on the linux box and try an internet URL the status bar shows:

Connect: Contacting host valid.url.here
Connect: Host valid.url.here contacted, waiting for reply...

Of course, no reply is ever received or I wouldn't be posting this! Now, if the url happens to be bad (I tried this intentionally) I get an immediate response that Netscape is unable to locate the server (as expected) which seems to elliminate DNS issues. Anyone have any ideas or suggestions?
 
Old 10-10-2002, 11:55 AM   #2
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Do you have the Win box's ip set as the gateway on your Linux box?
 
Old 10-11-2002, 01:35 PM   #3
shipper
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Under "routing and gateways" of netconf the xp's IP is the default route with "routing enabled" unchecked.
 
Old 10-11-2002, 03:04 PM   #4
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Look at the files in your /etc/sycofig directory.

Specifically take a look at your /etc/sysconfig/network and see if it looks something like this.

Gateway="eth0"
NETWORKING=yes
HOSTNAME="machine.domain.net"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

The Gateway should be set to whatever your win box's ip is.
 
Old 10-11-2002, 09:51 PM   #5
Chuk
Member
 
Registered: Sep 2002
Location: British Columbia
Distribution: Ubuntu
Posts: 47

Rep: Reputation: 23
How about firewalls? I just finished setting up a dual boot Win98 and RH 7.2 box to do just that (share the Win XP box's DSL).
 
Old 10-12-2002, 09:08 AM   #6
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
What about firewalls? (not meaning to sound rude) Was that last post a question or comment? You lost me.
 
Old 10-12-2002, 06:07 PM   #7
shipper
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by irish_rover
Look at the files in your /etc/sycofig directory.

Specifically take a look at your /etc/sysconfig/network and see if it looks something like this.

Gateway="eth0"
NETWORKING=yes
HOSTNAME="machine.domain.net"
GATEWAY="192.168.0.1"
FORWARD_IPV4="yes"

The Gateway should be set to whatever your win box's ip is.
Looks just like it with the exception of FORWAED_IPV4, was no, changed it to yes but made no difference.
 
Old 10-12-2002, 06:27 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well what does "route" say? it should contain that information mostly...
 
Old 10-12-2002, 07:08 PM   #9
shipper
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by acid_kewpie
well what does "route" say? it should contain that information mostly...
Destination Gtway Gmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
127.0.0.0 * 255.0.0.0 U 0 0 0 lo
default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
 
Old 10-14-2002, 06:29 AM   #10
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Ok, hmmm, try taking a look at

/etc/sysconfig/networking/profiles/default/ifcfg-eth0

DEVICE="eth0"
ONBOOT="yes"
BOOTPROTO="none"
IPADDR="192.168.0.1"
NETMASK="255.255.255.0"
GATEWAY=192.168.0.254
TYPE=Ethernet
USERCTL=no
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
PEERDNS=no
IPXPRIMARY_802_2="no"
IPXACTIVE_802_2="no"
IPXPRIMARY_802_3="no"
IPXACTIVE_802_3="no"
IPXPRIMARY_ETHERII="no"
IPXACTIVE_ETHERII="no"
IPXPRIMARY_SNAP="no"
IPXACTIVE_SNAP="no"
IPXNETNUM_802_2=""
IPXNETNUM_802_3=""
IPXNETNUM_ETHERII=""
IPXNETNUM_SNAP=""
 
Old 10-14-2002, 02:13 PM   #11
shipper
LQ Newbie
 
Registered: Oct 2002
Posts: 5

Original Poster
Rep: Reputation: 0
Well, now I have a bigger issue, the hard drive decided to spin no more. As soon as I find the time to put another one in and reinstall I will try again. Thanks to everyone who had input on this thread, it has been a learning experience. Luckily this was not a primary machine!
 
Old 10-14-2002, 04:50 PM   #12
irish_rover
Member
 
Registered: Sep 2002
Location: IN, USA
Distribution: Debian, Endian FW
Posts: 368

Rep: Reputation: 30
Setup you networking as you do the install this time! (ha!) Sorry about the HD. Good luck with the new one.
 
  


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
ICS Windows/Linux - Client not quite working right -.- Mmc245 Linux - Hardware 2 08-31-2005 08:23 AM
Linux & Windows ICS sysspoon Linux - Networking 3 08-26-2005 10:43 PM
Windows XP as ICS host & Linux as client connection problem ! hemanfan Linux - Networking 3 06-08-2005 04:29 PM
SuSE 9.1 won't connect through Windows XP ICS and Samba client doesn't work papa Strumpf Linux - Networking 0 08-21-2004 09:16 AM
Windows ICS & Mandrake JaguarNZ Linux - Networking 20 12-04-2003 02:20 PM

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

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