From owner-freebsd-hackers Fri Sep 5 21:40:23 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA21101 for hackers-outgoing; Fri, 5 Sep 1997 21:40:23 -0700 (PDT) Received: from nico.telstra.net (nico.telstra.net [139.130.204.16]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id VAA21092 for ; Fri, 5 Sep 1997 21:40:19 -0700 (PDT) Received: from freebie.lemis.com (gregl1.lnk.telstra.net [139.130.136.133]) by nico.telstra.net (8.6.10/8.6.10) with ESMTP id OAA06932; Sat, 6 Sep 1997 14:39:44 +1000 Received: (grog@localhost) by freebie.lemis.com (8.8.7/8.6.12) id OAA13531; Sat, 6 Sep 1997 14:09:43 +0930 (CST) Message-ID: <19970906140942.40187@lemis.com> Date: Sat, 6 Sep 1997 14:09:42 +0930 From: Greg Lehey To: doconnor@ist.flinders.edu.au Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: IJPPP Weirdness... References: <199709060349.NAA01235@holly.rd.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <199709060349.NAA01235@holly.rd.net>; from Daniel J. O'Connor on Sat, Sep 06, 1997 at 01:19:03PM +0930 Organisation: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8250 Fax: +61-8-8388-8250 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Fight-Spam-Now: http://www.cauce.org 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? 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. 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