Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 1997 14:09:42 +0930
From:      Greg Lehey <grog@lemis.com>
To:        doconnor@ist.flinders.edu.au
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: IJPPP Weirdness...
Message-ID:  <19970906140942.40187@lemis.com>
In-Reply-To: <199709060349.NAA01235@holly.rd.net>; from Daniel J. O'Connor on Sat, Sep 06, 1997 at 01:19:03PM %2B0930
References:  <199709060349.NAA01235@holly.rd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970906140942.40187>