From owner-freebsd-questions Mon Dec 10 2:17:24 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id 266A537B419; Mon, 10 Dec 2001 02:17:20 -0800 (PST) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [fec0::1:12]) by Awfulhak.org (8.11.6/8.11.6) with ESMTP id fBAAHHR43824; Mon, 10 Dec 2001 10:17:18 GMT (envelope-from brian@freebsd-services.com) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.6/8.11.6) with ESMTP id fBAAHDE85598; Mon, 10 Dec 2001 10:17:13 GMT (envelope-from brian@freebsd-services.com) Message-Id: <200112101017.fBAAHDE85598@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: "Matthew Emmerton" Cc: =?iso-8859-1?Q?Richard_=C4Oepas?= , freebsd-questions@FreeBSD.ORG, brian@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: userland ppp goes into loop after link goes down In-Reply-To: Message from "Matthew Emmerton" of "Sun, 09 Dec 2001 23:38:00 EST." <00bf01c18134$73669630$1200a8c0@gsicomp.on.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 10 Dec 2001 10:17:12 +0000 From: Brian Somers 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 Hi, This should have been fixed in -stable with usr.sbin/ppp/datalink.c revision 1.57.2.9 which was MFC'd on October 26. > Yes, I believe this is similar to a problem I was seeing a few months back. > Brian had a patch (which fixed the problem) and it was fixed in -CURRENT; > I'm not sure if it's been MFC'd yet and/or when it will make it to > a -RELEASE. > > Brian, can you confirm/deny? > > -- > Matt Emmerton > > > Hi, > > > > I'm using 'ppp' with pppoe in dedicated or ddial mode and sometimes link > goes down probably because of some problems on remote server. The problem > is that 'ppp' after that goes into dead loop and you need to kill it and > restart manually. Is it a known problem with 'ppp'? > > > > Dec 8 09:00:01 richard ppp[124]: tun0: Phase: deflink: write (1): Socket > is not connected > > Dec 8 09:00:01 richard ppp[124]: tun0: Phase: deflink: Disconnected! > > Dec 8 09:00:01 richard ppp[124]: tun0: Phase: deflink: write (1): Socket > is not connected > > Dec 8 09:00:01 richard ppp[124]: tun0: Phase: deflink: Disconnected! > > Dec 8 09:00:02 richard ppp[124]: tun0: Phase: deflink: write (1): Socket > is not connected > > Dec 8 09:00:02 richard ppp[124]: tun0: Phase: deflink: Disconnected! > > Dec 8 09:00:02 richard ppp[124]: tun0: Phase: deflink: write (1): Socket > is not connected > > Dec 8 09:00:02 richard ppp[124]: tun0: Phase: deflink: Disconnected! > > Dec 8 09:00:02 richard ppp[124]: tun0: Phase: deflink: write (1): Socket > is not connected > > > > dsl: > > set timeout 0 > > #set log All > > set device PPPoE:ed0 > > set dial > > set authname ****** > > set authkey ****** > > set ifaddr 213.190.39.245/16 0 > > set lqr > > set server /var/run/internet "" 0177 -- Brian http://www.freebsd-services.com/ 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