ZyXEL 1496 and 2864 combo won't pick up with vgetty

Ben Stuyts (benst@terminus.stuyts.nl)
Tue, 2 Sep 1997 01:38:07 +0200


Hi Gert,

> Ben Stuyts wrote:
> > I have a ZyXEL U-1496E Plus connected to the A/B output of an Elite 2864I.
> > I have mgetty running on the 2864, and vgetty on the 1496 for voice only.
> > Vgetty is configured to pick up after 4 rings. The problem is, that often
> > the 1496 will not recognise one or two rings, basically resetting vgetty
> > and people calling me have to wait for 8 or 9 rings before the 1496
> > answers.
>
> Now this sounds like a problem in the 2864's RING generation -- I'd
> complain to ZyXEL support (except that they don't listen to me anymore).
>
> One thing to try would be to connect a standard POTS telephone to the A/B
> port, and sound whether it actually skips a RING here and there...

I tried that. The standard phone doesn't skip rings, so that means the 
problem must be in the 1496. I'll swap it with one at the office and see what 
happens. The 1496 worked flawlessly in my pre-ISDN days though.

> As a workaround, you can increase the "ring_chat_timeout" in mgetty.c, to
> 20 seconds or so, but this means that it will take longer to notice if
> the phone *really* stopped ringing... some next version will propably
> have the "ring-chat-timeout" configurable, but there wasn't any need for
> this up to day.

I'm going to try that next. I installed the latest mgetty, but it doesn't 
change. I sent some mail off to the ZyXEL support a couple of days ago, but 
didn't receive an answer or confirmation yet.

> [..]
> > 08/10 10:02:00 aa1 error removing lock file (huh?!): No such file or directory
>
> This is very unusual. Could you crank up the log level to "debug 6", and
> if that happens again, show me the 30-odd lines surrounding this?

Here it is. Still doesn't make sense to me.

09/01 17:22:01 aa1 waiting...
09/01 19:02:00 aa1 select returned 0
09/01 19:02:00 aa1 checking if modem is still alive
09/01 19:02:00 aa1 makelock(cuaa1) called
09/01 19:02:00 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
09/01 19:02:00 aa1 lock made
09/01 19:02:00 aa1 mdm_send: 'AT'
09/01 19:02:00 aa1 got:[0a]AT[0d]
09/01 19:02:00 aa1 mdm_command: string 'AT'
09/01 19:02:00 aa1 got:[0d][0a]OK[0d]
09/01 19:02:00 aa1 mdm_command: string 'OK' -> OK
09/01 19:02:00 aa1 waiting for line to clear (VTIME), read:
09/01 19:02:00 aa1 removing lock file
09/01 19:02:00 aa1 waiting...
09/01 20:02:00 aa1 select returned 0
09/01 20:02:00 aa1 checking if modem is still alive
09/01 20:02:00 aa1 makelock(cuaa1) called
09/01 20:02:00 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
09/01 20:02:00 aa1 lock made
09/01 20:02:00 aa1 mdm_send: 'AT'
09/01 20:02:00 aa1 got:[0a]AT[0d]
09/01 20:02:00 aa1 mdm_command: string 'AT'
09/01 20:02:00 aa1 got:[0d][0a]OK[0d]
09/01 20:02:00 aa1 mdm_command: string 'OK' -> OK
09/01 20:02:00 aa1 waiting for line to clear (VTIME), read:
09/01 20:02:00 aa1 removing lock file
09/01 20:02:00 aa1 error removing lock file (huh?!): No such file or directory
09/01 20:02:00 aa1 waiting...
09/01 21:42:00 aa1 select returned 0
09/01 21:42:00 aa1 checking if modem is still alive
09/01 21:42:00 aa1 makelock(cuaa1) called
09/01 21:42:00 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
09/01 21:42:00 aa1 lock made
09/01 21:42:00 aa1 mdm_send: 'AT'
09/01 21:42:00 aa1 got:[0a]AT[0d]
09/01 21:42:00 aa1 mdm_command: string 'AT'
09/01 21:42:00 aa1 got:[0d][0a]OK[0d]
09/01 21:42:00 aa1 mdm_command: string 'OK' -> OK
09/01 21:42:00 aa1 waiting for line to clear (VTIME), read:
09/01 21:42:00 aa1 removing lock file
09/01 21:42:00 aa1 waiting...
09/01 23:02:00 aa1 select returned 0
09/01 23:02:00 aa1 checking if modem is still alive
09/01 23:02:00 aa1 makelock(cuaa1) called
09/01 23:02:00 aa1 do_makelock: lock='/var/spool/lock/LCK..cuaa1'
09/01 23:02:00 aa1 lock made
09/01 23:02:00 aa1 mdm_send: 'AT'
09/01 23:02:00 aa1 got:[0a]AT[0d]
09/01 23:02:00 aa1 mdm_command: string 'AT'
09/01 23:02:00 aa1 got:[0d][0a]OK[0d]
09/01 23:02:00 aa1 mdm_command: string 'OK' -> OK
09/01 23:02:00 aa1 waiting for line to clear (VTIME), read:
09/01 23:02:00 aa1 removing lock file
09/01 23:02:00 aa1 waiting...

Maybe I should instrument the code a bit around that place. Let me know.

Best regards,
Ben
.