From owner-freebsd-questions Mon Dec 31 11:39:46 2001 Delivered-To: freebsd-questions@freebsd.org Received: from hotmail.com (oe20.pav1.hotmail.com [64.4.30.124]) by hub.freebsd.org (Postfix) with ESMTP id D39BA37B43F for ; Mon, 31 Dec 2001 11:39:29 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 31 Dec 2001 11:39:29 -0800 X-Originating-IP: [24.4.87.106] From: "Brian" To: Subject: ppp not redialing Date: Mon, 31 Dec 2001 11:44:26 -0800 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 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: X-OriginalArrivalTime: 31 Dec 2001 19:39:29.0631 (UTC) FILETIME=[DCF776F0:01C19232] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Apologies for using the hotmail acct, my isps mail is not being accepted by the list server. > I have a problem where after sometimes a few hours or at most a couple > days, my connection stops working. The problem is, it does not redial. I > invoke this in my /etc/rc.local. I run a caching dns server so have > commented out the request dns line, and want it to be up all the time, so > have commented out the idle line. It does redial if while it is > operational I pull and reinsert the phone cord, but a seemingly nonusable > connection is not detected.. > > ppp -ddial papchap > > Heres my ppp.conf > > ################################################################# > # PPP Sample Configuration File > # Originally written by Toshiharu OHNO > # Simplified 5/14/1999 by wself@cdrom.com > # > # See /usr/share/examples/ppp/ for some examples > # > # $FreeBSD: src/etc/ppp/ppp.conf,v 1.2.2.4 2001/02/22 23:28:42 brian Exp $ > ################################################################# > > default: > ident user-ppp VERSION (built COMPILATIONDATE) > > # Ensure that "device" references the correct serial port > # for your modem. (cuaa0 = COM1, cuaa1 = COM2) > # > set device /dev/cuaa1 > > set log Phase Chat LCP IPCP CCP tun command > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ > \"\" AT OK-AT-OK AT&F1 OK \\dATDT\\T TIMEOUT 40 CONNECT" > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > #set timeout 180 # 3 minute idle timer (the > default) > add default HISADDR # Add a (sticky) default route > #enable dns # request DNS info (for > resolv.conf) > > papchap: > > # > # edit the next three lines and replace the items in caps with > # the values which have been assigned by your ISP. > # > > set phone 8260155 > set authname myusername > set authkey mypassword > > Brian "Sonic" Whalen > Success = Preparation + Opportunity > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message