IsdnHowto

Differences between revisions 3 and 8 (spanning 5 versions)
Revision 3 as of 2005-08-19 07:56:16
Size: 3216
Editor: S0106000d88b9f3db
Comment: added contents of IsdnHowtoHoary - needs more cleanup still
Revision 8 as of 2006-06-11 17:17:02
Size: 5916
Editor: dtm9-d9bfe3b2
Comment: typo
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== ISDN in Warty Warthog (Ubuntu 4.10) == ||<tablestyle="float:right; font-size: 0.9em; width:40%; background:#F1F1ED; margin: 0 0 1em 1em;" style="padding:0.5em;">'''Contents'''[[BR]][[TableOfContents(3)]]||
Line 3: Line 3:
isdn4linux (hisax) is deprecated in the upstream Linux 2.6 kernel. The following steps will install help you installing mISDN, the new isdn driver. This page describes how to connect to the internet or send a fax using ISDN.
Line 5: Line 5:
To get working isdn support with a AVM Fritz PCI card, do the the following:
Line 7: Line 6:
1. Install from the Warty-CD (sudo apt-get install ...): == ISDN and Linux ==
Line 9: Line 8:
   isdnutils-base '''What is isdn4linux?'''
Line 11: Line 10:
and manually download and install (sudo dpkg -i ...) the following packages for capi support isdn4linux is a set of kernel modules. It consists of the main module "isdn" and a set of hardware drivers that control specific ISDN cards. In addition, the package "isdn4k-utils" contains utilities to make use of ISDN-specific features.
Line 13: Line 12:
  [http://archive.ubuntu.com/ubuntu/pool/universe/i/isdnutils/pppdcapiplugin_3.3.0.20040728-2_i386.deb pppdcapiplugin]
 [http://archive.ubuntu.com/ubuntu/pool/universe/i/isdnutils/libcapi20-3_3.3.0.20040728-2_i386.deb libcapi20]
'''What is mISDN?'''
Line 16: Line 14:
2. Put the following modules in /etc/modules (sudo nano /etc/modules) to have them loaded at boot-time:
{{{
     ppp_generic
     ppp_synctty
     capi
     mISDN_core
     mISDN_l1
     mISDN_l2
     l3udss1
     mISDN_capi
     mISDN_isac
     avmfritz protocol=2
}}}
3. Disable the hisax-modules by adding the following ones to /etc/hotplug/blacklist (sudo nano /etc/hotplug/blacklist):
{{{
     hisax_fcpcipnp
     hisax
     hisax_isac
     hisax_st5481
}}}
4. Configure the dial-up account for my provider /etc/ppp/peers/isdn-provider (sudo nano /etc/ppp/peers/isdn-provider):
{{{
     sync
     noauth
     user <username>
     plugin userpass.so
     password <password>
     defaultroute
     plugin capiplugin.so
     number <dial-in number>
     protocol hdlc
     ipcp-accept-local
     ipcp-accept-remote
     /dev/null
}}}
5. Add a nameserver to /etc/resolv.conf
{{{
sudo nano /etc/resolv.conf
mISDN is the successor of isdn4linux following the adoption of the CAPI interface with Linux kernel 2.6. Like isdn4linux, it consists of kernel modules (it has been rewritten from scratch).
Line 55: Line 16:
i.e. add this line to the file:
nameserver 195.82.119.192
Line 58: Line 17:
press ctrl-x to exit nano
}}}
6. Add my user to the group "dip" and re-logon.
{{{
sudo adduser $USER dip
}}}
The following diagram offers an overview of the differences between the older kernel module architecture based on the HiSax driver and Terminal-emulation (ochre), and the newer mISDN architecture (blue) based on mISDN and the CAPI interface.
Line 65: Line 19:
7. dial by executing "pon isdn-provider" and hangup using "poff isdn-provider"
Line 67: Line 20:
You might add gpppon - A gnome applet that is a wrapper around pon and poff.   http://www.heise.de/ct/04/03/182/bild.gif
Line 69: Line 22:
== ISDN in Hoary (Ubuntu 5.04) ==
To make isdn work in Hoary you need to:
[[BR]]
  Sources: Gernot Hillier, Karsten Keil, [http://www.heise.de/ct/04/03/182/ Heimserver im Eigenbau], c't 3/2004; [http://www.isdn4linux.de/faq/i4lfaq-1.html ISDN4Linux FAQ]
Line 72: Line 25:
1. install linux-restricted-modules-$ARCH (to get the binary avm drivers) and avm-fritz-firmware-2.6.10-3 (to get the firmware)
Line 74: Line 26:
2. add capi to /etc/modules
Line 76: Line 27:
=== PCI ===
Line 78: Line 28:
1. create /etc/hotplug/backlist.d/isdn with: == Connect to the Internet using ISDN ==
Line 80: Line 30:
  * hisax attachment:IconsPage/info.png This tutorial has been successfully tested with the ISDN cards specified with the '''Hardware''' header in each section of the tutorial. It may work with other cards (or it may not). Please help to expand this page if you have tested this tutorial with a different card or if you can supply more information.
Line 82: Line 32:
  * hisax_fcpcipnp [[BR]]
----
Line 84: Line 35:
2. reboot so that the avm/capi modules get loaded '''Ubuntu 5.04 (Hoary Hedghog) and Ubuntu 5.10 (Breezy Badger)'''
Line 86: Line 37:
3. Create the connection with "Desktop/Adminstration/Networking" To connect to the internet with an ISDN card in Ubuntu 5.04 or 5.10, you will need to install the restricted kernel modules package (it contains the binary drivers for AVM ISDN cards), the AVM firmware driver package, and the pppdcapiplugin package.
Line 88: Line 39:
4. pon ppp0; poff should work now
Line 90: Line 40:
(sucessfully tested with AVM fritz card A1 (2.0)) attachment:IconsPage/apt.png Install the '''linux-restricted-modules''' package that corresponds to your kernel version and system architecture (for example: '''linux-restricted-modules-2.6.12-10-386''' is the right package to use for the 2.6.12-10 kernel on the i386 architecture), the '''avm-fritz-firmware''' package that corresponds to your kernel version ('''avm-fritz-firmware-2.6.12-10''' for example) and the '''pppdcapiplugin''' package. (Note: The restricted-modules package comes pre-installed on Breezy during OS installation.)
Line 92: Line 42:
=== PCMCIA === attachment:IconsPage/terminal.png Enable the "capi" kernel module to the kernel modules configuration file. To do that, open
 {{{
/etc/modules}}} in your favourite editor and add a line saying
 {{{
capi}}}
Line 94: Line 48:
1. Remove the "avma1_cs" lines from /etc/pcmcia/config
Line 96: Line 49:
2. add [[BR]]
attachment:IconsPage/eyes.png '''The following steps depend on the specific hardware you are using. Follow the instructions for your card.'''
Line 98: Line 52:
{{{ ----

attachment:IconsPage/IconNIC.png '''Hardware: AVM Fritz!Card A1 (2.0)'''

attachment:IconsPage/terminal.png Create or open the file
 {{{
/etc/hotplug/backlist.d/isdn}}}
and add the following two lines:

 {{{
hisax
hisax_fcpcipnp}}}

 * Reboot. Confirm that the avm and capi kernel modules are properly loaded by typing {{{
lsmod}}} at the command line.

 * Create the connection with "Desktop/Adminstration/Networking"

 * pon ppp0; poff should work now

----

attachment:IconsPage/IconNIC.png '''Hardware: Fritz!Card PCMCIA2.0'''


attachment:IconsPage/terminal.png The PCMCIA configuration file needs a few changes. Open
 {{{
/etc/pcmcia/config}}} in your editor and remove the line that says
 {{{
avma1_cs}}}

 * Add the following lines:

 {{{
Line 107: Line 94:
(sucessfully tested with Fritz!Card PCMCIA2.0)
Line 109: Line 95:
=== USB Fritzcard DSL USB ===
Line 111: Line 96:
1. edit /etc/isdn/capi.conf and add as last line:
{{{
----

attachment:IconsPage/IconNIC.png '''Hardware: Fritz!Card DSL USB'''

attachment:IconsPage/terminal.png The capi configuration file needs changing. Open
 {{{
/etc/isdn/capi.conf}}} and add the following line:
 {{{
Line 116: Line 107:
(sucessfully tested with Fritz!Card DSL USB)
Line 124: Line 116:
 * what about non-AVM hardware? Where does configuration differ?

To be added:

 * ISDN Fax support
Line 127: Line 124:
== For More Information ==

=== Linux and ISDN ===

 * The [http://www.isdn4linux.de/ ISDN4Linux page] is home to isdn4linux and its successor, mISDN. A very comprehensive [http://www.isdn4linux.de/faq/i4lfaq.html FAQ] on the site offers answers to the most commonly asked questions.

 * [http://www.heise.de/ct/04/03/182/ This excellent article] (in German only) charts the history of ISDN support for Linux, explains the fundamental technical issues and details a range of possible applications. Highly recommended.

 * Dan Kegel's [http://alumnus.caltech.edu/~dank/isdn/ ISDN page], with lots of information on ISDN



=== ISDN card manufacturers ===

 * [http://www.avm.de/en/index.php3 AVM] offers binary drivers for the ISDN cards it manufactures. Their [http://www.avm.de/de/Service/Service-Portale/Service-Portal/index.php?portal=Linux&suchestartenneu.x=36&suchestartenneu.y=12&suchestartenneu=ok Linux portal] offers news and a support knowledgebase around ISDN on Linux.

 * [http://www.eicon.de/worldwide/default.htm Eicon]

 * [http://www.creatix.de/ Creatix]

 * [http://sitecom.com/ Sitecom]


=== Standards Bodies, Working Groups ===

 * Homepage of the [http://www.capi.org/pages/home.php CAPI Association]


=== Other Tutorials ===

 * [http://www.topf-sicret.de/help/capi20.html AVM CAPI 2.0 and Debian GNU/Linux] (up-to-date) (German)

 * [http://www.linux-france.org/prj/inetdoc/ Networking on Linux] (French)




----

This page describes how to connect to the internet or send a fax using ISDN.

ISDN and Linux

What is isdn4linux?

isdn4linux is a set of kernel modules. It consists of the main module "isdn" and a set of hardware drivers that control specific ISDN cards. In addition, the package "isdn4k-utils" contains utilities to make use of ISDN-specific features.

What is mISDN?

mISDN is the successor of isdn4linux following the adoption of the CAPI interface with Linux kernel 2.6. Like isdn4linux, it consists of kernel modules (it has been rewritten from scratch).

The following diagram offers an overview of the differences between the older kernel module architecture based on the HiSax driver and Terminal-emulation (ochre), and the newer mISDN architecture (blue) based on mISDN and the CAPI interface.

BR

Connect to the Internet using ISDN

attachment:IconsPage/info.png This tutorial has been successfully tested with the ISDN cards specified with the Hardware header in each section of the tutorial. It may work with other cards (or it may not). Please help to expand this page if you have tested this tutorial with a different card or if you can supply more information.

BR


Ubuntu 5.04 (Hoary Hedghog) and Ubuntu 5.10 (Breezy Badger)

To connect to the internet with an ISDN card in Ubuntu 5.04 or 5.10, you will need to install the restricted kernel modules package (it contains the binary drivers for AVM ISDN cards), the AVM firmware driver package, and the pppdcapiplugin package.

attachment:IconsPage/apt.png Install the linux-restricted-modules package that corresponds to your kernel version and system architecture (for example: linux-restricted-modules-2.6.12-10-386 is the right package to use for the 2.6.12-10 kernel on the i386 architecture), the avm-fritz-firmware package that corresponds to your kernel version (avm-fritz-firmware-2.6.12-10 for example) and the pppdcapiplugin package. (Note: The restricted-modules package comes pre-installed on Breezy during OS installation.)

attachment:IconsPage/terminal.png Enable the "capi" kernel module to the kernel modules configuration file. To do that, open

  • /etc/modules
    in your favourite editor and add a line saying
    capi

BR attachment:IconsPage/eyes.png The following steps depend on the specific hardware you are using. Follow the instructions for your card.


attachment:IconsPage/IconNIC.png Hardware: AVM Fritz!Card A1 (2.0)

attachment:IconsPage/terminal.png Create or open the file

  • /etc/hotplug/backlist.d/isdn

and add the following two lines:

  • hisax
    hisax_fcpcipnp
  • Reboot. Confirm that the avm and capi kernel modules are properly loaded by typing

    lsmod
    at the command line.
  • Create the connection with "Desktop/Adminstration/Networking"
  • pon ppp0; poff should work now


attachment:IconsPage/IconNIC.png Hardware: Fritz!Card PCMCIA2.0

attachment:IconsPage/terminal.png The PCMCIA configuration file needs a few changes. Open

  • /etc/pcmcia/config
    in your editor and remove the line that says
    avma1_cs
  • Add the following lines:
     device "fcpcmcia_cs"
       class "avma1" module "fcpcmcia_cs"
    
     card "AVM S0/PC ISDN"
       version "AVM", "ISDN A"
       bind "fcpcmcia_cs"


attachment:IconsPage/IconNIC.png Hardware: Fritz!Card DSL USB

attachment:IconsPage/terminal.png The capi configuration file needs changing. Open

  • /etc/isdn/capi.conf
    and add the following line:
    fcdslusb        fdsubase.frm    DSS1    -       -       -       -

ToDo

Things not yet working in hoary:

  • network-admin can't activate the connection directly yet
  • modem-applet can connect too
  • what about non-AVM hardware? Where does configuration differ?

To be added:

  • ISDN Fax support

For More Information

Linux and ISDN

ISDN card manufacturers

Standards Bodies, Working Groups

Other Tutorials


CategoryDocumentation CategoryCleanup

IsdnHowto (last edited 2008-08-06 16:39:51 by localhost)