From owner-freebsd-ports Sun Jun 18 9:11:55 2000 Delivered-To: freebsd-ports@freebsd.org Received: from smtp.tznet.com (smtp.tznet.com [206.31.5.6]) by hub.freebsd.org (Postfix) with ESMTP id F08F337B6C8 for ; Sun, 18 Jun 2000 09:11:41 -0700 (PDT) (envelope-from murban@tznet.com) Received: from tznet.com ([205.216.111.113]) by smtp.tznet.com with ESMTP (IPAD 2.52/64) id 3712000; Sun, 18 Jun 2000 11:11:31 -0500 Message-ID: <394CF46B.4694E557@tznet.com> Date: Sun, 18 Jun 2000 11:10:20 -0500 From: Michael Urban X-Mailer: Mozilla 4.73 [en] (X11; I; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: andrew@grillet98.freeserve.co.uk, freebsd-ports@freebsd.org Subject: Re: ports/19366: PPP keeps redialling when no tcp/ip traffic References: <20000618145232.84DD937B64B@hub.freebsd.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello Andrew, Try adding the following line to your ppp.conf file: set log +tcp/ip That will log all traffic and should produce an entry in ppp.log of what tried to use tcp/ip just before the dial occured (it will be time stamped) You might also want to read the section in the FAQ on this: http://www.freebsd.org/FAQ/ppp.html#AEN3493 And the handbook section regarding automatical dialing. There is a section that discusses the things that can cause ppp to dial automatically. Hope this helps, Mike andrew@grillet98.freeserve.co.uk wrote: > >Number: 19366 > >Category: ports > >Synopsis: PPP keeps redialling when no tcp/ip traffic > >Confidential: no > >Severity: serious > >Priority: low > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Sun Jun 18 08:00:02 PDT 2000 > >Closed-Date: > >Last-Modified: > >Originator: Andrwe Grillet > >Release: 4.4-RELEASE > >Organization: > Quickstart technology ltd > >Environment: > FreeBSD freebsd.grillet.home 3.4-RELEASE FreeBSD 3.4-RELEASE #1: Mon Apr 17 > 16:26:21 BST 2000 toor@freebsd.grillet.home:/usr/src/sys/compile/GRILLET > i386 > >Description: > I have ppp-NT operational, with shared access between about 6 computers > variously running BSD, Win95 and Linux. It works fine with aliasing etc. > I also have Bind8 running, with the namedb.root file changed to enable > and disable real DNS during peak phone bill time like in the info page. > There are no problems with these things. > > The problem is that ppp dials every three minutes or so, even when > no other machines are powered. > > I have disabled all dial filters (one at a time, and all > at once) and the problem remains. > > I would like to stop this behaviour, as I wish to recieve incoming > calls to mgetty on the same modem. > > Also, I suspect ppp does not honour cuaaX..LCK files as claimed. > I have written routines to set and clear lock files, and ppp > appears to use the modem in spite of the lock. > >How-To-Repeat: > AFAICT, ppp always does this. (I have tried 3 different modems) > my call is > # ppp -auto screaming > > and my ppp.conf contains > ================== > set device cuaa1 > set speed 38400 > disable lqr > deny lpr > set redial 2 4 > set timeout 300 > freeserve: > set phone 0845-353-0121 > set openmode active > accept pap > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 > add! 10.0.0.2 > # > set filter alive 0 deny icmp > set filter alive 1 deny udp src eq 53 > set filter alive 2 deny udp dst eq 53 > set filter alive 3 deny udp dst eq 520 > set filter alive 4 deny udp dst eq 520 > set filter alive 5 permit 0/0 0/0 > # > set filter dial 0 permit 0/0 0/0 > set filter dial 1 permit udp src eq 53 > set filter dial 2 permit tcp src eq 53 > set filter dial 3 permit udp src eq 69 > set filter dial 4 permit tcp src eq 69 > set filter dial 5 permit udp src eq 110 > set filter dial 6 permit tcp src eq 110 > > # there are some in and out filters too > ================== > > >Fix: > > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message