From owner-freebsd-isdn Wed Sep 13 23: 5:17 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from Awfulhak.org (tun.AwfulHak.org [194.242.139.173]) by hub.freebsd.org (Postfix) with ESMTP id 6EDBE37B422 for ; Wed, 13 Sep 2000 23:05:07 -0700 (PDT) Received: from hak.lan.Awfulhak.org (root@hak.lan.awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.0/8.11.0) with ESMTP id e8E3dhv16428; Thu, 14 Sep 2000 04:39:43 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.0/8.11.0) with ESMTP id e8E3duH07536; Thu, 14 Sep 2000 04:39:57 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200009140339.e8E3duH07536@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Hanspeter Roth Bsag Cc: "Roberto Nunnari, AGIE" , David Hedley , freebsd-isdn@FreeBSD.org, brian@Awfulhak.org Subject: Re: PPP LCP loop with Shiva In-Reply-To: Message from Hanspeter Roth Bsag of "Tue, 12 Sep 2000 23:26:40 +0200." <20000912232640.A23652@bs11.bsag.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 Sep 2000 04:39:56 +0100 From: Brian Somers Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Is the shiva supposed to be authenticating itself to you ? If not, remove the ``enable chap'' from your config and re-read that bit of the man page. > 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 -- Brian 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