Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2000 23:26:40 +0200
From:      Hanspeter Roth Bsag <roth@bsag.ch>
To:        "Roberto Nunnari, AGIE" <roberto.Nunnari@agie.ch>
Cc:        David Hedley <david@inty.co.uk>, freebsd-isdn@FreeBSD.ORG
Subject:   PPP LCP loop with Shiva
Message-ID:  <20000912232640.A23652@bs11.bsag.ch>
In-Reply-To: <39B911D8.3CA871B0@agie.ch>; from roberto.Nunnari@agie.ch on Fri, Sep 08, 2000 at 05:20:41PM %2B0100
References:  <20000908150421.B13663@bs11.bsag.ch> <NEBBKDONLMHNHKCKHHAIEEAGCOAA.david@inty.net> <20000908153203.D13663@bs11.bsag.ch> <39B911D8.3CA871B0@agie.ch>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000912232640.A23652>