92. ISDN

ISDN data

92.1. Authors

  • Michal Svec <msvec@suse.cz>

  • Karsten Keil <kkeil@suse.de>

92.2. Summary of Module Globals

List of Global Functions

  • CountIF - Count of valid interface entries

  • Export -

  • Import -

  • Locate - Locate interfaces of the given key and value

  • Modified - Data was modified?

  • NetDeviceList - List of configured interface entries

  • OverviewDev -

  • PrepareInterface - If not allready done set a valid interface

  • Read - Read all ISDN settings from the SCR

  • SelectInterface - Displays a popup to select one interface to be the current interface

  • Summary - Build a textual summary and a list of unconfigured cards

  • TestDev - Test the given card settings

  • Write - Update the SCR according to network settings

  • WriteOnly - Only write configuration without starting any init scripts and SuSEconfig

List of Global Variables

  • AbortFunction - Abort function return boolean return true if abort

  • ISDNCDB - ISDN database based on CDB

  • have_dsl - Flag for Fritz!card DSL configuration

  • hw_device - hold current device settings

  • interface - hold current interface settings

  • operation - Which operation is pending?

  • skip - If the interface or provider configuration is skipped

92.3. Global Functions

92.3.1. CountIF

Count of valid interface entries

Return value

  • integer - count

92.3.2. Export

Return value

  • map

92.3.3. Import

Function parameters

  • map settings

Return value

  • boolean

92.3.4. Locate

Locate interfaces of the given key and value

Function parameters

  • string key

  • string val

Return value

  • list<string> - of devices with key=val

92.3.5. Modified

Data was modified?

Return value

  • boolean - true if modified

92.3.6. NetDeviceList

List of configured interface entries

Return value

  • list<string> - <strings>

92.3.7. OverviewDev

Return value

  • list

92.3.8. PrepareInterface

If not allready done set a valid interface

Return value

  • boolean - true if the selection was successful false if here aren't any interfaces

92.3.9. Read

Read all ISDN settings from the SCR

Return value

  • boolean - true on success

92.3.10. SelectInterface

Displays a popup to select one interface to be the current interface

Function parameters

  • boolean auto

Return value

  • boolean - true if the selection war successful false if here aren't any interfaces

92.3.11. Summary

Build a textual summary and a list of unconfigured cards

Function parameters

  • boolean split

Return value

  • list - summary of the current configuration

92.3.12. TestDev

Test the given card settings

Function parameters

  • string dev

Return value

  • boolean - true on success

92.3.13. Write

Update the SCR according to network settings

Function parameters

  • boolean start

Return value

  • boolean - true on success if start is true, load drivers and interfaces

92.3.14. WriteOnly

Only write configuration without starting any init scripts and SuSEconfig

Return value

  • boolean - true on success

92.4. Global Variables

92.4.1. AbortFunction

Abort function return boolean return true if abort

92.4.2. ISDNCDB

ISDN database based on CDB

map with two keys, of maps: Cards: map, keyed by integers, of maps: CardID: integer (the key) VendorRef: integer bus: string (ISA) class: string (ISDN Single/Multiple Basic Rate) device: integer driver: list of driver maps features: integer lines: integer longname: string name: string revision: integer subdevice: integer subvendor: integer vendor: integer Vendors: map, keyed by integers, of maps: VendorID: integer (the key) name: string refcnt: integer shortname: string

92.4.3. have_dsl

Flag for Fritz!card DSL configuration

92.4.4. hw_device

hold current device settings

handled items are line specific PROTOCOL D-channel protocol AREACODE international area code DIALPREFIX dialprefixfor PBX setups hw specific PARA_IO IO address for legacy ISA PARA_MEMBASE memory base address for legacy ISA PARA_IRQ IRQ number for legacy ISA PARA_TYPE card type PARA_SUBTYPE card sub type NAME full card name DRIVER driver module name STARTMODE "auto"|"manual"|"hotplug" DEBUG debuglevel UDI unique hw id

92.4.5. interface

hold current interface settings

handled items are IPADDR local IP address REMOTE_ADDR remote IP address DEFAULTROUTE default route yes/no DYNAMICIP dynamic IP assignment yes/no PROTOCOL encapsulation "rawip" | "syncppp" MSN own phone number CHARGEHUP try to hangup on idle just before next charge CALLBACK callback mode CBDELAY callback delay STARTMODE auto | manual | hotplug USERCONTROL controllable bt user yes/no MULTILINK channel bundling yes/no PROVIDER default provider filename IPPPD_OPTIONS additional ipppd options

92.4.6. operation

Which operation is pending?

92.4.7. skip

If the interface or provider configuration is skipped

92.5. Module Requirements

92.5.1. Module Imports

  • NetworkInterfaces
  • NetworkService
  • PackageSystem
  • Progress
  • Provider
  • SuSEFirewall4Network
  • Summary

92.5.2. Module Includes

  • network/complex.ycp
  • network/devices.ycp
  • network/hardware.ycp
  • network/isdn/config.ycp
  • network/isdn/routines.ycp
  • network/routines.ycp
  • network/runtime.ycp