Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 2c6ce085438689f44baede7f9cdc7464 > files > 27

isdn4k-utils-doc-3.2p3-31mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
 <TITLE>FAQ for isdn4linux: config: General information about Configuration </TITLE>
 <LINK HREF="i4lfaq-7.html" REL=next>
 <LINK HREF="i4lfaq-5.html" REL=previous>
 <LINK HREF="i4lfaq.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="i4lfaq-7.html">Next</A>
<A HREF="i4lfaq-5.html">Previous</A>
<A HREF="i4lfaq.html#toc6">Contents</A>
<HR>
<H2><A NAME="config"></A> <A NAME="s6">6.</A> <A HREF="i4lfaq.html#toc6">config: General information about Configuration </A></H2>

<H2><A NAME="config_msn"></A> <A NAME="ss6.1">6.1</A> <A HREF="i4lfaq.html#toc6.1">config_msn: How should I set up isdn4linux with my MSNs? </A>
</H2>

<P>See section 
<A HREF="i4lfaq-8.html#msn">msn</A>.</P>

<H2><A NAME="config_hardware"></A> <A NAME="ss6.2">6.2</A> <A HREF="i4lfaq.html#toc6.2">config_hardware: How should I configure my hardware? Is there something special I should know about my ISDN card? </A>
</H2>

<P>Have a look in section 
<A HREF="i4lfaq-5.html#hardware">hardware</A>.</P>

<H2><A NAME="config_dialout"></A> <A NAME="ss6.3">6.3</A> <A HREF="i4lfaq.html#toc6.3">config_dialout: How should I configure dialout? </A>
</H2>

<P>See section 
<A HREF="i4lfaq-10.html#dialout">dialout</A>.</P>

<H2><A NAME="config_dialin"></A> <A NAME="ss6.4">6.4</A> <A HREF="i4lfaq.html#toc6.4">config_dialin: How should I configure dialin? </A>
</H2>

<P>See section 
<A HREF="i4lfaq-21.html#dialin">dialin</A>.</P>

<H2><A NAME="config_suse"></A> <A NAME="ss6.5">6.5</A> <A HREF="i4lfaq.html#toc6.5">config_suse: I can not select my card in yast? </A>
</H2>

<P>If you have a SuSE distribution, and you can not find your card in yast,
then select card <CODE>generic</CODE> and enter the exact parameters in the
special case line, like: <CODE>type=27 protocol=2</CODE> for Fritz!PCI and
Euro ISDN. Get a newer kernel if the desired type is not yet supported.</P>

<H2><A NAME="config_pnp"></A> <A NAME="ss6.6">6.6</A> <A HREF="i4lfaq.html#toc6.6">config_pnp: How do I configure a PNP (Plug and Play) card? </A>
</H2>

<P>For PCI cards Plug and Play works automatically, they don't need any manual
configuration if the correct card type is provided. ISA PNP cards will
require some manual configuration:
<OL>
<LI>With &quot;make menuconfig&quot; (or &quot;make config&quot;) set the
following kernel options:
<UL>
<LI>ISDN = &quot;M&quot; (as module - otherwise PNP doesn't work!)</LI>
<LI>HiSax = &quot;M&quot; (as module - otherwise PNP doesn't work!)</LI>
<LI>16.3/PNP support</LI>
<LI>EURO support</LI>
</UL>
</LI>
<LI>Compile and install kernel and modules, depmod. (Reboot!)</LI>
<LI>Read the configuration of the PNP card with:
<HR>
<PRE>
pnpdump -c &gt; /etc/isapnp.conf
</PRE>
<HR>
</LI>
<LI>Verify whether pnpdump has prepared the configuration file
<CODE>/etc/isapnp.conf</CODE> properly:
<UL>
<LI>INT0 - the interrupt used by the card (Default for Teles 16.3 PNP: 10).
Make sure that interrupt 3 and 4 are not used, since they are reserved for
the serial interface (which, unfortunately, the serial driver may have
forgotten to reserve).</LI>
<LI>IO0, IO1 - the IO ports used by the card (Default for Teles 16.3 PNP:
0x580 and 0x180) (Attention: these values must be 64-bit aligned (ending with
0, 4, 8, or c)! Early versions of the PNP cards may suggest incorrect values!)</LI>
<LI>Comment removed in front of ACT Y!</LI>
</UL>
</LI>
<LI>Activate the configuration with:
<HR>
<PRE>
isapnp /etc/isapnp.conf
</PRE>
<HR>
 (must be started at every boot)</LI>
<LI>Now the HiSax module can be started for Euro-ISDN with:
<HR>
<PRE>
modprobe hisax io=4,2,INT,IO0,IO1
</PRE>
<HR>

(Replace INT, IO0, and IO1 with your values in isapnp.conf.)</LI>
</OL>
</P>

<H2><A NAME="config_startstop"></A> <A NAME="ss6.7">6.7</A> <A HREF="i4lfaq.html#toc6.7">config_startstop: How can I start and stop the ISDN configuration? </A>
</H2>

<P>There are several options:
<UL>
<LI> Reboot: rebooting your computer always works. If you compiled i4l into
the kernel, then this is actually your only chance. The remaining options
only work if you configure i4l using modules.</LI>
<LI> Manual: Unload the modules used by i4l with rmmod, then reload them with
modprobe.</LI>
<LI> Runlevel: use telinit to switch to a runlevel which does not contain
ISDN, then switch back to the original runlevel. </LI>
<LI> Scripts: most distributions come with start/stop scripts.
For example, on a Suse 7.0 distribution, this will stop ISDN:
<HR>
<PRE>
rcroute stop
rci4l stop
rci4l_hardware stop
</PRE>
<HR>

This will restart ISDN:
<HR>
<PRE>
rci4l_hardware start
rci4l start
rcroute start
</PRE>
<HR>
</LI>
</UL>
</P>

<H2><A NAME="config_kerneld"></A> <A NAME="ss6.8">6.8</A> <A HREF="i4lfaq.html#toc6.8">config_kerneld: Why shouldn't I use <EM>kerneld</EM> to load the ISDN modules in the kernel as needed? </A>
</H2>

<P><EM>kerneld</EM> does not work well with the ISDN modules, since the ISDN
modules can not store their status, and could miss important messages on the
D channel. Newer versions of i4l ensure that they won't be unloaded by
kerneld, but you should not try to use kerneld with any version of i4l.</P>

<H2><A NAME="config_runlevel"></A> <A NAME="ss6.9">6.9</A> <A HREF="i4lfaq.html#toc6.9">config_runlevel: How can I boot Linux sometimes with ISDN, and sometimes without? </A>
</H2>

<P>Yes, you can define two different run level for this (under SysVInit) in
<CODE>/etc/inittab</CODE>. One run level includes the ISDN processes, where the
other one does not.</P>

<H2><A NAME="config_manycards"></A> <A NAME="ss6.10">6.10</A> <A HREF="i4lfaq.html#toc6.10">config_manycards: How do I configure more than 1 ISDN card? </A>
</H2>

<P>There are some specialities for configuration of more than 1 card:
<UL>
<LI>You have to start a driver for every type of card you have, with the
correct configuration arguments.</LI>
<LI>To handle more than 1 card with the same driver (e.g. HiSax should
handle an ELSA and an ASUS card), you have to pass the configuration arguments
for all cards to this driver. Please note, that you'll have to use modules
for more than two cards, to pass all arguments. As an example, you can
load HiSax for two Sedlbauer cards with the following command:
<HR>
<PRE>
modprobe -v hisax protocol=2,2 type=28,28
</PRE>
<HR>
</LI>
<LI>Dialin of many people at the same time: have a look at question
<A HREF="i4lfaq-21.html#dialin_manyparallel">dialin_manyparallel</A>.</LI>
<LI>Dialout through several cards: have a look at question
<A HREF="i4lfaq-10.html#dialout_manycards">dialout_manycards</A>.</LI>
</UL>
</P>

<H2><A NAME="config_manychannels"></A> <A NAME="ss6.11">6.11</A> <A HREF="i4lfaq.html#toc6.11">config_manychannels: How can I increase i4l's maximum number of channels? </A>
</H2>

<P>Increase the parameter ISDN_MAX_CHANNELS in
<CODE>/usr/src/linux/include/linux/isdn.h</CODE> and rebuild the isdn stuff. Don't
forget to create the additional devices with makedev.sh (part of isdn4k-utils)
or by hand.</P>

<H2><A NAME="config_gsmv110"></A> <A NAME="ss6.12">6.12</A> <A HREF="i4lfaq.html#toc6.12">config_gsmv110: How do I connect my PalmPilot via GSM over V.110 to my computer? </A>
</H2>

<P>A connection via GSM will first go to the GSM provider via a special air
transmission protocol. To forwarding the data on to an analog or ISDN
line, an adapter called IWF (interworking function) has to translate this
into the analog or ISDN specific transmission protocol. Which analog or
ISDN transmission protocol is being used depends on how the mobile phone
requests its GSM connection.
An analog connection is not very attractive due to the lengthy modem
handshaking on dialin. For ISDN, HDLC and X.75 are currently not supported
by the IWF, so the choices are down to V.110 and V.120.
V.120 has better flow control and error correction, but currently isdn4linux
only supports V.110.</P>
<P>On the dialup server set up async PPP with a normal pppd on a ttyI* device
(sync ppp will not work). Additionally to setting the msn, you have to set
V.110 and the transmission rate to 9600 with <CODE>AT&amp;R9600</CODE>
(<CODE>/usr/src/linux/Documentation/isdn/README</CODE> gives more details on
the V.110 bitrate adaption for this command).
Switch off autoanswer with <CODE>ATS0=0</CODE> if you use mgetty.
pppd needs to be called with <CODE>noccp</CODE> and <CODE>require-pap</CODE>.</P>
<P>On the GSM mobile phone side, request an ISDN V.110 connection with the
command
<HR>
<PRE>
AT+CBST=71,0,1+CHSN=1,0,0,0
</PRE>
<HR>

For a Nokia 7110, you may have to use the undocumented command
<HR>
<PRE>
AT+CBST=75,0,1
</PRE>
<HR>
</P>
<P>If the bearer capability is reported as &quot;88 90 21 48 06 bb&quot; by
isdn4linux, then you have set it correctly (88 90 21 means V.110, 48 means
ASYNC 9.6kbit, 06 means flowcontrol RX/TX, bb means 8 bit 1 stop none parity).</P>
<P>If the call is indicated with service indicator byte 2 = 0 and not accepted
(happens with some wrongly configured PBX), then adjust with <CODE>ATS19=0</CODE>.</P>
<P>A higher bandwidth of 19.2kbit (HSCSD) could be requested with the command
<HR>
<PRE>
AT+CBST=81,0,1+CHSN=3,0,0,0
</PRE>
<HR>

but you can not be sure that your GSM provider will really use this rate.
Configure your dialin server accordingly. </P>
<P>For a mini-howto see:
<A HREF="http://www.oltom.com/Linux/Docs/GSM%20over%20V.110%20Mini-HOWTO.txt">http://www.oltom.com/Linux/Docs/GSM%20over%20V.110%20Mini-HOWTO.txt</A></P>


<H2><A NAME="config_h323"></A> <A NAME="ss6.13">6.13</A> <A HREF="i4lfaq.html#toc6.13">config_h323: How do I configure isdn4linux to act as a voice-over-ip gateway for H.323 clients? </A>
</H2>

<P>You have to install the Linux H.323 - ISDN Gateway, which can be found on
<A HREF="http://www.telos.de/linux/H323/">http://www.telos.de/linux/H323/</A>.</P>
<P>Please note that not all sound cards support full duplex audio. Depending
on your hardware you may end up with uni-directional voice.</P>

<H2><A NAME="config_point2point"></A> <A NAME="ss6.14">6.14</A> <A HREF="i4lfaq.html#toc6.14">config_point2point: How do I configure a point-to-point connection? </A>
</H2>

<P>First of all, the point-to-point connection will only work for one single
device connected to it - therefore nothing else but your ISDN card may
be attached to it. You can switch HiSax into point-to-point mode:
<HR>
<PRE>
hisaxctrl &lt;driver_id&gt; 7 1
</PRE>
<HR>

Additionally, you can use the &quot;AT&amp;Lxxx$dquot; command to
configure the range of telephone numbers isdn4linux should be listening
to on the ttyI* devices.</P>
<P>If you really absolutely want to run your ISDN card for read-only purposes
in parallel to your pbx on a point-to-point connection, then you have
to disconnect the RX leads (pin 3 and 6 on western plug), so that the NTBA
will not see the ISDN card. In this case configure HiSax normally, NOT in
point-to-point mode.</P>

<H2><A NAME="config_links"></A> <A NAME="ss6.15">6.15</A> <A HREF="i4lfaq.html#toc6.15">config_links: What helpful links are there about isdn4linux? </A>
</H2>

<P>These are helpful links that are currently available on how to configure
isdn4linux:
<UL>
<LI>English: 
<A HREF="http://www.wurtel.demon.nl/i4l-howto-uk.html">http://www.wurtel.demon.nl/i4l-howto-uk.html</A></LI>
<LI>German: 
<A HREF="http://www.franken.de/users/klaus/">http://www.franken.de/users/klaus/</A></LI>
<LI>French: 
<A HREF="http://www.linux-france.org/article/connex/ISDN/">http://www.linux-france.org/article/connex/ISDN/</A>
and 
<A HREF="http://www.linux-france.org/prj/inetdoc/guides/rnis/">http://www.linux-france.org/prj/inetdoc/guides/rnis/</A></LI>
<LI>Suse Support database:
<A HREF="http://sdb.suse.de/sdb/en/html/index.html">http://sdb.suse.de/sdb/en/html/index.html</A>; there is also an ISDN
howto (isdn.html) and a ISDN quick-install guide (isdnquick.html).</LI>
<LI>Tips to configure Suse (and about offline reading):
<A HREF="http://www.schlenn.de/isdn4linux/">http://www.schlenn.de/isdn4linux/</A></LI>
<LI>Tips to configure Red Hat:
<A HREF="http://www.webideal.de/rh-isdn/">http://www.webideal.de/rh-isdn/</A></LI>
<LI>Tips to configure Mandrake:
<A HREF="http://www.mandrakeuser.org/connect/cisdn.html">http://www.mandrakeuser.org/connect/cisdn.html</A></LI>
<LI>fli4l, a prepackaged Linux version to use an old PC as ISDN router:
<A HREF="http://www.fli4l.de">http://www.fli4l.de</A> (great!)</LI>
<LI>Scripts and installation tips from several people:
<CODE>
<A HREF="http://www.rosat.mpe-garching.mpg.de/~web/ISDN.html">http://www.rosat.mpe-garching.mpg.de/~web/ISDN.html</A></CODE></LI>
<LI>Documentation on abc extensions:
<CODE>
<A HREF="http://i4l.mediatronix.de/">http://i4l.mediatronix.de/</A></CODE></LI>
<LI>Installation of CAPI4LINUX, CAPI4LINUX, and CAPI4Hylafax (in German):
<CODE>
<A HREF="http://ixi.thepenguin.de">http://ixi.thepenguin.de</A></CODE> or
<CODE>
<A HREF="http://capi4linux.thepenguin.de">http://capi4linux.thepenguin.de</A></CODE> or
<CODE>
<A HREF="http://www.thepenguin.de">http://www.thepenguin.de</A></CODE></LI>
<LI>Vbox development:
<CODE>
<A HREF="http://innominate.org/projects/vbox/index.php3">http://innominate.org/projects/vbox/index.php3</A></CODE></LI>
<LI>Michael Hipp's page (general informations):
<CODE>
<A HREF="http://www-ti.informatik.uni-tuebingen.de/~hippm/isdn.html">http://www-ti.informatik.uni-tuebingen.de/~hippm/isdn.html</A></CODE></LI>
<LI>Chargeint tips:
<CODE>
<A HREF="http://www.auf-der-er.de/chargeint.html">http://www.auf-der-er.de/chargeint.html</A></CODE></LI>
<LI>Homepage of kisdn (only works with Qt/KDE):
<CODE>
<A HREF="http://www.millenniumx.de/kisdn.html">http://www.millenniumx.de/kisdn.html</A></CODE></LI>
<LI>Configuration not only for UK (follow link to Linux Setup):
<CODE>
<A HREF="http://www.oakhaven-consultants.co.uk">http://www.oakhaven-consultants.co.uk</A></CODE></LI>
<LI>Configuration software maKs for Ackermann Euracom (not isdn4linux related):
<CODE>
<A HREF="http://www.ganzfix.de">http://www.ganzfix.de</A></CODE></LI>
</UL>
</P>



<HR>
<A HREF="i4lfaq-7.html">Next</A>
<A HREF="i4lfaq-5.html">Previous</A>
<A HREF="i4lfaq.html#toc6">Contents</A>
</BODY>
</HTML>