From owner-freebsd-isp Mon Aug 9 4:44:10 1999 Delivered-To: freebsd-isp@freebsd.org Received: from florence.pavilion.net (florence.pavilion.net [194.242.128.25]) by hub.freebsd.org (Postfix) with ESMTP id DE21E151DF for ; Mon, 9 Aug 1999 04:44:05 -0700 (PDT) (envelope-from joe@florence.pavilion.net) Received: (from joe@localhost) by florence.pavilion.net (8.9.3/8.8.8) id MAA79671; Mon, 9 Aug 1999 12:41:45 +0100 (BST) (envelope-from joe) Date: Mon, 9 Aug 1999 12:41:45 +0100 From: Josef Karthauser To: Rowan Crowe Cc: freebsd-isp@FreeBSD.ORG Subject: Re: problem with user level ppp, using multilink functionality Message-ID: <19990809124145.H59532@pavilion.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Rowan Crowe on Mon, Aug 09, 1999 at 09:11:24PM +1000 X-NCC-RegID: uk.pavilion Organisation: Pavilion Internet plc, 24 The Old Steine, Brighton, BN1 1EL, England Phone: +44-845-333-5000 Fax: +44-845-333-5001 Mobile: +44-403-596893 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org May be a bug in PPP. Brian is in the throws of incorporating ISDN support into PPP, and I had problems with his Saturday version. Use the one from the -STABLE branch of FreeBSD. It works fine. Joe On Mon, Aug 09, 1999 at 09:11:24PM +1000, Rowan Crowe wrote: > Hi all, > > I seem to have come across a rather serious problem, I'm not sure whether > it's something in my setup or it's a bug in ppp. > > I am using a very recent version downloaded today - ppp-990809.src.tar.gz. > Is this a day-to-day snapshot or have I just happened to come along when a > stable version has been released? I'm using the recent version as the one > supplied with 2.2.8R doesn't support multilink. > > Anyway, the problem is that when running as a server (started with > '/usr/sbin/ppp -direct mp'), ppp doesn't seem to exit properly when > carrier is lost. There's nothing suggesting it actually detects the loss > of CD when I pull the (line) plug on the modem, and about 3 minutes later > it complains about the lack of response to LQR packets and declares the > bundle dead. However, the ppp task associated with that serial line > doesn't exit! It's still sitting there 20 minutes later, with 'who' still > showing up the login as if the modem was still connected. Meanwhile the > dialin line is just ringing out as obviously mgetty isn't running. To > regain control I have to log in via shell and kill off the ppp process. > > This also happens if I kill -TERM the originating ppp (I presume this is a > graceful shutdown, with the originating end politely reporting it's about > to disconnect): > > 13285 ?? Is 0:00.01 /usr/sbin/ppp -direct mp > 14815 ?? Ss 0:00.10 /usr/sbin/ppp -direct mp > > System at both ends is running 2.2.8-RELEASE, here are the basic config > files... > > <<<>>> 'ppp -auto mp' > > mp: > set timeout 0 > set log phase chat > set dial "ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 \ > \"\" ATZ OK ATDT\\T TIMEOUT 45 CONNECT \"\" ogin: sbruns word: 12345" > set redial 30+30-20 0 > set reconnect 30 5 > set login > set ifaddr 203.20.114.195/0 10.0.0.2/0 > set authname ppp > set authkey ppppassword > set mrru 1500 > set enddisc label > > enable lqr > accept lqr > > clone 1,2 > link deflink remove > link 1,2 set mode ddial > link 1 set phone "93291234" > link 2 set phone "93291234" > link 1 set device /dev/cuaa1 > link 2 set device /dev/cuaa2 > link 1 set speed 115200 > link 2 set speed 115200 > > > <<<>>> 'ppp -direct mp' from shell script run after normal login > > mp: > allow user sbruns > allow mode direct > set openmode active > set timeout 0 > set log phase chat > open > > set login > set ifaddr 203.20.114.32/0 10.0.0.2/0 > set authname ppp > set authkey ppppassword > set mrru 1500 > set enddisc label > > enable lqr > accept lqr > > clone 1,2 > link deflink remove > > > Note that I'm generally unfamiliar with user level PPP, so the basic > config is from the man page and I haven't started tweaking things yet. I > haven't bothered to set up PAP/CHAP because the chat script logs in via > the login/Password prompt before starting up ppp. > > Thanks for any help. :-( > > Cheers. > > > -- > Rowan Crowe http://www.rowan.sensation.net.au/ > Sensation Internet Services http://www.sensation.net.au/ > Melbourne, Australia Phone: +61-3-9388-9260 > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- Josef Karthauser FreeBSD: How many times have you booted today? Technical Manager Viagra for your server (http://www.uk.freebsd.org) Pavilion Internet plc. [joe@pavilion.net, joe@uk.freebsd.org, joe@tao.org.uk] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message