mISDNv2 + CAPI 2.0 with mISDNcapid having issue

Pawel Pastuszak <[email protected]>
Newsgroups gmane.linux.isdn.i4l.user
Message-ID <CAAc_KZA=v=_BSMy5ErhG_8-3XnUvSTD33cXPWvsVBWyU5ZHe5A@mail.gmail.com>
Hello everybody,

I having issue establishing issue connecting to an cisco data connection
here is what the error i am getting not sure if anybody can help me.

Jan  1 00:49:05 pppd[3557]: Plugin capiplugin.so loaded.
Jan  1 00:49:05 pppd[3557]: capiplugin: $Revision: 1.36 $
Jan  1 00:49:05 pppd[3557]: capiconn:  1.13
Jan  1 00:49:05 pppd[3557]: Plugin capiplugin.so loaded.
Jan  1 00:49:05 pppd[3557]: capiplugin: $Revision: 1.36 $
Jan  1 00:49:05 pppd[3557]: capiconn:  1.13
Jan  1 00:49:05 pppd[3557]: pppd 2.4.4 started by root, uid 0
Jan  1 00:49:05 pppd[3557]: capiplugin: phase serialconn.
Jan  1 00:49:05 pppd[3557]: capiplugin: contr=1
Jan  1 00:49:05 pppd[3557]: capiplugin: contr=2
Jan  1 00:49:05 pppd[3557]: controller 1: listen_change_state 0 -> 1
Jan  1 00:49:05 pppd[3557]: controller 2: listen_change_state 0 -> 1
Jan  1 00:49:05 pppd[3557]: contr 1: listenconf Info=0x0000 (No additional
information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan  1 00:49:05 pppd[3557]: controller 1: listen_change_state 1 -> 0
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x0 0 -> 1 event=1
Jan  1 00:49:05 pppd[3557]: capiplugin: dialing 4081111111 (hdlc)
Jan  1 00:49:05 pppd[3557]: contr 2: listenconf Info=0x0000 (No additional
information) infomask=0x144 cipmask=0x0 capimask2=0x0
Jan  1 00:49:05 pppd[3557]: controller 2: listen_change_state 1 -> 0
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x101 1 -> 2 event=3
Jan  1 00:49:05 kernel: [ 2916.833309] base_sock_release(f55d6c00)
sk=f4e5c000
Jan  1 00:49:05 kernel: [ 2916.833323] create_l2entity: ret 1 0
Jan  1 00:49:05 kernel: [ 2916.833327] create_l2entity: ret 2 0
Jan  1 00:49:05 kernel: [ 2916.833503] base_sock_release(f55d7500)
sk=f4e5cc00
Jan  1 00:49:05 kernel: [ 2916.833510] create_l2entity: ret 1 0
Jan  1 00:49:05 kernel: [ 2916.833512] create_l2entity: ret 2 0
Jan  1 00:49:05 pppd[3557]: DISCONNECT_IND reason 0x3303 (Protocol error
layer 3) for plci 0x101
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x101 2 -> 8 event=9
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x101 8 -> 0 event=11
Jan  1 00:49:05 pppd[3557]: capiplugin: disconnect(remote): "11" ->
"4081111111" outgoing (pcli=0x101/ncci=0x0) 0x3303 (0x0000) - Protocol
error layer 3
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x0 0 -> 1 event=1
Jan  1 00:49:05 pppd[3557]: capiplugin: dialing 4081111111 (hdlc)
Jan  1 00:49:05 pppd[3557]: plci_change_state:0x102 1 -> 2 event=3
Jan  1 00:49:12 pppd[3557]: DISCONNECT_IND reason 0x3303 (Protocol error
layer 3) for plci 0x102
Jan  1 00:49:12 pppd[3557]: plci_change_state:0x102 2 -> 8 event=9
Jan  1 00:49:12 pppd[3557]: plci_change_state:0x102 8 -> 0 event=11
Jan  1 00:49:12 pppd[3557]: capiplugin: disconnect(remote): "11" ->
"4081111111" outgoing (pcli=0x102/ncci=0x0) 0x3303 (0x0000) - Protocol
error layer 3
Jan  1 00:49:12 pppd[3557]: capiplugin: Tried all controllers available.
Starting over - status 0
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x0 0 -> 1 event=1
Jan  1 00:49:17 pppd[3557]: capiplugin: dialing 4081111111 (hdlc)
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x101 1 -> 2 event=3
Jan  1 00:49:17 pppd[3557]: DISCONNECT_IND reason 0x3303 (Protocol error
layer 3) for plci 0x101
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x101 2 -> 8 event=9
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x101 8 -> 0 event=11
Jan  1 00:49:17 pppd[3557]: capiplugin: disconnect(remote): "11" ->
"4081111111" outgoing (pcli=0x101/ncci=0x0) 0x3303 (0x0000) - Protocol
error layer 3
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x0 0 -> 1 event=1
Jan  1 00:49:17 pppd[3557]: capiplugin: dialing 4081111111 (hdlc)
Jan  1 00:49:17 pppd[3557]: plci_change_state:0x102 1 -> 2 event=3
Jan  1 00:49:24 pppd[3557]: DISCONNECT_IND reason 0x3303 (Protocol error
layer 3) for plci 0x102
Jan  1 00:49:24 pppd[3557]: plci_change_state:0x102 2 -> 8 event=9
Jan  1 00:49:24 pppd[3557]: plci_change_state:0x102 8 -> 0 event=11
Jan  1 00:49:24 pppd[3557]: capiplugin: disconnect(remote): "11" ->
"4081111111" outgoing (pcli=0x102/ncci=0x0) 0x3303 (0x0000) - Protocol
error layer 3
Jan  1 00:49:24 pppd[3557]: capiplugin: Tried all controllers available.
Starting over - status 0



Note I am using linux kernel 3.3.8 and its custom board with mISDN v2.
root@SDR:/etc/ppp/peers# lsmod |grep mISDN
mISDN_dsp             187972  0
mISDN_core             56708 14 hfcmulti,l1oip,mISDN_dsp

root@SDR:/etc/ppp/peers# lsmod |grep ppp
pppoe                   6428  0
pppox                    908  1 pppoe
ppp_synctty             3900  0
ppp_async               4956  0
ppp_generic            17036  4 pppoe,pppox,ppp_synctty,ppp_async
slhc                    3676  1 ppp_generic
crc_ccitt                892  1 ppp_async
root@SDR:/etc/ppp/peers#

 Here is the log for mISDNcapid

root@SDR:/etc/ppp/peers# cat /etc/log/mISDNcapid.log
Jan  1 00:48:56.494819 I         daemon.c:2168
main(03556):Init mISDN lib version 20005, debug = 0 (0)
Jan  1 00:48:56.494881 I         daemon.c:2180
main(03556):Did set eGID to dialout gid:102
Jan  1 00:48:56.494912 I      mc_buffer.c:  40
mc_buffer_init(03556):Setup mc buffer MI_MCBUFFER_DEBUG
Jan  1 00:48:56.534801 I         daemon.c:1930
main_loop(03556):mIControl added to idx 0
Jan  1 00:48:56.534827 I         daemon.c:1937
main_loop(03556):mIsock added to idx 1
Jan  1 00:48:56.534847 I         daemon.c:1944
main_loop(03556):mICAPItimer added to idx 2
Jan  1 00:48:56.534867 I         daemon.c:1952
main_loop(03556):mCsock added to idx 3
Jan  1 00:49:05.634887 I         daemon.c:1658
mIcapi_register(03556):register application id 1 fd=11
Jan  1 00:49:05.634990 I         daemon.c:1776
mIcapi_userflag(03556):UserFlags old=0 new=1
Jan  1 00:49:05.635132 I         daemon.c:1658
mIcapi_register(03556):register application id 2 fd=12
Jan  1 00:49:05.635189 I         daemon.c:1776
mIcapi_userflag(03556):UserFlags old=0 new=1
Jan  1 00:49:05.635769 I layer3/mlayer3.c:  98
open_layer3(03556):mISDN kernel version 1.01.21 found
Jan  1 00:49:05.635794 I layer3/mlayer3.c:  99
open_layer3(03556):mISDN user   version 1.01.31 found
Jan  1 00:49:05.635815 I layer3/mlayer3.c: 100
open_layer3(03556):mISDN library interface version 2 release 5
Jan  1 00:49:05.635974 I layer3/mlayer3.c:  98
open_layer3(03556):mISDN kernel version 1.01.21 found
Jan  1 00:49:05.635998 I layer3/mlayer3.c:  99
open_layer3(03556):mISDN user   version 1.01.31 found
Jan  1 00:49:05.636019 I layer3/mlayer3.c: 100
open_layer3(03556):mISDN library interface version 2 release 5
Jan  1 00:49:05.791911 W          lplci.c: 645
plci_parse_channel_id(03558): LPLCI0101 Appl-002 *3: Channel ID:none
Jan  1 00:49:17.951751 W          lplci.c: 645
plci_parse_channel_id(03558): LPLCI0101 Appl-002 *3: Channel ID:none
Jan  1 00:49:30.111594 W          lplci.c: 645
plci_parse_channel_id(03558): LPLCI0101 Appl-002 *3: Channel ID:none


Also here is mine /etc/capi20.conf
root@SDR:/etc/ppp/peers# cat /etc/capi20.conf
mISDN 0 1 1
mISDN 1 2 1


root@SDR:/etc/ppp/peers# cat cisco
unit 4
persist
usepeerdns
user sdr
password sdr
maxfail 0
lcp-echo-failure 6
lcp-echo-interval 5
mtu 1492
nobsdcomp
noccp
nomultilink
sync
ipcp-accept-local
ipcp-accept-remote
plugin capiplugin.so
dialmax 250
controller 1
controller1 2
msn 11
msn1 11
protocol hdlc
debug
mrru 1500
endpoint magic:4711


Any thoughts.

Thanks,
Pawel

_______________________________________________
isdn4linux mailing list
[email protected]
https://www.isdn4linux.de/mailman/listinfo/isdn4linux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.