Koozali.org: home of the SME Server

ISDN how-to for 4.1.1: here is it!

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 ??