resolv.conf is there to tell your linux system how to translate hostnames
to ip addresses via DNS lookup.
You should put the address IP of your internet provider's dns there and
the domain name of your provider too:
----resolv.conf---------------
search your-provider-domain
nameserver XXX.XXX.XXX.XXX
nameserver XXX.XXX.XXX.XXX
----------------------------------
NB: in resolv.conf you can use "search your-provider-domain" or "domain
your-provider-domain"
nsswitch.conf tells linux in what order it should use the different
solutions to resolv names and other things:
here we are interested in the "hosts" section
verify that you have this order:
----nsswitch.conf------------
hosts: files dns
-----------------------------------
that means first look for the hostname in /etc/hosts (files) and if it is
not there ask dns.
if the ppp link is on the linux side:
configure its default route on the ppp link (when it comes up)
configure a static route to your windows host though eth0
configure linux to be a router for your windows host.
configure windows with the same dns parameters but with the your linux
host as a gateway for all IPs
that should help ?
-----Message d'origine-----
De: Jeroen [SMTP:[EMAIL PROTECTED]]
Date: vendredi 15 janvier 1999 01:42
�: linux-newbie
Objet: LAN question
Hi again,
I think I'm almost there, well almost at the start that is.
I am tryung with just two pc's for starters.
One win95 and one Linux pc.
But I get an errormessage when I boot my pc:
netmask: Host name lookup failure.
What I've done sofar is:
get the kernel to recognise my nic => OK
edited inet.1 , hosts, hosts.allow, hosts.deny
and resolv.conf but with that last one I don't
exactly know what I' ve got to put in so I've played a bit
with that. Could my error come from this last file or do I have
to look somewhere completly different?
Thanx in advance,
Jeroen