SuSE Support Database

Title: S.u.S.E. ISDN quick-install guide

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

S.u.S.E. ISDN quick-install guide

Applies to

SuSE Linux: Version 5.1
Kernel: Version 2.0.31
HiSax: Version 2.1
isdn4k-utils: Version 2.1b1

News

If you own an ISDN card that is not listed below, please read HiSax: neue Karten, http://www.suse.de/Support/sdb/hisax_new.html or file:/usr/doc/packages/i4l/README.newcards

Introduction

These instructions describe a quick installation of your ISDN card under S.u.S.E. Linux.

It is not the intention of this guide to describe every special feature. An attempt is made to describe approximately 94 % of all possible cases and to do this in a straight forward way.

For more information read the S.u.S.E. ISDN howto.

As a test a connection to the S.u.S.E. ISDN server is described. As soon as this works, you can for sure easily modify the setup for the connection to your Internet Service Provider (ISP) with the help of this example. You can avoid a large number of possible errors this way.

You can find a description in the handbook, how most of the settings can be entered directly using YaST.

S.u.S.E. ISDN server

This server was especially created to offer ISDN test access with S.u.S.E. Linux. In the future we will offer even more services via this server, like an access to the support data base, update packages, etc. . Read about this in the file /home/suse/README on the server.

You get no access to the Internet on this server, since that would be too expensive for us ;-)

Choosing the protocol

The ISDN server offers access to the three most popular ISDN protocols:
  1. Terminal login with X.75
  2. rawip HDLC net access
  3. syncPPP net access
You can of course try all of them. However it is recomended to test the one single protocol that your ISP provides.

Installation

The installation is subdivided into the following steps :
  1. software installation
  2. hardware connection
  3. configuring isdnlog
  4. configuring IP numbers
  5. configuring routes
  6. configuring net devices
where the procedure differs depending on the protocol. However the first three steps are always the same.

Before you make changes to the configuration files, make sure the system is in runlevel 1 (i.e. no network):

init 1
Change into the runlevel 2 in order to test or start the configuration (i.e. with network):
init 2
If you have a local network, deactivate it by setting
NETCONFIG=""
in /etc/rc.config .
ISDN is configured for runlevel 2 and 3.

Important: All messages of and about ISDN are stored in the file /var/log/messages. In an xterm or on the console say

tail -f /var/log/messages
This way you can always check whether your actions were succesful.

Software installation

Install the following packages :

Hardware connection

The hardware drivers are loaded through modules, therefore they aren't bound statically to the kernel.

Loading of modules is done through the script /sbin/init.d/i4l_hardware. It is executed automatically at boot-time. The hardware specification must be entered by you into the S.u.S.E. configuration file /etc/rc.config. Starting with S.u.S.E.-Linux 5.0 you can also do this with YaST. Please see the corresponding section in the handbook for further information.

In /etc/rc.config change the following :

Configuring isdnlog

Before the modules are being loaded, isdnlog should be configured. It is the job of this program to monitor all activity on the S0 bus.

Adapt the following files according to your needs :

A first test :

Change to runlevel 2 :
init 2
Check /var/log/messages whether the HiSax module was loaded succesfully. If not, try out other hardware parameters.

If the module was loaded you can access the ISDN card. isdnlog will show you in /var/log/messages whether you're currently calling or being called.

Continue with one of the topics

terminal login

ISDN4Linux contains a modem emulation. The S.u.S.E. ISDN server provides a login on the basis of X.75 .

Start an arbitrary terminal program, e.g. minicom. Use the device /dev/ttyI0.

Start it with minicom -s.

At Serial port setup enter /dev/ttyI0 for the device.

Press Exit. You will get an error message because it is tried to configure a serial modem.

Enter the commands

ATZ
ATS14=0&E123
Where 123 is one of your MSNs . You should get an OK now.

Dial with

atd09113247114
You get a message CONNECT 64000/X.75 as well as a login prompt. login with Please read the file README:
less README

configuring PPP connections :

Changing the runlevel :

Change to runlevel 1 :
init 1
The routes are defined in /etc/route.conf. These specify on which way a maschine (IP number) can be reached.

Set a hostroute and also the default route to the ISDN server :

# syncPPP Client
192.168.0.1              0.0.0.0     255.255.255.255       ippp0
default                  192.168.0.1

Configuring net devices

Set the following variables in /etc/rc.config :
# syncPPP Client -> S.u.S.E. ISDN-Server
NETDEV_2=ippp0
IPADDR_2="192.168.0.99"
IFCONFIG_2="192.168.0.99 pointopoint 192.168.0.1"
I4L_IDLETIME_2=60
I4L_REMOTE_OUT_2=09113206726
I4L_REMOTE_IN_2=
I4L_DEBUG_2=4
I4L_L2_2="hdlc"
I4L_L3_2="trans"
I4L_ENCAP_2="syncppp"
I4L_SECURE_2="on"
Also set your own MSN. if you have for example the telephone number 012/123, enter :
I4L_LOCALMSN_2=123
Define, which net device should be configured :
NETCONFIG="_2"
Hint: You can do this much more comfortably with YaST.

Configuring PPP

The PPP daemon (ipppd is configured through the following files: These files are created and modified by YaST. /etc/ppp/ioptions.YaST is used as a template for options.ippp0.

Establishing the connection

Change to runlevel 2:
init 2
The configuration is complete now; You can now establish a connection by
telnet 192.168.0.1
You get a login prompt. Login with Read the file README:
less README
Take a look at /var/log/messages in order to check, what happens in your system.

Configuring rawip connections

This configuration is easier, however most of the ISP's only offer PPP.

Configuring IP numbers

The routes are defined in /etc/route.conf. It is specified this way on wich way a machine (IP number) can be reached.

Set a hostroute and also a default route to the ISDN server :

192.168.0.2              0.0.0.0     255.255.255.255       isdn0
default                  192.168.0.2

Configuring net devices

Set the following variables in /etc/rc.config: (you can simply copy these lines at the end of the file. This way the values above are overridden.)
# rawip Client
IPADDR_3=192.168.0.98
NETDEV_3=isdn0
IFCONFIG_3="192.168.0.98 pointopoint 192.168.0.2"
I4L_IDLETIME_3=60
I4L_DIALMAX_3=5
I4L_REMOTE_OUT_3="09113206728"
I4L_REMOTE_IN_3=""
I4L_LOCALMSN_3="3206726"
I4L_DEBUG_3=4
I4L_L2_3="hdlc"
I4L_L3_3="trans"
I4L_ENCAP_3="rawip"
I4L_SECURE_3="on"
Define, which net devices should be configured:
NETCONFIG="_3"
Hint : This can be done much more comfortably using YaST.

Establishing a connection

Change now into runlevel 2:
init 2
The configuration is completed now. You can now establish a connection by
telnet 192.168.0.2
You get a login prompt. Login with Read the file README:
less README
Check the file /var/log/messages in order to check, what happens in your system.

90 % of all failures on the S.u.S.E. ISDN test machine are caused by wrong user name / password. Please check this data (or the YaST mask) thoroughly.

Changing the configuration for the ISP :

When the test connection worked for you then the difficult part is done.

Now simply try to change the phone number, the IP number and the user data and call your provider with this configuration.

Try to establish a connection using isdnctrl dial ippp0 (or some other device) and monitor /var/log/messages whether a connection could really be established.

General remarks :

---

See also:

---

Keywords: ISDN, QUICK, ISDNSERVER, TEST MACHINE, SMALL

---

Categories: Documentation

---

Feedback welcome: Send Mail to skfr@suse.de (Please give the following subject: SDB-isdnquick)

---

Mainpage ---- Searchform ---- History ---- Versions ---- Categories ---- Contents
Deutsch
---

SDB-isdnquick, Copyright SuSE GmbH, Nuremberg, Germany - Version: 19. Mar 1997
Impressum - Last generated: 24. Feb 1999 14:49:28 by maddin with sdb_gen 1.00.0