Skip site navigation (1)Skip section navigation (2)
Date:      26 Dec 1999 12:09:27 +0100
From:      "Robin S. Socha" <robin@socha.net>
To:        FreeBSD ISDN <freebsd-isdn@FreeBSD.ORG>
Subject:   Re: AVM Fritz! PCI - carrier loss?
Message-ID:  <deathsquad.m3so0qarh4.fsf@socha.net>
In-Reply-To: Udo Schweigert's message of "Sun, 26 Dec 1999 09:17:52 %2B0100"
References:  <deathsquad.m3zouy16vx.fsf@socha.net> <19991226091752.A27229@alaska.cert.siemens.de>

next in thread | previous in thread | raw e-mail | index | archive | help
* Udo Schweigert <ust@cert.siemens.de> writes:
> On Sun, Dec 26, 1999 at 08:46:42 +0100, Robin S. Socha wrote:

>> | Dec 25 20:58:14 deathstar /kernel: isp0: lcp parse opt values: auth-proto [mine pap != his chap] magic 0x996a20e3 send conf-nak

> It seems your counterpart want's chap but you choose pap.

Sorry to say that, but it works with pap under Linux. However, using
chap with i4b doesn't seem to work, either:

,----
| Dec 25 17:52:57 deathstar isdnd[1010]: DMN i4b isdn daemon started (pid = 1010)
| Dec 25 17:53:03 deathstar /kernel: isp0: lcp open(initial)
| Dec 25 17:53:03 deathstar /kernel: isp0: phase establish
| Dec 25 17:53:05 deathstar /kernel: i4b-L2-i4b_T202_timeout: unit 0, N202 = 3
| Dec 25 17:53:05 deathstar /kernel: i4b: unit 0, assigned TEI = 94 = 0x5e
| Dec 25 17:53:08 deathstar /kernel: isp0: Up event
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp up(starting)
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp output <conf-req id=
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp input(req-sent): <conf-req id=
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp parse opts:  auth-proto  magic 
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp parse opt values:  auth-proto  magic 0x6d763b54  send conf-ack
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp output <conf-ack 
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp input(ack-sent): <conf-ack 
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp tlu
| Dec 25 17:53:08 deathstar /kernel: isp0: phase authenticate
| Dec 25 17:53:08 deathstar /kernel: isp0: chap output <challenge 
| Dec 25 17:53:08 deathstar /kernel: isp0: chap input <challenge 
| Dec 25 17:53:08 deathstar /kernel: isp0: chap output <response 
| Dec 25 17:53:08 deathstar /kernel: isp0: chap success
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp input(opened): <term-req id=0xa len=4>
| Dec 25 17:53:08 deathstar /kernel: isp0: phase terminate
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp send terminate-ack
| Dec 25 17:53:08 deathstar /kernel: isp0: lcp output <term-ack id=0xa len=4>
| Dec 25 17:53:09 deathstar /kernel: isp0: lcp down(stopping)
| Dec 25 17:53:09 deathstar /kernel: isp0: Down event (carrier loss)
| Dec 25 17:53:09 deathstar /kernel: isp0: lcp close(starting)
| Dec 25 17:53:09 deathstar /kernel: isp0: phase dead
`----

I basically do the following in rc.isdn (not sure about the 

,----
| ifconfig isp0 link1 0.0.0.0 0.0.0.1 netmask 0xffffff00 debug
| ifconfig isp0 down
| spppcontrol isp0 authproto=chap myauthname=YYY myauthsecret='XXX' callin hisauthname=mash 
| /usr/sbin/isdnd  -d0xf9 -f -b  -t cons25
| ifconfig isp0 up
| route add default -interface isp0
`----

My isdnd.rc looks like this:

,----
| system
| acctall         = on                    # generate info for everything
| acctfile        = /var/log/isdnd.acct   # name & location of accounting file
| useacctfile     = yes                   # generate accouting info to file
| mailer          = /usr/bin/mail
| mailto          = root
| ratesfile       = /etc/isdn/isdnd.rates.D # name & location of rates file
| rtprio          = 25                    # modify isdnd's process priority
| 
| entry
| name                    = I4BPPP
| usrdevicename           = isp   
| usrdeviceunit           = 0
| isdncontroller          = 0
| isdnchannel             = -1
| local-phone-incoming    = 31
| remote-phone-incoming   = *
| local-phone-dialout     = 44739XXX
| remote-phone-dialout    = 03044XXX
| remdial-handling        = first
| dialin-reaction         = ignore
| dialout-type            = normal
| b1protocol              = hdlc
| idletime-incoming       = 20
| idletime-outgoing       = 30
| ratetype                = 0  
| unitlength              = 90
| unitlengthsrc           = aocd
| dialretries             = 3
| dialrandincr            = on
| recoverytime            = 25
| usedown                 = off
| downtries               = 2
| downtime                = 30
`----

Off for yet another reboot - this "hisauthproto=none" I haven't tried.

Thanks for your time,
Robin
-- 
Robin S. Socha <http://socha.net/>;


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?deathsquad.m3so0qarh4.fsf>