From owner-freebsd-isdn Tue Sep 12 14:26:55 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from ns.bsag.ch (ns.bsag.ch [195.246.88.210]) by hub.freebsd.org (Postfix) with ESMTP id 1496037B423 for ; Tue, 12 Sep 2000 14:26:51 -0700 (PDT) Received: (from hpr@localhost) by ns.bsag.ch (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA23932; Tue, 12 Sep 2000 23:26:41 +0200 Date: Tue, 12 Sep 2000 23:26:40 +0200 From: Hanspeter Roth Bsag To: "Roberto Nunnari, AGIE" Cc: David Hedley , freebsd-isdn@FreeBSD.ORG Subject: PPP LCP loop with Shiva Message-ID: <20000912232640.A23652@bs11.bsag.ch> References: <20000908150421.B13663@bs11.bsag.ch> <20000908153203.D13663@bs11.bsag.ch> <39B911D8.3CA871B0@agie.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <39B911D8.3CA871B0@agie.ch>; from roberto.Nunnari@agie.ch on Fri, Sep 08, 2000 at 05:20:41PM +0100 Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, Sep 08, 2000 at 05:20:41PM +0100, Roberto Nunnari, AGIE wrote: > Hanspeter Roth Bsag wrote: > > > > 08.09.2000 15:21:59 DBG entry 0: usrdeviceunit = 0 > > 08.09.2000 15:21:59 DBG entry 0: usrdeviceunit = 1 > > Why do you have two usrdeviceunit definitions? > If you want to use rbch0 you should have usrdeviceunit=0 > If you want to use both rbch0 and rbch1 you should have > a second entry in your isdnd.rc and there set > usrdeviceunit=1 Ok. I have now only set usrdeviceunit=1 in a single entry in isdnd.rc. In ppp.conf I have `set device /dev/i4brbch1'. With this configuration I get the carrier and link establishment begins. To have both devices i4brbch0 and i4brbch1 probably requires two entries in isdnd.rc with usrdeviceunit =0 and =1 respectively. The next problem I encounter is a matter of negotiation. After ppp can agree on some parameters the remote router rejects Chap after it first had agreed. Then ppp resends a config request with all parameters it sent at the beginning. This results in a loop. tun0: LCP: deflink: SendConfigReq(21) state = Req-Sent tun0: LCP: MRU[4] 1522 tun0: LCP: MAGICNUM[6] 0x1cb3c8d8 tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) # config request sent by ppp tun0: LCP: deflink: RecvConfigReq(5) state = Req-Sent tun0: LCP: MRU[4] 1522 tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) tun0: LCP: MAGICNUM[6] 0xa62854c8 tun0: LCP: ENDDISC[9] MAC 00:80:d3:56:c9:50 # config request from Shiva tun0: LCP: deflink: SendConfigAck(5) state = Req-Sent tun0: LCP: MRU[4] 1522 tun0: LCP: ACCMAP[6] 0x00000000 tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) tun0: LCP: MAGICNUM[6] 0xa62854c8 tun0: LCP: ENDDISC[9] MAC 00:80:d3:56:c9:50 tun0: LCP: deflink: State change Req-Sent --> Ack-Sent # ppp seems to agree with the remote Shiva tun0: LCP: deflink: RecvConfigRej(21) state = Ack-Sent tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) # But the Shiva now seems to complain about Chap. tun0: LCP: deflink: SendConfigReq(22) state = Ack-Sent tun0: LCP: MRU[4] 1522 tun0: LCP: MAGICNUM[6] 0x1cb3c8d8 tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) # ppp resends the request it sent at the beginning. tun0: LCP: deflink: RecvConfigRej(22) state = Ack-Sent tun0: LCP: AUTHPROTO[5] 0xc223 (CHAP 0x05) # The Shiva complains again... What can be done to please the remote Shiva? -Hanspeter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message