At 14:15 +0100 10/12/99, NANDRIN Fr�d�ric wrote:
>Hello everyone ...
>
>Is it possible to establish a ISDN (Hisax eicon diva) connection (ippp0)
>with diald ?
>
>For the moment, I got two scripts :
>one to launch the connection and one to stop it ...
>
>But diald still does not start ... : Segmentation fault :(((
>PPP & SLIP are both in the kernel (2.2.6).
>I decided to recompile the diald 0.16 but I get about 20 'redefined' warnings
>Ok ...forget ...
>
>Or another way to launch a connection script when trying to access the
>defaultroute ?
To use an ISDN card with diald, use the pseudo-modem devices (/dev/ttyIx).
For example, to use device /dev/ttyI0 for the first ISDN modem channel. man
ttyI will give you the AT command set available. These devices imitate a
physical modem, and you work with them just like a real modem. Note that I
was unable to get the iprofd program, which normally saves and restores the
registers of the pseudo-modem device, to work. That's why I set the MSN and
blocksize at each connection attempt in the example below.
The other method (ussing sync PPP and the ippp0 interfaces) is something I
tried about three years ago and couldn't get to work. But then you don't
use diald, you use the ISDN4Linux tools to tell it to drop the line when
idle.
So, use the example I posted on wednesday (chat and vwdial) to see if you
can make a connection using minicom. I've tried with 3 Belgian ISPs (EUnet,
Euronet, and Skynet), and X75 with a 512 packet size seems to work well.
Your chat script would then be:
ABORT BUSY ABORT 'NO CARRIER' ABORT 'NO DIALTONE'
'' 'AT&E42522850&E512'
OK AT\d042246011\d
CONNECT ''
ogin:--ogin: XXXXX
assword:--assword: \qYYYYYYYY
In this example, your ISDN MSN is your second phone line (check with your
Belgacom installation documents), and the phone number is for EUnet in
Li�ge. I assume you use EUnet for your dialup connections as well as for
your WWW server.
Don't forget the blocksize setting (&E512), otherwise the default (2048 I
think) seems to choke EUnet terminal servers.
I'd also suggest compiling and installing diald version 0.99.1 (I haven't
tested 0.99.2 yet) yourself, then it will be happy with the libraries you
have on your machine and if it has problems, should do something more
gracefull than segfaulting.
I've also got a (slightly dated) document describing how to set up ISDN
cards in general, mail me if you want me to send it.
Good luck!
John
__________________________________________________________________
John Seifarth http://www.waw.be/waw/
Words & Wires SPRL [EMAIL PROTECTED]
Computer Consulting & Language Services Voice: (+) 32-2-660-3943
1160 Brussels, Belgium Fax: (+) 32-2-675-3922
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]