LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Host Unreachable , ICS, Slackware Box=Client, XP Box=host (https://www.linuxquestions.org/questions/linux-networking-3/host-unreachable-ics-slackware-box%3Dclient-xp-box%3Dhost-434857/)

MercuryRising 04-13-2006 01:00 PM

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

manishsingh4u 04-13-2006 01:15 PM

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?

MercuryRising 04-13-2006 01:26 PM

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...

manishsingh4u 04-13-2006 01:42 PM

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.

MercuryRising 04-13-2006 01:45 PM

Any othe way to get this information? I'm sharing this connection with my neighbor and they are gone for the next 10 days.

manishsingh4u 04-13-2006 01:52 PM

I have updated my last post. But still nameserver and search entries are needed.


All times are GMT -5. The time now is 07:33 PM.