I did follow it, everything works, but my connect script failed, how can i solves this problem.
Thanks
Ronald TanisEngelmann 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