From owner-freebsd-newbies Wed Oct 21 15:22:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA19880 for freebsd-newbies-outgoing; Wed, 21 Oct 1998 15:22:30 -0700 (PDT) (envelope-from owner-freebsd-newbies@FreeBSD.ORG) Received: from rdc.cl (mailnet2.rdc.cl [200.27.2.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA19871 for ; Wed, 21 Oct 1998 15:22:26 -0700 (PDT) (envelope-from gollum@rdc.cl) Received: from wingate (gollum@dialusr-17.rdc.cl [200.27.4.27]) by rdc.cl (8.8.7/8.8.5-obm-seg) with SMTP id TAA14496 for ; Wed, 21 Oct 1998 19:22:00 -0300 Message-Id: <3.0.5.32.19981021221915.007a8510@rdc.cl> X-Sender: gollum@rdc.cl X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32) Date: Wed, 21 Oct 1998 22:19:15 -0400 To: freebsd-newbies@FreeBSD.ORG From: Anders Subject: pppd question. Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-newbies@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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