Search:  
Gentoo Wiki

HOWTO_ISDN

This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc
Merge-arrows.gifIt has been suggested that this article be Merged into one article with ISDN.    (Discuss)

Contents

ISDN4LINUX

Isdn4linux is the old isdn subsystem for passive cards.

CAPI

CAPI is the COMMON-ISDN-API

How do I use CAPI with gentoo?

the capi4k-utils ebuild provides the userspace implementation for the active card kernel drivers.

There are some kerneldriver-ebuilds available:

"fritzcapi" for passive AVM ISDN cards (currently for x86 only):

  fcclassic fcpci fcpcmcia fcpnp fcusb fcusb2 fxusb fxusb_CZ e2220pc e5520pc

"fcdsl" for the AVM DSL and DSL/ISDN cards (currently for x86 only):

  fcdsl fcdsl2 fcdslsl fcdslusb fcdslslusb

"misdn" for some passive cards based on the old I4L HiSax driver:

  avmfritz hfcpci hfcmulti hfcsusb sedlfax w6692pci

"in-kernel" active card drivers and old ISDN4Linux drivers are available in your kernel source in /usr/src/linux


you need to emerge isdn-firmware to use active cards.

First edit /etc/capi.conf to match your configuration.

here an example for the AVM B1 PCI card:

  # card   file    proto   io    irq    mem   cardnr  options
  b1pci    b1.t4   DSS1    -     -      -     -

First option is the name of the kernel driver, second is the firmware file which will be uploaded to the card. All firmware files for the active AVM controllers can be found in /lib/firmware which is the location where all firmware files have to be placed.

The 'cardnr' option can be left '-' if you only have one card. Otherwise fill in the card number you want to assign to this card.

Now you can start the CAPI with

   /etc/init.d/capi start

It should show the loaded drivers/cards after the initialization. You can check the CAPI with the 'capiinfo' command.

if CAPI complains about capifs, you have to activate it in your kernel. Note: to activate capifs, you have to activate capi middleware.

So, if all runs smoothly, then fixate it

   rc-update add capi default

You can now install the package net-dialup/isdn4k-utils if you want to use all the legacy ISDN apps, such as 'isdnlog'.



if it doesn't work at all, try adding "usepeerdns" as the last line in your provider-file. i'm not sure if it helps, but it was the reason my connection didn't work.

More Links

Please check this links, they might be helpful for your setup:

  1. http://www.linuxforen.de/forums/showthread.php?p=1163735
  2. HOWTO ISDN Alt#net.ppp0
  3. HOWTO MISDN
  4. http://forums.gentoo.org/viewtopic.php?t=29991
  5. http://www.linuxforen.de/forums/archive/index.php/t-184814.html
  6. ISDN at German Gentoo-Wiki
  7. http://www.pl-berichte.de/t_hardware/howto_fritz_pci2.0.html
Retrieved from "http://www.gentoo-wiki.info/HOWTO_ISDN"

Last modified: Sun, 03 Aug 2008 13:19:00 +0000 Hits: 13,778