PDA

View Full Version : Unable to allow connections through Knoppix 3.4 Box



norrillous
06-25-2004, 10:19 PM
Hello,

I have 2 Computers here at my house 1 XP Pro box and a KNoppix 3.4 box and I have them connected to each other via 2 NIC's and 1 Crossover cat5 cable, and my internet connection is on eth0 and my Network connection is on eth1 in my knoppix box and there is only 1 NIC in the XP box .

I appologize if I just confused you, Now on the Network I can browse the 2 computers From one to another and I can ping each NIC with out any Loss at all, but I can''t get the knoppix box to allow the XP box to connect to the internet I was thinking I needed to use IP Masq''ing to accomplish this, and so I followed the how-to's at http://www.krnlpanic.com/tutorials/iptables.php but still nothing
does anybody know how to accomplish this? Any help would be apperciated
Thank you

Ryan

arkaine23
07-02-2004, 04:26 PM
I would do it the other way around personally. Use windows XP's ICS (Internet Connection Sharing).

On the winxp ics server side:
Right click the home netcard > properties, CHECK "Internet Protocol (TCP/IP)", then click on properties > check "Use the following IP address" and input 192.168.0.1 as ip, and
255.255.255.0 as subnet mask, other fields are left blank.

On the knoppix client side:
ifconfig eth0 192.168.0.200 netmask 255.255.255.0 up
route add default gw 192.168.0.1 eth0
echo nameserver 192.168.0.1 >> /etc/resolv.conf

aay
07-03-2004, 02:24 AM
The easiest way is to apt-get firestarter and use the internet connection sharing wizard which is in it.