Date: Fri, 02 Nov 2001 04:58:32 +0000 From: Brian Somers <brian@freebsd-services.com> To: Luuk van Dijk <lvd@mndmttr.nl> Cc: freebsd-isdn@FreeBSD.ORG, brian@freebsd-services.com Subject: Re: Userland PPP with MP brings second isdn link up only once Message-ID: <200111020458.fA24wY048321@hak.lan.Awfulhak.org> In-Reply-To: Message from Luuk van Dijk <lvd@mndmttr.nl> of "Sat, 20 Oct 2001 12:33:10 %2B0200." <3BD152E5.80891CCB@mndmttr.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, Apart from a few niggles with your config (bandwidth should be 64000 rather than 65536 and the last two lines don't look indented), I don't see that there should be any problems. You could try connecting using pppctl and typing ``show timers'' to see if the autoload timer is still running after the second link has come up and down. I suspect it hasn't. Could you also try building and running the latest version of ppp from http://www.Awfulhak.org/~brian/ ? Just to ensure that nothing's changed since 4.2.... Cheers. > L.S. > > I'm using userland ppp on FreeBSD 4.2 to connect > to an Ascend Max2000 router over an ISDN-2 > line. The ascend is configured to speak MP > (rather than MPP, though I don't know the difference), > and everything works fine ... EXCEPT that the MP > negotiation to bring up the second link works only > once: > > I start ppp -auto, with no trafic, then I generate > some traffic, which results in the line being brought up > > then I generate some more traffic, causing the second > line to be brought up, then I stop the heavy traffic, > but keep some traffic running, and after the autoload > measurement delay the second line is dropped. > > So far so good. > > If I now start the heavy traffic again, saturating > the single channel, the second channel will not be opened. > > If I do this, and use pppctl to fiddle with the > autoload detection parameters , eg setting min from 30 to 29, > the second channel will be started again after the measurement delay. > > Otherwise, if stop all traffic, the line dies > after the timeout, and if the line is reopened the second channel > can be used again, but again only once. > > I turned on lots of logging & debugging options, but there is no hint as > to what might be going on. > > The userland PPP config is > > isdn: > set phone 0123456789 > set authname my-gw > set authkey ReallySecret > set enddisc psn 0987654321 > enable lqr > set reconnect 3 5 > set redial 3 10 > set lqrperiod 45 > disable pred1 deflate > deny pred1 deflate > set timeout 20 > set dial > set login > set hangup > set device /dev/i4brbch0 /dev/i4brbch1 > set speed sync > set bandwidth 65536 > link * set cd 12 > set ifaddr 10.255.4.1/8 10.255.0.1/8 > add! default hisaddr > set mrru 1500 > clone 1,2 > link deflink rm > link * set mode auto > set autoload 30 50 10 > set server /var/run/pppctl "" 0177 > > > Apart from the fact that the Ascend is set to MP, I'm afraid I don't > have the details of its config available at the moment, nor the > logfiles. > > Any clues what to look out for would be appreciated. > > Thanks, > Luuk van Dijk -- Brian <brian@freebsd-services.com> <brian@Awfulhak.org> http://www.freebsd-services.com/ <brian@[uk.]FreeBSD.org> Don't _EVER_ lose your sense of humour ! <brian@[uk.]OpenBSD.org> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111020458.fA24wY048321>