Linux and ISDN

Das hier ist erst mal ein Anfang. Dieser Sektor wird demnaechst noch ausgebaut, also, nervt mich mit Mails, damit ich zu Potte komme. :-)

Istec 1008 intern [de]

Die Firma netCS hat eine nette Seite mit Informationen über EuroISDN zusammengestellt. [de]

This page bases on the Debian distribution but should fairly guide through other distributions as well.

With Linux 2.0.36 and 2.2.x a whole bunch of ISDN cards are supported. Most of them are based on the HiSax chip from Siemens. To enable it, compile ISDN as module and activate your favourite hardware. Alternatively you can use the kernel your distribution provides if it provides ISDN as well.

To insert the module issue the following command. You need to know which adresses your card uses, though. If you own a PNP card you want to issue the pnpdump command first to find out the addresses.

  modprobe hisax type=3 io=0x180 irq=12 protocol=2
Here are some card types:
 1  Teles 16.0
 3  Teles 16.3 (ohne PnP)
 4  Creatix / Teles PnP
 5  AVM A1 (FritzCard)
Additionally you will need to install the isdnutils package. The postinst will ask you to install some examples. Please answer yes and edit the examples afterwards.

In /etc/isdn/devices.ippp0 you need to modify the following:

   # Your local phone number without area code
   LOCALMSN = 123456

   # Phone number of your provider with area code, but without leading 0
   REMOTEMSN = 8912345678

   # Default is 60 seconds
   isdnctrl huptimeout ${device} 60
Next you need to configure your SyncPPP. This is done through /etc/isdn/ipppd.ippp0:
   name your-name
If you've got a static ip number you'll have to list it as well:
   192.168.10.100:192.168.10.1
Now you have to restart your ISDN subsystem:
   sh /etc/init.d/isdnutils restart
You can now use pon and poff to activate/deactivate your ip-connection.

If you still experience some problems please consult the project page of isdn4linux.


The following is some older text which gives you a complete command set.

Wenn ich mit ISDN wählen will, dann muß ich allerdings vorher jedesmal die aktuelle MSN setzen. Das geschieht mit AT&e2000&eD anstelle von ATD. Und wenn ich IP darüber machen will, dann kann ich:

   isdnctrl addif isdn0
   isdnctrl secure isdn0 on
   isdnctrl addphone isdn0 out 6642xxx
   isdnctrl addphone isdn0 in 4316642xxx
   isdnctrl eaz isdn0 688825
   isdnctrl huptimeout isdn0 300
   isdnctrl l2_prot isdn0 hdlc
   isdnctrl l3_prot isdn0 trans
   isdnctrl encap isdn0 rawip
   ifconfig isdn0 193.98.xxx.xxx broadcast 193.98.xxx.xxx netmask 255.255.255.192
   route add default dev isdn0
   isdnctrl list isdn0
dibbern, jedenfalls mit isdn4linux.


© Joey, 15 May '99