LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-13-2006, 01:00 PM   #1
MercuryRising
LQ Newbie
 
Registered: Apr 2006
Posts: 22

Rep: Reputation: 15
Host Unreachable , ICS, Slackware Box=Client, XP Box=host


Hi Everyone,

I have an windows xp host that is getting its internet access through a wireless network connection. I have a slackware 10.2 box with KDE as client with a nic. I'm using a crossover cable to connect the two boxes. I'm trying to share the host's internet connection with the slackware client. Win XP box has the windows firewall disabled, but is running kerio firewall, DNSkong and proxomitron. I've made rules in the firewall to allow access to the client. Each box can ping the other, but I can't figure out how to get internet access when on the slackware box.

I'm a complete NOOB to Linux, so any suggestions on how to make this work would be greatly appreciated. I've tried to provide as much info as I can think of.

Win XP Box results of ipconfig:

Ehernet adapter connected to linux box:
IP 192.168.0.2
Subnet Mask: 255.255.255.0
Default Gateway: Blank

Ethernet adapter wireless network connections:
connection specific dns suffix: Belkin
IP: 192.168.2.71
Subnet Mask: 255.255.255.0
Default Gateway: 192.168.2.1
(((Assigned by DHCP)))


Slackware Box results of ifconfig -a
eth0
inet addr: 192.168.0.2
Bcast: 192.168.0.255
Mask: 255.255.255.0

lo
inet addr: 127.0.0.1
Mask: 255.0.0.0
*******************
rc.inet1.conf:
eth0
IP: 192.168.0.2
Netmask: 255.255.255.0
Use_DHCP: blank
DNCP Hostname: blank

Default Gateway IP:
192.168.0.1
*******************
Resolv.conf:
nameserver 192.168.0.1
search dave.com


Thanks for ANY help you can provide!

Cheers,

Dave
 
Old 04-13-2006, 01:15 PM   #2
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
For your windows machine, I would prefer 192.168.0.1 instead of 192.168.0.2 (192.168.0.1 is automatically assigned to nic when ICS is enabled in windows).
About you Slackware box
Code:
Slackware Box results of ifconfig -a
eth0
inet addr: 192.168.0.3
Mask: 255.255.255.0
Gateway 192.168.0.2
Please check these entries
/etc/resolv.conf
Code:
search dave.com (incorrect)
nameserver 192.168.2.1 (please check)
Can you get access to the windows machine?

Last edited by manishsingh4u; 04-13-2006 at 02:10 PM.
 
Old 04-13-2006, 01:26 PM   #3
MercuryRising
LQ Newbie
 
Registered: Apr 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Thanks for your help!

ICS is turned on at the wireless adapter.

As for /etc/resolv.conf dave.com is the name of the slackware box. I was guessing on this, so it is quite likely to be off...
 
Old 04-13-2006, 01:42 PM   #4
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
Alright, then its all problem with the /etc/resolv.conf. This file should contain proper nameserver and search entries otherwise the internet will not work on the Linux box. Please check these entries with your ISP.
Please let me know if it works as this is a new type of IP address you are getting from your provider. Maybe they are not providing you a real ip address.
 
Old 04-13-2006, 01:45 PM   #5
MercuryRising
LQ Newbie
 
Registered: Apr 2006
Posts: 22

Original Poster
Rep: Reputation: 15
Any othe way to get this information? I'm sharing this connection with my neighbor and they are gone for the next 10 days.
 
Old 04-13-2006, 01:52 PM   #6
manishsingh4u
Member
 
Registered: Oct 2005
Location: Bhopal, India
Distribution: RHEL 6
Posts: 422

Rep: Reputation: 30
I have updated my last post. But still nameserver and search entries are needed.

Last edited by manishsingh4u; 04-13-2006 at 02:13 PM.
 
  


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
Windows XP as ICS host & Linux as client connection problem ! hemanfan Linux - Networking 3 06-08-2005 04:29 PM
How could i refer to the Linux box using host name rather than IP address ckamheng Slackware 4 05-10-2005 07:48 AM
running slackware as a client through a WinXP ICS host. FLOODS Linux - Networking 119 08-17-2004 05:11 PM
Win2K ICS host and Linux client raypen Linux - Networking 3 03-18-2003 12:58 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 04:35 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