From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 06:10:40 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1694437B401 for ; Wed, 23 Jul 2003 06:10:40 -0700 (PDT) Received: from hotmail.com (law12-oe55.law12.hotmail.com [64.4.18.63]) by mx1.FreeBSD.org (Postfix) with ESMTP id 26B5E43F3F for ; Wed, 23 Jul 2003 06:10:39 -0700 (PDT) (envelope-from b1henning@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 23 Jul 2003 06:10:38 -0700 Received: from 192.216.212.193 by law12-oe55.law12.hotmail.com with DAV; Wed, 23 Jul 2003 13:10:38 +0000 X-Originating-IP: [192.216.212.193] X-Originating-Email: [b1henning@hotmail.com] From: "Brian Henning" To: "freebsd" Date: Wed, 23 Jul 2003 08:10:14 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 23 Jul 2003 13:10:38.0981 (UTC) FILETIME=[CFDC8B50:01C3511B] Subject: ppp connection problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Brian Henning List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 13:10:40 -0000 Greetings all: I am connecting to my isp with the following ppp.conf using the command >ppp -auto isp when i run the command i usually connect on the second try. for some reason the connection drops after the first try, but my true problem is i can ping internal ips and not ips outside the network. I think my problem is with my default route is not setup properly. here is a snip of my ifconfig, for some reason i have two tun devices. i think that is caused by trying to dial up twice? any thought on how to setup my default route properly? Thanks, brian ifconfig -------- tun0: flags=8051 mtu 1500 inet 199.17.4.229 --> 199.17.4.4 netmask 0xffffff00 Opened by PID 111 tun1: flags=8051 mtu 1500 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 Opened by PID 121 Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 199.17.4.4 UGSc 4 2620 tun0 10.0.0.2 10.0.0.1 UH 0 0 tun1 127.0.0.1 127.0.0.1 UH 0 0 lo0 199.17.4.4 199.17.4.229 UH 4 0 tun0 /etc/ppp/ppp.conf ----------------- default: set device /dev/cuaa1 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 40 CONNECT" set timeout 180 enable dns isp: set phone xxx set authname xxx set authkey xxx set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR