Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Oct 1998 22:19:15 -0400
From:      Anders <gollum@rdc.cl>
To:        freebsd-newbies@FreeBSD.ORG
Subject:   pppd question.
Message-ID:  <3.0.5.32.19981021221915.007a8510@rdc.cl>

next in thread | raw e-mail | index | archive | help

This may be a stupid question (no, in fact I am very sure now that it is a
stupid quesion :), but I have read all the docs, looked at all the man
pages, and checked the Handbook and FAQ.

My ISP uses dynamic IP addressing, and in the past (and from this windows
machine), I have not had to enter his IP address in order to connect.  I
use PAP to connect.

I can correctly call the ISP, connect, and then pppd ends successfully,
(still connected, of course), but when I try to ping anybody, or use ftp, I
get "No route to host." errors.  I normally have needed to enter a DNS
address to connect correctly, but this time I have not found any place to
give the information to the pppd program, or in which config file I should
put it.
The DNS is '200.27.2.2', and the domain for the ISP is 'rdc.cl'

It seems that the pppd program is working perfectly except for this little
(major) detail, and at the end, right before quitting, it prints out my IP
and my ISP's IP.  I have tried playing with the /etc/ppp/options file
countless times, and still the same error occurs.  Another interesting
thing: When I put 'defaultroute' into the options file, trying to ping
somebody gives a "Permission denied." error (or something like that).  

I still cannot get my kernel PPP (from pppd) connection to work.  Here is
the '/etc/ppp/options' file:

#
/dev/cuaa0 115200
crtscts
modem
connect 'chat -f /etc/ppp/dial.chat'
domain rdc.cl
demand
user anders
##defaultroute##
idle 120
#


and here's '/etc/ppp/dial.chat'
#
ABORT BUSY
ABORT 'NO CARRIER'
TIMEOUT 5
'' ATZ
OK ATDT3111732
TIMEOUT 40
CONNECT
#


And my '/etc/ppp/pap-secrets'
#
anders * mypassword
#

If you know what is wrong, or you know where I specify my DNS address,
because I (perhaps wrongly) feel that this is probably my problem, then I
would really appreciate some help.  Like I said above, I have read all the
docs and man pages, and I have "The Complete FreeBSD", which got me this
far but does not mention the need for a DNS anywhere, unless I just missed it.

Thanks.


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19981021221915.007a8510>