From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 09:05:42 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 CF7F437B401 for ; Wed, 23 Jul 2003 09:05:42 -0700 (PDT) Received: from mta9.adelphia.net (mta9.adelphia.net [64.8.50.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC5A043FAF for ; Wed, 23 Jul 2003 09:05:41 -0700 (PDT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([68.169.105.49]) by mta9.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030723160541.GRLL16117.mta9.adelphia.net@barbish>; Wed, 23 Jul 2003 12:05:41 -0400 From: "fbsd_user" To: "Brian Henning" , "freebsd" Date: Wed, 23 Jul 2003 12:05:40 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: ppp connection problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2003 16:05:43 -0000 Please post /var/log/ppp.log be sure to empty ppp.log before you run last test so log only contains last 2 dials Try starting using this command ppp -background -nat isp Also post your /etc/rc.conf Add this to your ppp.conf isp section set timeout 0 # no idle time out, will not disconnect disable pred1 deflate lqr # compression features & line quality reporting deny pred1 deflate lqr # compression features & line quality reporting set log Phase Chat LCP IPCP CCP tun command #use for testing #set log Phase tun #use to avoid excessive log sizes -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Brian Henning Sent: Wednesday, July 23, 2003 9:10 AM To: freebsd Subject: ppp connection problem 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 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"