Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jul 1998 22:12:48 -0400 (EDT)
From:      Stuart Krivis <stuart@apk.net>
To:        Evan Thomas <tps.elt@mars.planetary.org>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Question
Message-ID:  <Pine.GSO.3.95.980725220031.17381A-100000@junior.apk.net>
In-Reply-To: <01bdb82e$4f393ec0$5617b3d1@default>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 25 Jul 1998, Evan Thomas wrote:

> I have been trying to configure PPP.  I got it to connect to my ISP
> (Earthlink), but ftp, telnet, ping, etc , all give me the message "unknown
> host" with everything but localhost.
> 
> my netstat -rn gives:
> 
> dest            Gateway            flags    Refs    Use    Netif Expire
> 127.0.0.1    127.0.01            UH        o        16        lo0

Here's mine:

su-2.01$ netstat -rn
Routing tables

Internet:
Destination        Gateway            Flags     Refs     Use     Netif
Expire
default            207.54.160.2       UGSc        6        1      tun0
127.0.0.1          127.0.0.1          UH          1       97       lo0
207.54.160.2       207.54.181.98      UH          7        0      tun0


It would seem that you don't have a defaultroute set. Or, earthlink is
doing something wrong. :-)

Do you have this set in ppp.linkup?

MYADDR:
  delete ALL
  add 0 0 HISADDR        

How about your ppp.conf?

bash-2.01# cat ppp.conf
default:
  set log Phase Chat Connect lcp ipcp ccp command
  set device /dev/cuaa1
  set speed 115200
  set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" ATE1Q0 OK-AT-OK
\\dATDT\\T TIMEOUT 40 CONNECT"
ISP:
  set phone "1234567"        #Separate multiple phone numbers with a |
  set login
  set timeout 0            #Change to 0 if no timeout desired
  deny lqr
  set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0
  set authname xxx
  set authkey xxxx                    


What version of FreeBSD are you using? There was evidently a bug in the
user ppp included with the release. (The ppp in 2.2.7 works well.)


-- 

Stuart Krivis    stuart@krivis.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.95.980725220031.17381A-100000>