Vgetty problems
Tomi Orava (tomimo@ncircle.nullnet.fi)
Sun, 21 Jan 1996 02:42:04 +0100
Hello,
I tried the latest version of vgetty (Dec31) with ZyXEL 2864 modem
and I was unable to get for example the so called "button program"
to work properly.
I copied the supplied demo.sh script into ../spool/voice directory
and pressed Voice/Data button on the modem. The result was that vgetty
re-initialized itself right after the "HELLO SHELL" message.
log-file:
---------------------------------------------------------------------------
01/21 03:34:04 yS0 voice command: 'AT+FCLASS=8' -> 'OK'
01/21 03:34:04 yS0 vgetty: AT+FCLASS=8
01/21 03:34:04 yS0 ZyXEL 2864: AT+FCLASS=8
01/21 03:34:04 yS0 ZyXEL 2864: OK
01/21 03:34:04 yS0 vgetty: checking for message flag file /var/spool/voice/.f
01/21 03:34:04 yS0 ZyXEL 2864 handle event: Unknown event 1005
01/21 03:34:04 yS0 waiting for line to clear (VTIME), read:
01/21 03:34:04 yS0 removing lock file
01/21 03:34:04 yS0 waiting...
01/21 03:34:17 yS0 select returned 1
01/21 03:34:17 yS0 checking lockfiles, locking the line
01/21 03:34:17 yS0 makelock(ttyS0) called
01/21 03:34:17 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
01/21 03:34:17 yS0 lock made
01/21 03:34:17 yS0 vgetty: read number of rings (1) from file /etc/answer.tty
01/21 03:34:17 yS0 waiting for ``RING^M''
01/21 03:34:17 yS0 got: [0d]
01/21 03:34:17 yS0 CND: OK[0a]VCON
01/21 03:34:17 yS0 found action string: ``VCON''
01/21 03:34:17 yS0 vgetty: Executing shell script /var/spool/voice/button1.sh with shell /bin/sh
01/21 03:34:17 yS0 vgetty: opening pipes
01/21 03:34:17 yS0 vgetty: forking shell
01/21 03:34:17 yS0 vgetty: HELLO SHELL
--
01/21 03:34:18 yS0 conf lib: read: 'port_speed 57600'
01/21 03:34:18 yS0 conf lib: read: 'voice_log_level 7'
01/21 03:34:18 yS0 conf lib: read: 'voice_dir /var/spool/voice'
01/21 03:34:18 yS0 conf lib: read: 'receive_dir incoming'
01/21 03:34:18 yS0 conf lib: read: 'message_dir messages'
01/21 03:34:18 yS0 conf lib: read: 'message_flag_file .flag'
01/21 03:34:18 yS0 conf lib: read: 'program vgetty'
01/21 03:34:18 yS0 found CT_KEYWORD program vgetty
01/21 03:34:18 yS0 conf lib: read: 'rings /etc/answer'
--
Tomi Orava, email: tomimo@ncircle.nullnet.fi (UUCP)