Koozali.org: home of the SME Server

diald - connection never down

Jean-Francois Zahnen

diald - connection never down
« on: September 08, 2000, 01:53:44 PM »
I have an ISDN external modem, (asuscom TA200) after having modified init string (removed volume instructions and so on) everything was ok. (ATQ0 V1 E1 B4 and ATDTphone number)  

I set connection time to short for each situation.
I read that it was normal that diald initiate a connection at boot time  but in fact it never goes down.

If  I restart diald (/etc/rc.d/init.d/diald restart) connection is dropped.  If I open an internet browser on one of the workstation diald connect (so far so good) but stay connected.  (in fact after one hour I stopped waiting)  By the way what is approximatively short, medium and long in seconds ?

Is there something to do with isdn (init string or so) and return codes

if up and if down are working properly.
Thanks in advance for your help.

Jean-Francois

Fred Hage

RE: diald - connection never down
« Reply #1 on: September 14, 2000, 07:55:00 PM »
There are several possibilities why the connection is not closed. You should examine the logfiles to find out what is going on. In case the e-smith server or workstations on the LAN are not responsible for keeping the connection open by generating datatraffic to or from Internet, you can try to use the following feature of the AsusCom TA to have a work-around (copied from the manual):

ATS30
Disconnect the connection automatically if there is no data
transmission in n*10 seconds (n=0 to 255, default S30=0, it
will not disconnect the connection)

So, by connecting your TA to the serial port of a PC and using a program like Hyperterminal, you can set the idle connection time to 5 minutes with the command 'ATS30=30'. Don't forget to save this new configuration with 'AT&W'!Jean-Francois Zahnen wrote:

> I have an ISDN external modem, (asuscom TA200) after having
> modified init string (removed volume instructions and so on)
> everything was ok. (ATQ0 V1 E1 B4 and ATDTphone number)
>
> I set connection time to short for each situation. I read that
> it was normal that diald initiate a connection at boot time
> but in fact it never goes down.
>
> If  I restart diald (/etc/rc.d/init.d/diald restart) connection
> is dropped.  If I open an internet browser on one of the
> workstation diald connect (so far so good) but stay connected.
> (in fact after one hour I stopped waiting)  By the way what is
> approximatively short, medium and long in seconds ?
>
> Is there something to do with isdn (init string or so) and
> return codes
>
> if up and if down are working properly. Thanks in advance for
> your help.
>
> Jean-Francois

Jean-Francois Zahnen

RE: diald - connection never down
« Reply #2 on: September 18, 2000, 02:47:05 PM »
Tx a lot for your help.

Jean-Francois