Click to See Complete Forum and Search --> : NATing through windows


ogrerocks
02-28-2004, 01:13 AM
First, you will probably ask why. Well, the short story is:
I have a D-link 520+ wireless WLAN adapter. If you know anything about the '+' line of D-link products, then you know they are a pain in the ***. I just built a new PC and don't want to fiddle with the D-link adapter in Linux. Instead, I am leaving it in my old PC and connecting to the internet through it.
So my set-up is: new PC behind WinXP behind D-link router.
I am using the built-in ICS in XP, and everything works fine.

Now, I installed mandrake 9.2.
How do I get Mandrake to recognize a connection? Nothing I have tried in the Mandrake Control Center has worked.
The WinXP box is set to use IP 192.168.0.1. Could someone give me directions how to set this up. I am new so please be thorough.
Thanks.

mdwatts
02-28-2004, 11:51 AM
You need to configure the gateway address and dns servers (/etc/resolv.conf) to point to the ip address of XP.

I have a Linksys router (192.168.1.1) and have setup

/etc/sysconfig/network/routes

default 192.168.1.1 - -

/etc/resolv.conf

nameserver 192.168.1.1
search mdwsystems.net

ogrerocks
02-29-2004, 08:25 PM
I don't seem to have the /etc/sysconfig/network/routes file. Should I create one?

mdwatts
03-01-2004, 01:30 PM
Originally posted by ogrerocks
I don't seem to have the /etc/sysconfig/network/routes file. Should I create one?

You need to find out what Mandrake uses. Mine is from SuSE.

Look through the files in /etc/sysconfig/network to see if any of them contain the default route ip address.

You could use whatever network config tools Mandrake supplies to setup the ip addresses.

gearjunkie
03-01-2004, 01:52 PM
The network config stuff is really easy to use in the mandrake control center. It should be an option in whatever desktop/window manager you're using (KDE, GNOME, or whatever). or if it's not, open a terminal and type 'mcc'.
Click 'network and intenet' and 'drakconnect'. There is a little wizard to help you step through the process. You should be able to input the correct gateway, dns server, and whatever else you need to set up through that.
-nathan

ogrerocks
03-01-2004, 04:53 PM
I have gone through the Drakconnect wizard to no avail. I can't even ping the windows machine.
What is a Zeroconf host? I have always left it blank because I have no idea what it wants.