From owner-freebsd-questions Fri Jan 18 16:25:14 2002 Delivered-To: freebsd-questions@freebsd.org Received: from grover.logicsquad.net (CPE-144-137-193-52.sa.bigpond.net.au [144.137.193.52]) by hub.freebsd.org (Postfix) with SMTP id 5F17B37B400 for ; Fri, 18 Jan 2002 16:25:10 -0800 (PST) Received: (qmail 516 invoked from network); 19 Jan 2002 00:25:08 -0000 Received: from unknown (HELO logicsquad.net) (192.168.0.1) by 192.168.0.1 with SMTP; 19 Jan 2002 00:25:08 -0000 Received: from 203.49.60.114 (SquirrelMail authenticated user paulh) by grover.logicsquad.net with HTTP; Sat, 19 Jan 2002 10:55:08 +1030 (CST) Message-ID: <2839.203.49.60.114.1011399908.squirrel@grover.logicsquad.net> Date: Sat, 19 Jan 2002 10:55:08 +1030 (CST) Subject: Re: ppp(8) + ng_pppoe(4) doesn't detect dead connection. From: "Paul A. Hoadley" To: In-Reply-To: <35599.216.132.171.28.1011216072.squirrel@www1.27in.tv> References: <35599.216.132.171.28.1011216072.squirrel@www1.27in.tv> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: Reply-To: paulh@logicsquad.net X-Mailer: SquirrelMail (version 1.2.2) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 C J Michaels said: > The above mentioned -STABLE box is connected to the Internet via > Verizon DSL PPPoE using ppp(8) + ng_pppoe(4) in -ddial mode. Works > great, no problems connecting via PPPoE and using the Internet. For > the most part the connection is quite stable, relatively speaking (it's > been connected in excess of 40 days at a time). > > Anyway, there are times when the PPPoE connection appears to drop, but > the client isn't notified. When this happens Internet access is lost > until someone manually issues a "close" command to ppp(8). I noticed this problem under 4.3-R, though I haven't seen it since I upgraded to 4.4-R. It disappoints me to see that you've confirmed it still exists. :) While I have not diagnosed the problem, I can post to the list a simple script that I use (written by Aaron Hill) that will kill and restart ppp if two successive ping tests fail. I have cron run the script every two minutes, and it pings my next upstream hop. Of course, ppp freezing as described is not always the cause of a failed ping test, but every time it does freeze, this script will solve the problem. Let me know if you want me to post the (short) script. -- Paul. mailto:paulh@logicsquad.net mailto:paul.hoadley@student.adelaide.edu.au To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message