From owner-freebsd-stable Wed Nov 6 14:20:28 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27D9737B42C for ; Wed, 6 Nov 2002 14:20:25 -0800 (PST) Received: from mrburns.nildram.co.uk (mrburns.nildram.co.uk [195.112.4.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id A612943E4A for ; Wed, 6 Nov 2002 14:20:20 -0800 (PST) (envelope-from muttley@gotadsl.co.uk) Received: from [192.168.0.4] (muttley.gotadsl.co.uk [213.208.123.26]) by mrburns.nildram.co.uk (Postfix) with ESMTP id 16EF91E1F29; Wed, 6 Nov 2002 22:19:59 +0000 (GMT) Date: Wed, 06 Nov 2002 22:20:03 GMT From: Matthew Whelan To: RJ45 , freebsd-stable@FreeBSD.ORG Subject: Re: problem with ppp from 4.7-STABLE In-Reply-To: References: Message-Id: <20021106220754.3F54.MUTTLEY@gotadsl.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Becky! ver. 2.05.04 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 6 Nov 2002 14:51:38 -0700 (MST) RJ45 wrote: > > Hello, > I have a problem with ppp, at least 2 other person reported this same > problem in freebsd-questions. > > ppp hangs after a few days of running. > I use it to establish a PPPoE connection for my ADSL line. > After 3 or 4 days ppp get freezed. > ppp continue running and ifconfig reports: > tun0: flags=8051 mtu 1492 > inet 80.116.24.247 --> 192.168.100.1 netmask 0xffffffff > Opened by PID 69 > > but if I ping 192.168.100.1 it does not respond. > I must kill and restart ppp with papchap authentication and then it comes > back working again. MY ISP says his hardware is functioning well and there > are no problems on the ADSL line. "Me too", kinda. I'm using PPPoA, but always assumed the fault was elsewhere. A quick 'killall -INT ppp' does the trick for me (I use ddial mode, but ppp doesn't detect the death of the connection). > THis problem is really annoying because from time to time I found myself > disconnected without being able to track the problem. > THere is only this strange line in ppp.log > > Nov 6 15:45:37 durlindana ppp[24369]: Phase: deflink: Enter pause (3) for > redialing. This isn't strange at all, when ppp redials (either because it detects loss of connection or because you force to by sending a SIGINT), it pauses waits a short while between hanging up the old connection and starting reconnecting. This is so ddial mode doesn't spin as badly if it never manages to connect. That line is merely informing you that it's waiting 3 seconds before the next connection attempt. I imagine it's very closely followed by a couple of lines like: Nov 5 00:51:45 ericnernie ppp[73]: tun0: Chat: deflink: Reconnect try 1 of 0 Nov 5 00:51:55 ericnernie ppp[73]: tun0: Chat: deflink: Redial timer expired. > > I can't really understand what's happening. > anyone has some hints? > thanks Sadly I have no idea what's going on... like I said, I had assumed the problem was elsewhere, and not really worried about it. In my case at least, it's very unpredictable exactly when it'll go - sometimes I need to redial 2-3 times in the space of a few minutes, then sometimes it'll stay connected for a month after that. -- Matthew Whelan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message