Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2000 20:06:15 +0000
From:      Brian Somers <brian@Awfulhak.org>
To:        Robert Eckardt <Robert.Eckardt@aranea.de>
Cc:        Brian Somers <brian@Awfulhak.org>, isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org, brian@hak.lan.Awfulhak.org
Subject:   Re: isdnd with PPP 
Message-ID:  <200003112006.UAA12749@hak.lan.Awfulhak.org>
In-Reply-To: Message from Robert Eckardt <Robert.Eckardt@aranea.de>  of "Sat, 11 Mar 2000 20:06:58 %2B0100." <200003111906.UAA00828@aranea.de> 

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

It would be interesting to see the LCP conversation.  I'll bet the 
peer agreed to use ``auth'' callback and then tried to play ``cbcp'' !
Changing the ``set callback'' to just ``cbcp'' may help.

> Thanks again,
> Robert
> 
> 
> -- 
>     Dr. Robert Eckardt          Robert.Eckardt@Robert-Eckardt.de

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !




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?200003112006.UAA12749>