From owner-freebsd-hackers Sat Sep 6 03:24:16 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA06352 for hackers-outgoing; Sat, 6 Sep 1997 03:24:16 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA06341 for ; Sat, 6 Sep 1997 03:24:09 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id LAA12119; Sat, 6 Sep 1997 11:09:35 +0100 (BST) Message-Id: <199709061009.LAA12119@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Greg Lehey cc: doconnor@ist.flinders.edu.au, freebsd-hackers@FreeBSD.ORG Subject: Re: IJPPP Weirdness... In-reply-to: Your message of "Sat, 06 Sep 1997 14:09:42 +0930." <19970906140942.40187@lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 06 Sep 1997 11:09:34 +0100 From: Brian Somers Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > On Sat, Sep 06, 1997 at 01:19:03PM +0930, Daniel J. O'Connor wrote: > > Hi, > > I have been having some strange problems with IJPPP. > > When I run it in dial on demand mode, it works OK, except that when it times out(ie idle > > timer expires), or you clos ethe connection manually(telnet to port 3000), and make it dial > > up again, it works for about 30seconds and then hangs up again... > > > > The PPP log file looks like the following - > > 08-31 23:40:18 [258] LqrOutput: > > 08-31 23:40:18 [258] Magic: e1987f28 LastOutLQRs: 00000022 > > 08-31 23:40:18 [258] LastOutPackets: 0001b077 LastOutOctets: 04133345 > > 08-31 23:40:18 [258] PeerInLQRs: 00000022 PeerInPackets: 000003a8 > > 08-31 23:40:18 [258] PeerInDiscards: 00000000 PeerInErrors: 00000002 > > 08-31 23:40:18 [258] PeerInOctets: 00026053 PeerOutLQRs: 00000001 > > 08-31 23:40:18 [258] PeerOutPackets: 00000005 PeerOutOctets: 000000e4 > > 08-31 23:40:18 [258] Will send LQR every 30.0 secs > > 08-31 23:40:19 [258] Disconnected! > > 08-31 23:40:19 [258] Connect time: 8 secs > > 08-31 23:40:19 [258] Phase: Dead > > 08-31 23:40:19 [258] LCP: LayerDown > > 08-31 23:40:19 [258] Phase: Terminate > > 08-31 23:40:19 [258] LCP: state change Opend --> Starting > > 08-31 23:40:20 [258] ioctl error (Bad file descriptor)! > > 08-31 23:40:20 [258] Disconnected! > > 08-31 23:40:20 [258] Connect time: 9 secs > > 08-31 23:40:20 [258] Phase: Dead > > 08-31 23:40:21 [258] ioctl error (Bad file descriptor)! > > 08-31 23:40:21 [258] Disconnected! > > > > This is when it dies badly, it seems OK when it dials up the first time(ie no bad FD > > messages and the like) > > I thought it might be my provider, but they recently changed from Linux PPP dialup machines > > to CISCO's(so PRED1 works now too), and it still does it :-/ > > Any idea? Try upgrading to the version on http://www.freebsd.org/~brian. There were some file descriptor leaks that were recently fixed. Also, phk@freebsd.org fixed some uninitialized variables in the LQR stuff a while back - this is likely to be your problem. > I'm pretty sure that this is a bug, and that it's not restricted to > Adelaide :-) It happens to me, though, and I'm sort of half-heartedly > trying to track it. > > My current status is: I'm calling with CHAP authentication, on a > permanent connection, and it works fine nearly every time (modulo some > problems the ISP had with their router, which initially looked like > the same problem). If, however, the line drops, I *cannot* > reconnect. The machine tried 539 times the other night (ouch), so I > have temporarily modified ppp so it doesn't ever try to redial. > Obviously not the solution. Ah, but this is almost definitely a CHAP thing. Your ISP seems to be refusing your CHAP authentication :-( > If you want to give me a call, we can talk about it. > Greg > > -- > Greg Lehey LEMIS > grog@lemis.com PO Box 460 > Tel: +61-8-8388-8286 Echunga SA 5153 > Fax: +61-8-8388-8725 Australia -- Brian , Don't _EVER_ lose your sense of humour....