Capiplugin

From mISDN.org

Jump to: navigation, search

Capiplugin connects the standart pppd and your mISDN stack.


Contents

capi4k-utils & ppp

make sure you installed the capi4k-utils and pppd on your targer linux system

create pppd peer config file

create /etc/ppp/peers/isdn/<your provider>

sync
noauth
user <username>
plugin userpass.so
password <password>
defaultroute
plugin capiplugin.so
number <ISP-PHONE-NUMER>
protocol hdlc
ipcp-accept-local
ipcp-accept-remote
multilink
mrru 1500
endpoint magic:4711
/dev/null

establish a connection

# pppd call isdn/<your provider>

testing with:

ps aux | grep pppd</nowiki>|

if there's something like:

<PID> capi/0   S      0:00 pppd call isdn/arcor

then you're connected, if you get something like:

<PID> ?   S      0:00 pppd call isdn/arcor

your're not connected. Did something wrong?


channelbundeling

For Channel-bundeling you have to do the `pppd call` twice.

# pppd call isdn/<your provider>
# pppd call isdn/<your provider>

You'll get something like

<PID> capi/0   S      0:00 pppd call isdn/arcor
<PID> capi/1   S      0:00 pppd call isdn/arcor

You can kill the 2nd line by

kill -9 `ps aux | grep pppd | grep capi/1 | awk '{print $1}'`
Personal tools