> >
> >I did this a while back when I was at my brother's.
> >
> >Fist you have to enable sharing of the internet connection in Windows
> >XP, don't remember
> >exactly where to find that option...
> >
> >Then you have to tell your Linux machine to use the XP machine as a gateway:
> >
> >route add default gw 192.168.0.1 dev eth0
> >
> >(Assuming the card in your XP machine that connects to your Linux
> >machine has IP 192.168.0.1, and the Linux machine's ethernet card is
> >eth0)
> >
> >Make sure you have some nameservers in /etc/resolv.conf and you should be 
> >good
> >to go.
> >
> >
> >cheers,
> >Christian
> 
> Do I need to fill in an IP address for the gateway in WindowsXP too? :-/
>

No. There should be an option in the Network/Internet config called
something like "Allow other computers to use the internet connection".
There might have been some sub-options once that is enabled, but it
was all pretty obvious as far as I remember.

> Right now I'm going to look in the
> /etc/resolv.conf to see if I can find how to fix
> a nameserver, shouldn't be that hard, I think..
> 

Usually your Internet Provider's website has the info somewhere.

For example my /etc/resolv.conf looks like this:

nameserver 217.237.149.161
nameserver 217.237.151.225

There also should be a propper way to get DNS information from the XP
machine, but I don't know how that works...

cheers,
Christian

Reply via email to