Jelke (and others) this is the final and complete doc. Be sure to read
http://internet-sicherheit.net/isdn4es-howto.html for complete details.
btw, if you need help, you can always post your question so all of us can help you.
====> means additional comments by H.F. Wang. Maybe it helps.
here is the ISDN4ES 4.1.1 how-to
(thx to Klaus Mueller (k.mueller@internet-sicherheit.net)
who did this for 4.0):
All you need is:
a passive ISDN-card that is supported by isdn4linux:
1 Teles 16.0 irq, mem, io
2 Teles 8.0 irq, mem
3 Teles 16.3 (non PnP) irq, io
4 Creatix/Teles PnP irq, io0 (ISAC), io1 (HSCX)
5 AVM A1 (Fritz) irq, io
6 ELSA PCC/PCF cards io or nothing for autodetect (the iobase is
required only if you have more than one ELSA
card in your PC)
7 ELSA Quickstep 1000 irq, io (from isapnp setup)
8 Teles 16.3 PCMCIA irq, io
9 ITK ix1-micro Rev.2 irq, io
10 ELSA PCMCIA irq, io (set with card manager)
11 Eicon.Diehl Diva ISA PnP irq, io
11 Eicon.Diehl Diva PCI no parameter
12 ASUS COM ISDNLink irq, io (from isapnp setup)
11 Eicon.Diehl Diva PCI no parameter
12 ASUS COM ISDNLink irq, io (from isapnp setup)
13 HFC-2BS0 based cards irq, io
14 Teles 16.3c PnP irq, io
15 Sedlbauer Speed Card irq, io
15 Sedlbauer PC/104 irq, io
15 Sedlbauer Speed PCI no parameter
16 USR Sportster internal irq, io
17 MIC card irq, io
18 ELSA Quickstep 1000PCI no parameter
19 Compaq ISDN S0 ISA card irq, io0, io1, io (from isapnp setup io=IO2)
20 NETjet PCI card no parameter
21 Teles PCI no parameter
22 Sedlbauer Speed Star (PCMCIA) irq, io (set with card manager)
24 Dr. Neuhaus Niccy PnP irq, io0, io1 (from isapnp setup)
24 Dr. Neuhaus Niccy PCI no parameter
25 Teles S0Box irq, io (of the used lpt port)
26 AVM A1 PCMCIA (Fritz!) irq, io (set with card manager)
27 AVM PnP (Fritz!PnP) irq, io (from isapnp setup)
27 AVM PCI (Fritz!PCI) no parameter
28 Sedlbauer Speed Fax+ irq, io (from isapnp setup)
===> I found that a Teles S0 PCI card works best as type 20 (not 21)
a running installation of e-smith 4.1 or 4.1.1
some modifications to your system
and these files:
get and install tcl-8.3.1-46.i386.rpm
you can find it here:
www.etecs.de/isdn4es/or from a Redhat 7.0 CD
to install:
> rpm -ivh
tcl-8.3.1-46.i386.rpm
get and install isdn4k-utils-3.1-32.i386.rpm
you'll also find this there
and again
> rpm -ivh isdn4k-utils-3.1-32.i386.rpm
now we need some information:
what type of card do you use (see above: 1 is "Teles 16.0"; 27 is "AVM Fritz! PCI"...)? what IO does it use (only ISA, often a small swith or jumper on the adapter), what IRQ (also only ISA; select a free one (reserve it in your bios, best is 10 or 5))?
Hint: In case you still want to use an ISA-card (with all this IRQ and IO @!#$ -you've been warned!) you also need to look up the required parameters for that specific card: irq, io, mem... USE A PCI ADAPTER IF YOU DON'T KNOW ABOUT BIOS, IRQ or IO...!!!!
what is your own phone number (MSN) that you want to use for the dial-out?
(to see it on your phone bill lol 
====> your MSN without area code
and some modifications to your config files ( u can use the midknightcommander if u are a linux newbie and don't kno about vi... > type mc and enter to start it and F4 to edit a file):
/etc/modules.conf
This is where we put the card information. Create a new entry like this (after all those alias lines):
options hisax type= protocol=2
eg.
options hisax type=5 protocol=2 irq=10 io=0x300
for my AVM A1 (IRQ 10 was reserved in the bios and the IO was selected by the jumper on the ISDN card)
or
options hisax type=27 protocol=2
for a AVM Fritz! PCI
====> type, protocol, irq and io can also be put int the isdn4es script (see below) so editing the modules.conf is not needed.
Remark: "protocol=2" is for EURO-ISDN; if you don't have it: get it
or put a "1" there instead (is there anyone out there still using 1TR6?)
know copy (use mc or cp -q to do so)
/etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/20reset
to
/etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/20reset
(cp -q /etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/20reset /etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/20reset )
======> I found copying the complete chat-ppp0 dir to the template-custom dir more usefull to keep better overview.
Also I cleared the 15reports file for it gave errors while trying to connect.
and edit
/etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/20reset
Here we have to set our MSN the card is supposed to start the call as.
Extend this string:
ATZ
to make it look like this:
ATZ&E123456 (123456 is your MSN)
Remark: The 1TR6-guys have to put the "EAZ" (single digit) here instead of the MSN
=====> I found that ATZ&Exxx has to be '' 'ATZ&Exxx' (using quotes)
know copy
/etc/e-smith/templates/etc/sysconfig/network-scripts/chat-ppp0/25init
to
/etc/e-smith/templates-custom/etc/sysconfig/network-scripts/chat-ppp0/25init
and edit it:
We'll have to tweak this a bit, as passive ISDN-cards don't have internal speakers.
u should make it look like this:
'OK' 'AT'
(delete the rest)
you should also edit your:
/sbin/e-smith/console (make a backup!!!!!)
This is the wizard script. Here we'll modify the modem section. We'll put the virtual ISDN modem device (ttyI0) in the place of COM4. (If you need COM4 for a different purpose, you can also use COM1, 2 or 3 of course)
So the line that looks like this:
"COM4", "Set modem port to COM4 (/dev/ttyS3)");
should look like this then:
"ISDN", "Set modem port to ISDN (/dev/ttyI0)");
and:
if ($choice eq "COM4")
{
$conf {'DialupModemDevice'} = '/dev/ttyS3';
}
is changed to:
if ($choice eq "ISDN")
{
$conf {'DialupModemDevice'} = '/dev/ttyI0';
}
====> I personally did not edited the existing lines but instead added 4 devices to the list (ttyI0 through ttyI3 as being ISDN1 through ISDN4) For future use..?
test your configuration at this point:
You might want to test your configuration (is my card there? did I select the right driver?...) using this command:
> modprobe hisax
=====> if you put the card parameters in the isdn4es script you have to add the parameters by hand at this point to load the driver e.g:
modprobe hisax protocol=2 type=20 id="Line1 Line2"
If all is correct, you will get a single message telling you that the HiSax driver has been loaded. if not - ull get some errors. If u get no answer to this command - check ur /var/log/messages (sometimes modprobe is very silent 
=====> or type 'dmesg' to see what the driver said
finally: make your changes permanent:
For that purpose we need a new init script to load the isdn driver at system startup:
/etc/rc.d/init.d/isdn4es (u can copy an other script and rename and edit it)
This is a new file that is basically stolen from the startup script for apache from RedHat and modified to suit our needs. It loads the ISDN driver during startup.
---------schnipp-----------------------------------
#!/bin/sh
#
# Startup script for isdn4es
#
# description: isdn4es is needed to allow the usage of passive ISDN-cards \
# with e-smith (http://www.e-smith.org/).
# Source function library.
. /etc/rc.d/init.d/functions
# See how we were called.
case "$1" in
start)
echo -n "Starting isdn4es: "
modprobe hisax
===> if you did not edited the modules.conf script: modprobe hisax protocol=2 type=(nr) io=(addr) irq=(nr) id="Line1 Line2"
echo
;;
stop)
echo -n "Shutting down isdn4es: "
modprobe -r hisax
echo
;;
restart)
$0 stop
$0 start
;;
*)
echo "Usage: $0 {start|stop|restart}"
exit 1
esac
exit 0
---------schnapp-----------------------------------
create links that point to the isdn4es script so the driver gets loaded every time e-smith is started:
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc0.d/K90isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc1.d/K90isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc2.d/S10isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc3.d/S10isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc4.d/S10isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc5.d/S10isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc6.d/K90isdn4es
> ln -s /etc/rc.d/init.d/isdn4es /etc/rc.d/rc7.d/S10isdn4es
reboot!
start the console (login as admin) and reconfigure the server (choose ISDN
)
another reboot.... well thats it!!!
try ping 141.1.1.1 twice (or more) and u'll get answers.... it works fine
====> I manually executed the expand-template command for the new files in the templates-custom dir, as explained at http://www.e-smith.org/content/custom/
I don't know if the 'reconfigure' does the same?
I HOPE THIS WILL HELP U......
your engel.
engelmann@etecs.de