Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Linux Magazine - Missing Anything?

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 68 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       isdnctrl action device ...


       isdnctrl  is  used to create and delete network interfaces
       for ISDN, set up the various parameters and phone  numbers
       for dial in and dial out. It is also used to list the cur­
       rent parameters of an already  configured  network  inter­
       face.   isdnctrl  is  not needed for configuration of ISDN

       The use of isdnctrl is independent of the hardware driver.


       The following actions may be given to isdnctrl.

       addif name
              Adds  a  new  ISDN interface name to the kernel. If
              name is omitted, the kernel will use ethX, where  X
              is  an  increasing  number starting from 0. This is
              probably not useful with ISDN so using a name  like
              isdn0  (for  raw  ip interfaces) or ippp0 (for syn­
              chronous PPP interfaces) is always recommended.

       delif name [force]
              Removes the ISDN interface name from the kernel. If
              the  optional  keyword  force is appended, isdnctrl
              executes ifconfig name down before removing it.

       reset [force]
              Removes all ISDN interfaces from the kernel  if  it
              is  possible.  If  the  optional  keyword  force is
              appended,  isdnctrl  executes  ifconfig  name  down
              before removing an interface.

       ifdefaults name
              resets   the  interface  name  to  some  reasonable

       dialmode name [off|manual|auto]
              Sets the dial mode of the interface to one of:

              no connection can be made; an  existing  connection
              is  terminated  immediately.   Incoming connections
              are also not possible.

              manual dialing / hangup; a connection will only  be
              made  after isdnctrl dial name but the line will be
              disconnected after  the  huptimeout  value  set  if

              auto  was  the  "old"  behaviour  (as it was before
              dialmode was implemented).

              If no argument is given, the current dialmode value
              is displayed.

              You can give all as the interface name; the command
              will then be executed for all interfaces.

       addphone name out num
              Adds the phone number num to the list  of  outgoing
              numbers  of  the  ISDN  interface name.  Numbers in
              this list are used to dial the  remote  station  if
              the  connection  is down and packets are to be sent
              via the interface (Dial on demand). More  than  one
              number  can  be  set  by  calling isdnctrl addphone
              repeatedly. If more than one number is  set,  these
              will  be  tried  one  after another (the last added
              number is tried first, etc.).  When using a  german
              SPV-type  connection, the number has to be prefixed
              by a capital S.

       addphone name in num
              Adds the phone number num to the list  of  incoming
              numbers  of  the  ISDN  interface name.  Numbers in
              this list are used to verify access  permission  of
              the remote station if an incoming call is received.
              The verification can be  disabled  by  setting  the
              interface  into  insecure  mode using isdnctrl name
              secure off.  If the list is empty,  incoming  calls
              are disabled.  More than one number can be added by
              calling isdnctrl addphone  repeatedly.  Also  wild­
              cards can be used (see below).

       delphone name in|out num
              Removes  phone number num from the incoming or out­
              going phone list.

       eaz name [num]
              Set the EAZ (German 1TR6 protocol)  or  MSN  (Euro-
              ISDN  E-DSS1)  for ISDN interface name to num.  For
              an EAZ this is only one digit, while for an MSN num
              is  the whole MSN (usually the local phone number).
              If num is omitted, isdnctrl prints the current set­
              ting for ISDN interface name.

       huptimeout name [seconds]
              Set  the  hangup timeout for ISDN interface name to
              seconds.  If there is inactivity (i.e.  no  traffic
              on  the  interface)  for  the given time the driver
              automatically shuts down the connection.   If  sec­

       dialmax name [num]
              Set the number of dial attempts for ISDN  interface
              name  to  num.   If  dialing,  each phone number is
              tried this many times before giving up.  If num  is
              omitted  isdnctrl  prints  the  current setting for
              interface name.

       ihup name [on|off]
              Turn on or off  the  hangup  timeout  for  incoming
              calls  on  interface name.  If on or off is omitted
              the current setting is printed.

       chargehup name [on|off]
              Turn on or off hangup before next charge  info  for
              interface  name.  This can only be used if the ISDN
              provider transmits charge info during and after the
              connection.   If  set  to on, the driver will close
              the connection just before  the  next  charge  info
              will  be  received if the interface is inactive. If
              on  or  off  is  omitted  the  current  setting  is

       chargeint name [seconds]
              If  seconds  are given, the charge interval for the
              given interface is set. This may be useful on  ISDN
              lines  with  no chargeinfo or no online chargeinfo.
              The connection will be closed 2 seconds before  the
              end of the next estimated charge interval if hupti­
              meout seconds of inactivity have been  reached.  If
              ihup is on, incoming connections are closed by this
              mechanism also.  On lines with online  charge  info
              you  also  might ask by chargeint name for the cur­
              rent charge interval as delivered from the  telecom
              on a given interface.

       secure name [on|off]
              Turns  on or off the security feature for interface
              name.  If set to on, incoming calls  will  only  be
              accepted  if the calling number can be found in the
              incoming access list.  See  description  of  action
              addphone  for  information about how to add numbers
              to this list.  If on or off is omitted, the current
              setting is printed.

       callback name [mode]
              Set  callback mode for interface name to mode mode.
              If callback mode  is  in,  then  after  getting  an
              incoming call, a callback is triggered. If callback
              mode is out, then the local system does the initial
              call  and  then  waits  for  callback of the remote
              machine. The option on is available only  for  com­
              patibility  with older versions. Its meaning is the

              raw ip encapsulation (default)

              IP + typefield encapsulation

              Special  mode  for  communicating  with  a Cisco in
              HDLC-mode with Cisco-keepalive switched off.

              ethernet over ISDN (MAC-header included)

              Synchronous PPP over ISDN

              raw ip with additional ui-header

              Special mode for  communicating  with  a  Cisco  in
              HDLC-mode with Cisco-keepalive switched on.

              Provides an interface as required by the Linux X.25
              PLP protocol implementation (requires  Linux  2.1.x
              or newer).

       If  encapsulation  is  omitted,  the  current  setting  is

       l2_prot name [protocol]
              Set the layer-2 protocol for interface name.   Pos­
              sible values for protocol are:
              x75i, x75ui, x75bui and hdlc.  If protocol is omit­
              ted the current setting is printed.

       l3_prot  name  [ protocol ]
              Set the layer-3 protocol for  interface  name.   At
              the moment only trans is supported here.  If proto­
              col is omitted the current setting is printed.

       list name
              List all parameters and the charge info for  inter­
              face name.  If name is all, then all interfaces are

       status name
              Show the connection status for interface name.  The
              output can be one of the following types:

       faces  is  shown.  The  exit status is always true in this
       If name is active, then only  those  interfaces  that  are
       currently  connected  are shown. The exit status is always
       true in this case.

       verbose num
              Set verbosity level to num.

       hangup name
              The connection of interface name is closed  immedi­

       bind name driverId,channel [exclusive]
              Binds an interface name to a physical channel.  The
              driverId identifies a specific S0-Port.  The  chan­
              nels  of a port start counting with zero. If exclu­
              sive is given, other  interfaces  cannot  use  that
              channel  anymore.   Otherwise,  the  channel may be
              used by other interfaces.

       unbind name
              Unbinds a the previously bound interface name.

       pppbind name [num]
              Binds  the  interface  name  to  an   ippp   device
              /dev/ipppnum.  This works only for synchronous ppp.
              The value must be a number.  If num is omitted  and
              name  is called ipppX , then the interface is bound
              to /dev/ipppX.

       pppunbind name
              Unbinds the previously bound interface name.

       busreject driverId [on|off]
              If switched on, instead of ignoring incoming  calls
              not  matching  any  interface,  isdn4linux responds
              with a REJECT to  those  calls.  If  switched  off,
              isdn4linux  is passive, allowing other devices con­
              nected to the same S0-bus to answer the call.   You
              normally  should  not  enable  this feature, if the
              ISDN adaptor is not the only  device  connected  to
              the   S0-bus.   Otherwise  it  could  happen,  that
              isdn4linux rejects an incoming call  which  belongs
              to another device on the bus.

       addslave name slave
              Adds  a  slave  interface  named slave to interface
              name for raw channel-bundling. For bundling of more
              than  two  channels,  any  number  of slaves can be

       sdelay name num
              Set  delay for slave-dialing.  The master interface
              name has to have a load of more  than  trigger  cps
              for  at  least num seconds, before its slave starts
              Note that this only works for rawIP, not MPPP!

       trigger name num
              Set trigger level for  slave-dialing.   The  master
              interface  name has to have a load of more than num
              cps for at least sdelay seconds, before  its  slave
              starts dialing.
              Note that this only works for rawIP, not MPPP!

       addlink name
              For MPPP, this adds a slave interface to the exist­
              ing connection, i.e. connect the extra channel now.
              It is like a dial command for the extra channel.
              This  also means that addlink will only work if the
              master interface name must  already  be  connected!
              Also,  the dialmode for the slave interface must be

       removelink name
              For MPPP, this removes a slave interface  from  the
              existing  connection, i.e. hangup the extra channel

       dial name
              Force dialing of interface name.

       mapping driverId MSN0[,MSN1[,MSN2]] ... [,MSN9]
              Installs a mapping-table for MSN<->EAZ-mapping. See
              README for details.


       When using isdnctrl addphone name in num to add phone num­
       bers to the incoming-call  accept-list  of  an  interface,
       wildcards  similar  to  shell  wildcards can be used.  The
       following wildcards are supported:

       ?      one arbitrary digit

       *      zero or arbitrary number of digits

       [list] one of the digits in list


       ttyI(4),    isdnctrl(4),    isdninfo(4),    isdn_audio(4),

isdn4k-utils-3.3            2003/03/11                isdnctrl(8)
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
You can help in many different ways.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds