Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 06 Sep 1997 11:09:34 +0100
From:      Brian Somers <brian@awfulhak.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        doconnor@ist.flinders.edu.au, freebsd-hackers@FreeBSD.ORG
Subject:   Re: IJPPP Weirdness... 
Message-ID:  <199709061009.LAA12119@awfulhak.demon.co.uk>
In-Reply-To: Your message of "Sat, 06 Sep 1997 14:09:42 %2B0930." <19970906140942.40187@lemis.com> 

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?

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 <brian@awfulhak.org>, <brian@freebsd.org>
      <http://www.awfulhak.org>;
Don't _EVER_ lose your sense of humour....





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