!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/share/doc/isdn4k-utils-3.2/   drwxr-xr-x
Free 3.78 GB of 27.03 GB (14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     i4lfaq-6.html (16.26 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
FAQ for isdn4linux: config: General information about Configuration Next Previous Contents

6. config: General information about Configuration

6.1 config_msn: How should I set up isdn4linux with my MSNs?

See section msn.

6.2 config_hardware: How should I configure my hardware? Is there something special I should know about my ISDN card?

Have a look in section hardware.

6.3 config_dialout: How should I configure dialout?

See section dialout.

6.4 config_dialin: How should I configure dialin?

See section dialin.

6.5 config_suse: I can not select my card in yast?

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

6.6 config_pnp: How do I configure a PNP (Plug and Play) card?

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:

  1. With "make menuconfig" (or "make config") set the following kernel options:
    • ISDN = "M" (as module - otherwise PNP doesn't work!)
    • HiSax = "M" (as module - otherwise PNP doesn't work!)
    • 16.3/PNP support
    • EURO support
  2. Compile and install kernel and modules, depmod. (Reboot!)
  3. Read the configuration of the PNP card with:
    pnpdump -c > /etc/isapnp.conf
    

  4. Verify whether pnpdump has prepared the configuration file /etc/isapnp.conf properly:
    • 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).
    • 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!)
    • Comment removed in front of ACT Y!
  5. Activate the configuration with:
    isapnp /etc/isapnp.conf
    

    (must be started at every boot)
  6. Now the HiSax module can be started for Euro-ISDN with:
    modprobe hisax io=4,2,INT,IO0,IO1
    

    (Replace INT, IO0, and IO1 with your values in isapnp.conf.)

6.7 config_startstop: How can I start and stop the ISDN configuration?

There are several options:

  • 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.
  • Manual: Unload the modules used by i4l with rmmod, then reload them with modprobe.
  • Runlevel: use telinit to switch to a runlevel which does not contain ISDN, then switch back to the original runlevel.
  • Scripts: most distributions come with start/stop scripts. For example, on a Suse 7.0 distribution, this will stop ISDN:
    rcroute stop
    rci4l stop
    rci4l_hardware stop
    

    This will restart ISDN:
    rci4l_hardware start
    rci4l start
    rcroute start
    

6.8 config_kerneld: Why shouldn't I use kerneld to load the ISDN modules in the kernel as needed?

kerneld 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.

6.9 config_runlevel: How can I boot Linux sometimes with ISDN, and sometimes without?

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

6.10 config_manycards: How do I configure more than 1 ISDN card?

There are some specialities for configuration of more than 1 card:

  • You have to start a driver for every type of card you have, with the correct configuration arguments.
  • 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:
    modprobe -v hisax protocol=2,2 type=28,28
    

  • Dialin of many people at the same time: have a look at question dialin_manyparallel.
  • Dialout through several cards: have a look at question dialout_manycards.

6.11 config_manychannels: How can I increase i4l's maximum number of channels?

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

6.12 config_gsmv110: How do I connect my PalmPilot via GSM over V.110 to my computer?

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.

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 AT&R9600 (/usr/src/linux/Documentation/isdn/README gives more details on the V.110 bitrate adaption for this command). Switch off autoanswer with ATS0=0 if you use mgetty. pppd needs to be called with noccp and require-pap.

On the GSM mobile phone side, request an ISDN V.110 connection with the command


AT+CBST=71,0,1+CHSN=1,0,0,0

For a Nokia 7110, you may have to use the undocumented command
AT+CBST=75,0,1

If the bearer capability is reported as "88 90 21 48 06 bb" 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).

If the call is indicated with service indicator byte 2 = 0 and not accepted (happens with some wrongly configured PBX), then adjust with ATS19=0.

A higher bandwidth of 19.2kbit (HSCSD) could be requested with the command


AT+CBST=81,0,1+CHSN=3,0,0,0

but you can not be sure that your GSM provider will really use this rate. Configure your dialin server accordingly.

For a mini-howto see: http://www.oltom.com/Linux/Docs/GSM%20over%20V.110%20Mini-HOWTO.txt

6.13 config_h323: How do I configure isdn4linux to act as a voice-over-ip gateway for H.323 clients?

You have to install the Linux H.323 - ISDN Gateway, which can be found on http://www.telos.de/linux/H323/.

Please note that not all sound cards support full duplex audio. Depending on your hardware you may end up with uni-directional voice.

6.14 config_point2point: How do I configure a point-to-point connection?

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:


hisaxctrl <driver_id> 7 1

Additionally, you can use the "AT&Lxxx$dquot; command to configure the range of telephone numbers isdn4linux should be listening to on the ttyI* devices.

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.

6.15 config_links: What helpful links are there about and around isdn4linux?

These are helpful links that are currently available on how to configure isdn4linux:

6.16 config_misdn: How should I configure the new mISDN driver, and what is so special about it?

The mISDN driver stands for modular ISDN. It is a complete rewrite of the old isdn drivers and now communicates via CAPI messages. The mISDN driver is retire the historical drivers once it is fully functional within the 2.6.x kernels. As a temporary work around the historical drivers have been ported into the early 2.6.x kernels to get isdn working, however, this will be fixed in later versions.

To start mISDN, you have to load all the following modules:

  • capi
  • mISDN_core
  • mISDN_l1
  • mISDN_l2
  • l3udss1
  • mISDN_capi
  • mISDN_isac (for isa card)
  • Hardware specific driver (e.g. hfcpci, or avmfritz)

Not all features are available. It is currently not planned to port 1TR6 (the ancient ISDN protocoll in Germany) to the new driver.

For more information on how to configure it have a look at the following website: http://rcum.uni-mb.si/~uvp00845b/

For a more general description on the mISDN driver and the future of isdn4linux you may also read the German article published in ct 3/2004. An online version is available at: http://www.heise.de/ct/04/03/182/

Please note that the current FAQ applies to old isdn drivers. mISDN may work differently than described in this FAQ. Please let me know about any amendmends for this FAQ.


Next Previous Contents

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0029 ]--