Subject: Re: ppp problems all over again.
To: None <ingerrn@cris.com>
From: Masami and Ken Nakata <masami@fa2.so-net.or.jp>
List: port-mac68k
Date: 04/04/1997 09:46:30
On Thu, 3 Apr 1997 19:31:01 -0500 (EST),
xiamin <ingerrn@cris.com> wrote:
> as far as i can tell /etc/resolv.conf is ok, but when i try to telnet to 
> even an ip#, it tells me no route to hosts...so it seems to be a ppp 
> config problem rather than a name looking up problem...

I don't understand then why you don't tell us what "netstat -rn" says,
especially when you have figured it out this far by yourself...

Do you have default route set up?  What does "ifconfig -a" say?
You should be seeing something like this:

[~]$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif Expire
default            AAA.BBB.CCC.DDD    UGc         5        0      ppp0
127.0.0.1          127.0.0.1          UH          2     3729       lo0
AAA.BBB.CCC.DDD    WWW.XXX.YYY.ZZZ    UH          6        0      ppp0

[~]$ ifconfig -a
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000 
ppp0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1524
        inet WWW.XXX.YYY.ZZZ --> AAA.BBB.CCC.DDD netmask 0xffffff00 

...where AAA.BBB.CCC.DDD and WWW.XXX.YYY.ZZZ are your router's and
your ppp interface's IP addresses respectively.

If you have this, every packet to the Net should go to AAA.BBB.CCC.DDD
through WWW.XXX.YYY.ZZZ (ppp).

Good luck,

Ken