Subject: Re: PPP connection via modem
To: Albert Carter <SilverMoonTiger@wizzard.tiac.net>
From: Colin Wood <ender@is.rice.edu>
List: port-mac68k
Date: 04/12/1997 14:11:24
> After some minor mistake on my part I wound up having to reinstall NetBSD
> and I installed it as well as the ppp-dod.tgz kit.  Here's what I've done
> as well.  My /etc/hosts file have been set so that the first line reads:
> 127.1                               localhost           wizzard.tiac.net
> (this is the host name with my ISP)

The above is probably just fine, what follows, however, is not so good ;-)

> My /etc/resolv.conf file reads:
> 199.0.65.2
> 199.0.65.8
> 199.0.65.9

Here is my /etc/resolv.conf for a bit of contrast:

search brown.rice.edu owlnet.rice.edu is.rice.edu rice.edu
nameserver 128.42.5.4
nameserver 128.42.42.24
nameserver 128.42.49.7
nameserver 128.42.1.30

Note that you need to proceed your nameserver IP addresses with the
keyword nameserver, and you should also probably specify a default domain
to search for incomplete host names in (use the 'domain' keyword for a
single domain, the 'search' keyword for up to 8 domains).  This is all
pretty well described in resolv.conf(5), I believe.

> I have set all the options in /etc/ppp/options, /etc/ppp/ppp-numbers, and
> /etc/ppp/ppp-login.  I have also changed the modem init string in
> /etc/ppp/ppp-dial.
> 
> I restarted and tried it out.  I typed in ppp-start to start it it said
> something about connecting then connected.  It said in "PPP-DOD-HOW-TO" to
> do this then to type in something like ftp ftp.NetBSD.ORG to dial out and
> get a connection.  all it does is come back as:
> host not found
> ftp>

The reason you are getting this message is because the name servers are
not properly configured in all likelihood.

> Could someone please help me out on what I am doing wrong?  Oh when I type
> in ftp ftp.NetBSD.ORG it doesn't even try to dial the modem.  I have
> checked ps -aux and found the pppd is in fact up and running.  Any help on
> this would be appreciated.

It sounds like you are connecting just fine (although a netstat -r will
tell you for sure if you have a route to your gateway at least).

I hope the above helps.

Later.

-- 
Colin Wood                                      ender@is.rice.edu
Consultant                                        Rice University
Information Technology Services                       Houston, TX