Date: Thu, 14 Sep 2000 04:39:56 +0100 From: Brian Somers <brian@Awfulhak.org> To: Hanspeter Roth Bsag <roth@bsag.ch> Cc: "Roberto Nunnari, AGIE" <roberto.Nunnari@agie.ch>, David Hedley <david@inty.co.uk>, freebsd-isdn@FreeBSD.org, brian@Awfulhak.org Subject: Re: PPP LCP loop with Shiva Message-ID: <200009140339.e8E3duH07536@hak.lan.Awfulhak.org> In-Reply-To: Message from Hanspeter Roth Bsag <roth@bsag.ch> of "Tue, 12 Sep 2000 23:26:40 %2B0200." <20000912232640.A23652@bs11.bsag.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <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?200009140339.e8E3duH07536>