Technical data
4. Packages
the routers via network as if it was installed locally. This is similar to the package “mtgcapri”.
The difference is that only Windows systems can use “mtgcapri” as a client while the network
interface of rcapid is only supporting linux systems at the time of writing. So both packages
are ideal complements in mixed Windows- and Linux environments.
Konfiguration des Routers
OPT_RCAPID This variable activates offering of the router’s ISDN-CAPI for remote clients.
Possible values are “yes” and “no”. If set to “yes” the internet daemon inetd will start
the rcapid daemon on incoming queries on rcapid port 6000 (port my be changed using
variable RCAPID_PORT).
Example: OPT_RCAPID='yes'
RCAPID_PORT This variable holds the TCP port to be used by the rcapid daemon.
Default setting: RCAPID_PORT='6000'
Configuration Of Linux Clients
To use the remote CAPI interface on a Linux PC the modular libcapi20 library must be
used. Actual Linux distributions install such a CAPI library (i.e. Debian Wheezy). If not the
sources may be downloaded from http://ftp.de.debian.org/debian/pool/main/i/isdnutils/
isdnutils_3.25+dfsg1.orig.tar.bz2. After unpacking and changing to the directory “capi20”
the CAPI library may be compiled and installed with “./configure”, “make” and “sudo make
install” as usual. If the library is installed the configuration file /etc/capi20.conf has to be
adapted to specifiy the client on which rcapid is running. If the router for example is reached
by the name of “fli4l” the conf file will looks as follows:
REMOTE fli4l 6000
That’s all! If the program “capiinfo” is installed on the linux client (part of capi4k-utils-
package of many distributions) you can test the remote CAPI interface:
kristov@peacock ~ $ capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer: AVM Berlin
CAPI Version: 1073741824.1229996355
Manufacturer Version: 2.2-00 (808333856.1377840928)
Serial Number: 0004711
BChannels: 2
[...]
Under “Number of Controllers” the quantity of ISDN cards is displayed which are usable on
the client. If this reads “0” the connection to the rcapid program is working but the ISDN card
is not recognized on the router. If the connection to the rcapid program is not working at all
(maybe OPT_RCAPID is set to “no”) an error message “capi not installed - Connection refused
(111)” will be displayed. In this case check your configuration once more.
161










