Hanging initialization

Marc Eberhard (marc@poseidon.thphy.uni-duesseldorf.de)
Thu, 5 Sep 1996 15:36:24 +0200


Hi Ard!

ard@cstmel.hobby.nl wrote:
> 08/14 06:20:31 y06   voice command: 'AT#VSS=3' -> 'OK'
> 08/14 06:20:31 y06    vgetty: AT#VSS=3
> 08/14 06:20:31 y06    Rockwell: RING[00][ec]S=3
> 08/14 06:20:36 y06    Rockwell: RING
> ...
> 08/14 06:41:30 y06    Rockwell: RING
> 08/14 15:16:33 y06    Rockwell: RING
> 08/14 15:16:38 y06    Rockwell: RING
> etc...
> 
> As you can see, vgetty won't answer anymore.

It waits for the echo of the command. But it never appears. In priciple
vgetty should simple continue and ignore the RING. But the modem has some
problems. It does not echo the command. It echos: [00][ec]S=3 looks like the
ring interrupted the output routine and the modem didn't handle this
correctly. If it had answered 

RING
AT#VSS=3
RING
RING
OK

then vgetty should have work correctly. But if the modem starts to output
garbage instead of commands... 

> Should I see this as a modem bug?

My opinion: Yes.

> And how should it be solved? Should the modem

Buy a better modem. :-)

> be reinitialized if a part fails, or should the
> ring be detected, or what?

The basic idea is to simply ignore the ring. This is what vgetty does.

Bye,
Marc

-------------------------------------------------------------------------------
Email: Marc.Eberhard@Uni-Duesseldorf.DE
WWW:   http://WWW.ThPhy.Uni-Duesseldorf.DE/~marc/