[Prev][Next][Index][Thread]
Re: Modem Problems
And yet another possible solution (and probably a more effective one since
it's highly probable that the dial-in session does'nt *die* properly and a
.logout script wont be executed). So, why not have a cron script check
every 5 min. or so whether there's an active session under the specific
account you set up for dial-in sessions -> if there is'nt then send ATZ to
/dev/modem (just to be on the safe side - every 5 minutes) if there is
check whether this session is idle for more then 5-10 minutes (up to you)
and if so, again, send ATZ to the modem.
--------------------------------------------------------------------------
- | |
- Ze'ev Maor | "We all have a little Daemon inside... |
- gmaor@tx.technion.ac.il | ...Waiting to come out and become a kernel"|
- | |
--------------------------------------------------------------------------
On Thu, 11 Jul 1996, Jonathan Ben-Avraham wrote:
> Hi!
> I have a number of sites using various modems. They all have a common
> problem: Sometimes the modem does not get reset and then you cant
> connect to the site again without someone physically resetting the modem.
>
> Further details:
> Scenario 1:
> I call from my home to tcltek.co.il. In the middle of the session the line
> drops. I then redial. The modem on my linux 1.3.99 does not pick up the
> phone. I kill the getty process ( inittab restarts it). I call again.
> Still no answer untill I reboot.
> Scenario 2:
> I call into another linux 1.3.99 box that has modems attached to
> a Stallion 4port board. The modems answer. I login and work, then
> logout as usual. I call in a second time. The modem does not
> answer. The behavior is not entirely consistent. Sometimes I can
> call in two or three times, then the next call is not answered
> until I reset the modem.
>
> I tried putting an "OFF" directive in my/etc/defaults/uugetty.ttyS1 file
> like the INIT directive, but it doesn't help. Using Slackware 1.2.13
> distribution (from the SAMS yellow book) with 1.3.99 kernel and latest
> getty_ps.
>
> Can anyone help please?
>
> - yba
>
> TclTek Ltd. "Don't laugh, we're serious!" ~. .~
> =}----------------------------------------------------ooO--U--Ooo------{=
> - benavrhm@tcltek.co.il - tel: +972.52.670.353, http://www.tcltek.co.il -
>
References: