From owner-freebsd-isdn Sat Mar 11 11: 7:10 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from aranea.de (dialin46.niederdorfelden.aranea.net [212.101.36.46]) by hub.freebsd.org (Postfix) with ESMTP id 39DB737BCED for ; Sat, 11 Mar 2000 11:07:05 -0800 (PST) (envelope-from Robert.Eckardt@aranea.de) Received: (from roberte@localhost) by aranea.de (8.9.3/8.9.3) id UAA00828; Sat, 11 Mar 2000 20:06:58 +0100 (CET) (envelope-from roberte) From: Robert Eckardt Message-Id: <200003111906.UAA00828@aranea.de> Subject: Re: isdnd with PPP In-Reply-To: <200003111419.OAA10972@hak.lan.Awfulhak.org> from Brian Somers at "Mar 11, 2000 02:19:50 pm" To: Brian Somers Date: Sat, 11 Mar 2000 20:06:58 +0100 (CET) Cc: Robert Eckardt , isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org It was Brian Somers who wrote: > > Hello, > [.....] > Check your ppp log to ensure that ppp is i4b enabled - you should see > a line in ppp.log identifying the i4b version number when the device is > opened. > > If it is, you'll need to check the isdnd logs, if it isn't you'll > need to rebuild ppp. That was it. I had to rebuild ppp. (Of course, the Makefile said NOI4B=TRUE. :-) Now it connects, gets authenticated, ... but never called back. It seems that the other side has different opinions on how to proceed than ppp: Mar 11 19:50:51 ghost ppp[791]: tun0: LCP: deflink: RecvEchoReply(0) state = Opened Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: mbuf_Dequeue: queue len = 1 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: link_Dequeue: Dequeued from queue 1, containing 0 more packets Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: deflink: DescriptorWrite: wrote 32(32) to 2 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: deflink: DescriptorRead: read 8/2048 from 2 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: proto_LayerPull: unknown -> 0xc223 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: link_PullPacket: Despatch proto 0xc223 Mar 11 19:50:51 ghost ppp[791]: tun0: Phase: Chap Input: SUCCESS Mar 11 19:50:51 ghost ppp[791]: tun0: Phase: deflink: Shutdown and await peer callback Mar 11 19:50:51 ghost ppp[791]: tun0: LCP: deflink: LayerDown Mar 11 19:50:51 ghost ppp[791]: tun0: LCP: deflink: SendTerminateReq(3) state = Opened Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: fsm_Output Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: 05 03 00 04 .... Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: proto_LayerPush: Using 0xc021 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: link_PushPacket: Transmit proto 0xc021 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: mbuf_Enqueue: len = 1 Mar 11 19:50:51 ghost ppp[791]: tun0: LCP: deflink: State change Opened --> Closing Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: deflink: DescriptorRead: read 20/2048 from 2 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: proto_LayerPull: unknown -> 0x8021 Mar 11 19:50:51 ghost ppp[791]: tun0: Debug: link_PullPacket: Despatch proto 0x8021 Mar 11 19:50:51 ghost ppp[791]: tun0: IPCP: deflink: Error: Unexpected IPCP in phase Authenticate (ignored) Does the shutdown come too early? (directly after 'Chap Input: SUCCESS') Does the remote server want to continue to negotiate IP adresses? ('Unexpected IPCP in phase Authenticate') My ppp-entry reads: set log Phase Chat LCP IPCP CCP tun command debug cbcp set device /dev/i4brbch0 set phone REMOTENUMBER set dial set login set hangup set authname XXXXXXXX set authkey XXXXXXXX set callback cbcp auth e.164 MYNUMBER set cbcp MYNUMBER 7 set enddisc mac set speed sync enable lqr set lqrperiod 45 disable pred1 deflate deny pred1 deflate set timeout 60 600 set cd 10! set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Thanks again, Robert -- Dr. Robert Eckardt Robert.Eckardt@Robert-Eckardt.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message