Koozali.org: home of the SME Server

ISDN how-to for 4.1.1: here is it!

Engelmann

ISDN how-to for 4.1.1: here is it!
« on: March 21, 2001, 03:09:07 PM »
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)

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 ;)

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

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 )

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

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';
}
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 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 ;)

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
    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 HOPE THIS WILL HELP U......

your engel.
engelmann@etecs.de

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #1 on: March 21, 2001, 11:01:26 PM »
Ok, all help is welcome on this topic. But to copy somebody elses effort and try to make it look like yours is something else. Your post refers to:

======================================================
''How can I make e-smith accept a passive ISDN-Card as DialOut-Device?"
http://internet-sicherheit.net/isdn4es-howto.html
written by: Klaus Mueller (k.mueller@internet-sicherheit.net)
======================================================
referred to by e-smith inc. at http://www.e-smith.org/links.php3

At least mention that you 'use' his material to make 4.1.1 working.

By the way, I see no difference between 'your' post and that of Mr. Mueller???
I personally got a passive ISDN card (type 11 and 20) working after a lot of trying, so I know what's goin'on. I'm tweaking it right now so I did not post it yet.

If somebod is interested, please contact me anytime, maybe we can perfect it.

If I missed something or if i'm wrong, please let me know for I underline my remarks at the beginning of this message!

regards to all.

RequestedDeletion

Engelmann

Re: ISDN how-to for 4.1.1: here is it!
« Reply #2 on: March 22, 2001, 10:26:58 AM »
here is the ISDN4ES 4.1.1 how-to (thx to Klaus Mueller 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)

.... to H.F. Wang
THIS IS MISSING IN MY POSTING!!!!!!!!!! [but i posted the full version!?!]
(read the first line)

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #3 on: March 22, 2001, 11:54:52 AM »
I'm glad I'm wrong :-)

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #4 on: March 22, 2001, 12:17:37 PM »
====> 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&xxx' (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

engelmann

Re: ISDN how-to for 4.1.1: here is it!
« Reply #5 on: March 22, 2001, 05:06:05 PM »
nice adds ... ;)  thx

is it realy:
' ' 'ATZ&123456'
and not
' ' 'ATZ&E123456'  ???

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #6 on: March 22, 2001, 07:05:40 PM »
Sorry, slip of my fingertip. It has to bee ATZ&E indeed!  Thx.

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)

Jelke van der Meer

Re: ISDN how-to for 4.1.1: here is it!
« Reply #7 on: March 22, 2001, 07:37:54 PM »
Hi,


We sure have to read all this above messages very carefully if we don't want to get mixed-up. Right???!!!

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #8 on: March 23, 2001, 12:52:32 AM »
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

ttm

Re: ISDN how-to for 4.1.1: here is it!
« Reply #9 on: March 28, 2001, 06:53:17 PM »
YES - IT WORKS - YEEHAAAAHH

special thanx to Engelmann, who came to my house and helped me starting ISDN up - and it works fine!!! also printing and all the cool e-smith features. E-Smith rulez!!!

bye

ttm

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #10 on: March 29, 2001, 02:30:49 AM »
Let's all ask Engelmann to config our servers! (Europe, USA, Asia etc. etc.)

No, just a joke. Good jub, butmaybe it is interesting to know what kind of problems you had...

Regards, and have fun.

ps. Engelsmann, if they do ask you, can I be your co-worker for I like to travel....

Ian Martin

Re: ISDN how-to for 4.1.1: here is it!
« Reply #11 on: April 11, 2001, 06:28:53 PM »
Hi Guys,

Thanks for passing on all your knowledge, but I have hit a snag.

I have followed the tutorial word for word, and even used the original from Klause Mueller updated by Ronald Tanis.

Tweaked it for the UK British Telecom system ('ATZ&E0 in the 20reset file) and everthing seems fine, the line connects dials out
gives an OK then stops with a NO CARRIER error ?

Any idea's I'm stumped, I have waded through the internet-sicherheit.net web site and others and couldnt find the answer.

Your help is required please

Ian Martin a UK discoverer of e-smith

Engelmann

Re: ISDN how-to for 4.1.1: here is it!
« Reply #12 on: April 11, 2001, 11:45:42 PM »
you should post your whole chat-ppp0 file here!
do you have to dial a 0 to get a dialtone?

Ian Martin

Re: ISDN how-to for 4.1.1: here is it!
« Reply #13 on: April 13, 2001, 03:05:50 PM »
Engelmann, please go to thread:

http://www.e-smith.org/bboard//read.php?f=3&i=3569&t=3569

I have posted my chat-ppp0 etc there.

Ian Martin

ttm

Re: ISDN how-to for 4.1.1 - solution for adminmode hangups
« Reply #14 on: April 22, 2001, 11:33:05 PM »
after my e-smith works great, i can't go through the admin mode of my e-smith box. after server dial-up selection, i was kicked to login and nothing happened. so i have the solution:
 
it is the file /home/e-smith/configuration.
after editing by hand, the file owner is root - and admin has no read rights - so chmod or chown the file and everything works fine...

greetz to splatter

ttm

Charlie Brady

Re: ISDN how-to for 4.1.1 - solution for adminmode hangups
« Reply #15 on: April 22, 2001, 11:42:37 PM »
ttm wrote:
>
> after my e-smith works great, i can't go through the admin
> mode of my e-smith box. after server dial-up selection, i was
> kicked to login and nothing happened. so i have the solution:
>  
> it is the file /home/e-smith/configuration.
> after editing by hand, the file owner is root - and admin has
> no read rights - so chmod or chown the file and everything
> works fine...

You should avoid editing the configuration database by hand, and always use the /sbin/e-smith/db command instead:

/sbin/e-smith/db configuration set Blah 1234567

Or you can use

/sbin/e-smith/config set Blah 1234567

which is just shorthand for the same thing.

Regards

Charlie

Matthew Small

Re: ISDN how-to for 4.1.1: here is it!
« Reply #16 on: May 30, 2001, 01:14:36 PM »
Hi all!

Thanks for the tips. I'd been wondering how to get my NETjet working in e-smith :-) . I'm going to try again on the weekend using the information given (I'm currently using a plain rh6.2 install).

I'm curious though - does the end result of the instructions give dual channel (128k) access (is that what the 'Line 1 Line2' entry does?), and if so does it automatically keep both channels up?

Thanks again!

--Matt ;^]

guestFF

Re: ISDN how-to for 4.1.1: here is it!
« Reply #17 on: June 27, 2001, 04:01:59 PM »
Hi Matthew,

Take a look at this thread. Maybe it helps.

http://forums.contribs.org/index.php?topic=10847.msg40927#msg40927

Regards,

RequestedDeletion

Wolfgang Vonderschmitt

Re: ISDN how-to for 4.1.1: here is it!
« Reply #18 on: September 19, 2001, 06:00:07 PM »
Hello,

I can't connect to my isp ( T-Online) with e-smith4.1.2 and Teles16.3
when I boot the e-smith, I can see:
loaded -->isdn4es = o.k.
also my clients have connection to e-smith, I can use the html-manager,
so far so good.
on second shell, I tried several commands with following results:

lsmod =
hisax
isdn ( hisax)
slhc ( slip ppp-4mppe isdn )

tail -f /var/log/messages=
e-smith diald(699) : delaying 10 seconds before clear to dial
e-smith diald(699) : calling site 0.0.0.0
e-smith chat(1472): abort on (busy)
e-smith chat(1472): abort on (error)
e-smith chat(1472): abort on (no carrier)
e-smith chat(1472): abort on (no dialtone)
e-smith chat(1472): abort on (invalid login)
e-smith chat(1472): abort on (login incorrect)
e-smith chat(1472): report (connect)
e-smith chat(1472): expect (atz&86663)
e-smith chat(1472): alarm
e-smith chat(1472): failed
e-smith chat(1472): connect script failed.

btw:
on the same pc I can use also fli4l ( one disc floppy linux router), that means my teles16.3 is o.k. with irq and io.
So I use the same settings with e-smith.
any help will be really appreciated

ciao wolfgang

Peter van Hameren

Re: ISDN how-to add-on for 5.0: options line in "module
« Reply #19 on: October 23, 2001, 02:38:50 AM »
Don't forget to create a custom template for the line 'options hisax type=x protocol=x irq=x io=x' in directory /etc/e-smith/templates-custom/etc/modules.conf

Create a file called '10hisax' and put in the line mentioned above with your specific parameters.

Otherwise settings will be lost if you run the configuration console to add or modify settings or if you run '/sbin/e-smith/signal-event console-save' from the command line.

Grt.

P.

-----------------------------

Engelmann wrote:
>
>    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)
>
> 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 ;)
>
> 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
>
> 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 )
>
> 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
>
> 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';
> }
> 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 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 ;)
>
> 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
>     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 HOPE THIS WILL HELP U......
>
> your engel.
> engelmann@etecs.de

Ferg

Re: ISDN how-to add-on for 5.0: options line in "module
« Reply #20 on: November 05, 2001, 06:56:58 PM »
I am having trouble getting 5.0 to work with ISDN

I have created the template Peter suggested and it seems to be dialing ok (tried with a landline number and it does dial out) but can not get it to authenticate with my isp.

Does anyone know of any other changes i might need to make, which log files should i look at to get more info.

complete linux newbie, so appologies if these are silly questions.

tia
 Fergus

xychix

Re: is there dial on demand and idletime support ?
« Reply #21 on: February 25, 2002, 10:44:49 AM »
can esmith connect to the internet when one of the clients in the networks request a www page ?

and can i set a idle time so esmith doe'sn't keep my line open all day ??

Terry Brummell

Re: is there dial on demand and idletime support ?
« Reply #22 on: February 25, 2002, 01:46:23 PM »
It's all in the manual....

Choice     HTTP Timeout  Other Timeout  
Short       3 minutes           30 seconds  
Medium   10 minutes          5 minutes  
Long        20 minutes         10 minutes  

xychix wrote:
>
> can esmith connect to the internet when one of the clients in
> the networks request a www page ?
>
> and can i set a idle time so esmith doe'sn't keep my line
> open all day ??