From owner-freebsd-questions Fri Sep 10 0:27: 0 1999 Delivered-To: freebsd-questions@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.128.198]) by hub.freebsd.org (Postfix) with ESMTP id 4B9C71526B for ; Fri, 10 Sep 1999 00:26:56 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (root@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id IAA85271; Fri, 10 Sep 1999 08:25:49 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from keep.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by keep.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id IAA37701; Fri, 10 Sep 1999 08:30:26 +0100 (BST) (envelope-from brian@keep.lan.Awfulhak.org) Message-Id: <199909100730.IAA37701@keep.lan.Awfulhak.org> X-Mailer: exmh version 2.0.2 2/24/98 To: David Stein Cc: freebsd-questions@FreeBSD.org Subject: Re: ddial not working properly? In-reply-to: Your message of "Wed, 08 Sep 1999 19:49:24 EDT." <99090821472700.52202@myname.my.domain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 10 Sep 1999 08:30:26 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The best way to diagnose this is to run ppp interactively with ``ppp isp'' and then at the prompt, ``set mode ddial''. Once the disconnection happens you can ``show timer'' to see that the redial timer is active. Do it a few times to ensure that it's decreasing. A ``set log local phase lcp'' will help too. > When I do "ppp -ddial isp" it dials my ISP fine, but if the connection gets > dropped (either via me testing it by physically removing and then replacing the > connection - or by my ISP deciding to drop my line) it doesn't redial. I've > also tried this via interactive mode and no redial occurs. Could someone > PLEASE help me fix my configuration?? > > 1. I'm using FreeBSD 3.2 that came with "The Complete FreeBSD", running on a > Cyrix 133. 200 Meg Swap. Plenty of RAM (something like 96 meg). > > 2. I have a standard modem ("Zoom modem" 33.3? 33.6? something like that). > > 3. when I dial "ppp -ddial isp" i get the following response (computer is > called "myname"): > > myname# ppp -ddial isp > Working in ddial mode > Using interface: tun0 > > At this point it connects and everything is fine. It wont redial upon > a disconnect though. > > 4. My ppp.conf is as follows (minus my login phone#, id > and pw): > > default: > set log Phase Chat LCP IPCP CCP tun command > set device /dev/cuaa1 > set speed 115200 > set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" > isp: > set phone MY_ISP_PHONE_NUMBER > > # Don't close the connection for idle time > set timeout 0 > > # Log On Info > set authname MY_LOGIN_ID > set authkey MY_LOGIN_PW > > # Dynamic IP Address > set ifaddr 0 0 > > add default HISADDR > enable dns > > # reconnect after 3 seconds, 999 tries > set reconnect 3 999 > # redial after 10 seconds, infinite tries > set redial 10 0 -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message