SW: Vgetty Problem - Zyxel 2864D

Bjoern Buerger (b.buerger@tu-bs.de)
Tue, 10 Feb 1998 18:11:44 +0100


Gert Doering wrote:
> Something weird is going on here. Seems like vgetty overrides the "-x9"
> run time configuration flag if ...
> 
> > 02/10 14:35:20 dem reading /etc/mgetty+sendfax/mgetty.config...
> > 02/10 14:35:20 dem conf lib: read: 'debug 4'
> 
> ... debug 4 is set in mgetty.config. Please try again, with "debug 9"
> in the config file (or nothing at all).
> 
> Please leave out all the "conf lib" and "key:" stuff, and start with
> the "check for lockfile" line after that.

Well, next try ... ;-)
Here is the logfile of Debug-level 9 :
---------------------------schnipp----------------------
--
02/10 17:53:34 dem vgetty: experimental test release 0.7.2 / 12Apr97
02/10 17:53:34 dem mgetty: experimental test release 1.1.8-Jul27
02/10 17:53:34 dem vgetty.c compiled at Nov 15 1997, 03:45:16
02/10 17:53:34 dem reading configuration data for port 'modem'
02/10 17:53:34 dem reading /etc/mgetty+sendfax/mgetty.config...
[skipped]
02/10 17:53:34 dem reading generic configuration from config file
/etc/mgetty+sendfax/voice.conf
[skipped]
02/10 17:53:34 dem reading program vgetty configuration from config
file /etc/mgetty+sendfax/voice.conf
02/10 17:53:34 dem reading port modem configuration from config file
/etc/mgetty+sendfax/voice.conf
02/10 17:53:34 dem reading /etc/mgetty+sendfax/voice.conf...
[skipped]
02/10 17:53:34 dem check for lockfiles
02/10 17:53:34 dem checklock: stat failed, no file
02/10 17:53:34 dem locking the line
02/10 17:53:34 dem makelock(modem) called
02/10 17:53:34 dem do_makelock: lock='/var/lock/LCK..modem'
02/10 17:53:34 dem lock made
02/10 17:53:35 dem tio_get_rs232_lines: status: RTS CTS DSR DTR
02/10 17:53:35 dem lowering DTR to reset Modem
02/10 17:53:35 dem tss: set speed to 115200 (10002)
02/10 17:53:35 dem tio_set_flow_control( HARD )
02/10 17:53:35 dem waiting for line to clear (VTIME), read: 
02/10 17:53:35 dem send: \dATQ0V1H0[0d]
02/10 17:53:36 dem waiting for ``OK''
02/10 17:53:36 dem got: ATQ0V1H0[0d]
02/10 17:53:36 dem CND: ATQ0V1H0[0d][0a]OK ** found **
02/10 17:53:36 dem send: ATS0=0Q0&D3&C1[0d]
02/10 17:53:36 dem waiting for ``OK''
02/10 17:53:36 dem got: [0d]
02/10 17:53:36 dem CND: OK[0a]ATS0=0Q0&D3&C1[0d]
02/10 17:53:36 dem CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
02/10 17:53:36 dem mdm_send: 'ATI'
02/10 17:53:36 dem got:[0d][0a]ATI[0d]
02/10 17:53:36 dem got:[0d][0a]2864[0d]
02/10 17:53:36 dem mdm_gis: string 1: '2864'
02/10 17:53:36 dem got:[0a][0d][0a]OK[0d]
02/10 17:53:36 dem mdm_identify: string '2864'
02/10 17:53:36 dem ZyXEL 2864(D) detected
02/10 17:53:36 dem mdm_send: 'ATI1'
02/10 17:53:36 dem got:[0a]ATI1[0d]
02/10 17:53:36 dem got:[0d][0a]52551[0d]
02/10 17:53:36 dem mdm_gis: string 1: '52551'
02/10 17:53:36 dem got:[0a][0d][0a]E2864 V 1.05  [0d]
02/10 17:53:36 dem mdm_gis: string 2: 'E2864 V 1.05  '
02/10 17:53:36 dem got:[0a][0d][0a]OK[0d]
02/10 17:53:36 dem additional info: 'E2864 V 1.05  '
02/10 17:53:36 dem mdm_send: 'AT+FCLASS=2.0'
02/10 17:53:36 dem got:[0a]AT+FCLASS=2.0[0d]
02/10 17:53:36 dem mdm_command: string 'AT+FCLASS=2.0'
02/10 17:53:36 dem got:[0d][0a]OK[0d]
02/10 17:53:36 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem mdm_send: 'AT+FAA=1;+FCR=1'
02/10 17:53:37 dem got:[0a]AT+FAA=1;+FCR=1[0d]
02/10 17:53:37 dem mdm_command: string 'AT+FAA=1;+FCR=1'
02/10 17:53:37 dem got:[0d][0a]OK[0d]
02/10 17:53:37 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem mdm_send: 'AT+FBO=1'
02/10 17:53:37 dem got:[0a]AT+FBO=1[0d]
02/10 17:53:37 dem mdm_command: string 'AT+FBO=1'
02/10 17:53:37 dem got:[0d][0a]OK[0d]
02/10 17:53:37 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem mdm_send: 'AT+FNR=1,1,1,0'
02/10 17:53:37 dem got:[0a]AT+FNR=1,1,1,0[0d]
02/10 17:53:37 dem mdm_command: string 'AT+FNR=1,1,1,0'
02/10 17:53:37 dem got:[0d][0a]OK[0d]
02/10 17:53:37 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem mdm_send: 'AT+FLI="49 531 2409304"'
02/10 17:53:37 dem got:[0a]AT+FLI="49 531 2409304"[0d]
02/10 17:53:37 dem mdm_command: string 'AT+FLI="49 531 2409304"'
02/10 17:53:37 dem got:[0d][0a]OK[0d]
02/10 17:53:37 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
02/10 17:53:37 dem got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
02/10 17:53:37 dem mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
02/10 17:53:37 dem got:[0d][0a]OK[0d]
02/10 17:53:37 dem mdm_command: string 'OK' -> OK
02/10 17:53:37 dem tss: set speed to 115200 (10002)
02/10 17:53:37 dem tio_set_flow_control( HARD )
02/10 17:53:37 dem detecting voice modem type
02/10 17:53:37 dem vgetty: ATE1
02/10 17:53:37 dem voice command: '' -> 'OK|ATE1'
02/10 17:53:37 dem serial port: ATE1
02/10 17:53:37 dem serial port: OK
02/10 17:53:37 dem voice command: 'ATI' -> ''
02/10 17:53:37 dem vgetty: ATI
02/10 17:53:37 dem serial port: ATI
02/10 17:53:37 dem serial port: 2864
02/10 17:53:37 dem ZyXEL 2864: OK
02/10 17:53:37 dem ZyXEL 2864 detected
02/10 17:53:37 dem vgetty: queued event 0x4000 at position 0000
02/10 17:53:37 dem initializing ZyXEL 2864 voice modem
02/10 17:53:37 dem voice command: 'ATS48.5=1' -> 'OK'
02/10 17:53:37 dem vgetty: ATS48.5=1
02/10 17:53:37 dem ZyXEL 2864: ATS48.5=1
02/10 17:53:37 dem ZyXEL 2864: OK
02/10 17:53:37 dem voice command: 'ATS40.3=1 S40.4=1 S40.5=1 S40.6=1'
-> 'OK'
02/10 17:53:38 dem vgetty: ATS40.3=1 S40.4=1 S40.5=1 S40.6=1
02/10 17:53:38 dem ZyXEL 2864: ATS40.3=1 S40.4=1 S40.5=1 S40.6=1
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem voice command: 'AT+VIT=100' -> 'OK'
02/10 17:53:38 dem vgetty: AT+VIT=100
02/10 17:53:38 dem ZyXEL 2864: AT+VIT=100
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem voice command: 'AT+VDD=6,6' -> 'OK'
02/10 17:53:38 dem vgetty: AT+VDD=6,6
02/10 17:53:38 dem ZyXEL 2864: AT+VDD=6,6
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem voice command: 'AT+VSD=12,70' -> 'OK'
02/10 17:53:38 dem vgetty: AT+VSD=12,70
02/10 17:53:38 dem ZyXEL 2864: AT+VSD=12,70
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem voice command: 'AT+VGT=128' -> 'OK'
02/10 17:53:38 dem vgetty: AT+VGT=128
02/10 17:53:38 dem ZyXEL 2864: AT+VGT=128
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem voice command: 'AT+VGR=128' -> 'OK'
02/10 17:53:38 dem vgetty: AT+VGR=128
02/10 17:53:38 dem ZyXEL 2864: AT+VGR=128
02/10 17:53:38 dem ZyXEL 2864: OK
02/10 17:53:38 dem waiting for line to clear (VTIME), read: 
02/10 17:53:38 dem removing lock file
02/10 17:53:38 dem waiting...
02/10 17:54:47 dem select returned 1
02/10 17:54:47 dem checking lockfiles, locking the line
02/10 17:54:47 dem makelock(modem) called
02/10 17:54:47 dem do_makelock: lock='/var/lock/LCK..modem'
02/10 17:54:47 dem lock made
02/10 17:54:47 dem vgetty: number of rings (5) was set directly
02/10 17:54:47 dem waiting for ``RING_''
02/10 17:54:47 dem got: [0d]
02/10 17:54:47 dem CND: OK[0a]RING[0d]
02/10 17:54:47 dem CND: RING ** found **
02/10 17:54:47 dem waiting for ``RING_''
02/10 17:54:47 dem got: [0a][0d][0a]RING[0d]
02/10 17:54:53 dem CND: RING ** found **
02/10 17:54:53 dem waiting for ``RING_''
02/10 17:54:53 dem got: [0a][0d][0a]RING[0d]
02/10 17:54:59 dem CND: RING ** found **
02/10 17:54:59 dem waiting for ``RING_''
02/10 17:54:59 dem got: [0a][0d][0a]RING[0d]
02/10 17:55:05 dem CND: RING ** found **
02/10 17:55:05 dem waiting for ``RING_''
02/10 17:55:05 dem got: [0a][0d][0a]RING[0d]
02/10 17:55:11 dem CND: RING ** found **
02/10 17:55:11 dem reading ring_type ring configuration from config
file /etc/mgetty+sendfax/voice.conf
02/10 17:55:11 dem reading /etc/mgetty+sendfax/voice.conf...
02/10 17:55:11 dem conf lib: read: 'part generic'
02/10 17:55:11 dem found CT_KEYWORD part generic
[skipped]
02/10 17:55:11 dem vgetty: answer mode was set directly
02/10 17:55:11 dem vgetty: answer mode is [data|fax|voice]
02/10 17:55:11 dem vgetty: opening list file
/var/spool/voice/messages/Index
02/10 17:55:11 dem vgetty: message name is
/var/spool/voice/messages/standard.rmd
02/10 17:55:11 dem vgetty: entering voice mode
02/10 17:55:11 dem vgetty: Installing signal handlers
02/10 17:55:11 dem vgetty: queued event 0x4000 at position 0001
02/10 17:55:11 dem voice command: 'AT+FCLASS?' -> ''
02/10 17:55:11 dem vgetty: AT+FCLASS?
02/10 17:55:11 dem ZyXEL 2864: AT+FCLASS?
02/10 17:55:11 dem ZyXEL 2864: 2.0
02/10 17:55:11 dem voice command: '' -> 'OK'
02/10 17:55:12 dem ZyXEL 2864: OK
02/10 17:55:12 dem voice command: 'AT+FCLASS=8' -> 'OK'
02/10 17:55:12 dem vgetty: AT+FCLASS=8
02/10 17:55:12 dem ZyXEL 2864: AT+FCLASS=8
02/10 17:55:12 dem ZyXEL 2864: OK
02/10 17:55:12 dem vgetty: queued event 0x4000 at position 0002
02/10 17:55:12 dem voice command: 'AT+VLS=2' -> 'OK|CONNECT'
02/10 17:55:12 dem vgetty: AT+VLS=2
02/10 17:55:12 dem ZyXEL 2864: AT+VLS=2
02/10 17:55:12 dem ZyXEL 2864: OK
02/10 17:55:12 dem playing voice file
/var/spool/voice/messages/standard.rmd
02/10 17:55:12 dem vgetty: Could not open voice file: No such file or
directory
02/10 17:55:12 dem vgetty: Could not play greeting message: No such
file or directory
02/10 17:55:12 dem vgetty: queued event 0x4000 at position 0003
02/10 17:55:12 dem voice command: 'AT+VTS=[933,0,150]' -> ''
02/10 17:55:12 dem vgetty: AT+VTS=[933,0,150]
02/10 17:55:12 dem ZyXEL 2864: AT+VTS=[933,0,150]
02/10 17:55:13 dem voice command: '' -> 'OK'
02/10 17:55:14 dem ZyXEL 2864: OK
02/10 17:55:14 dem recording voice file
/var/spool/voice/incoming/va00138.rmd
02/10 17:55:14 dem vgetty: queued event 0x4000 at position 0004
02/10 17:55:14 dem voice command: 'AT+VSM=2,9600' -> 'OK'
02/10 17:55:14 dem vgetty: AT+VSM=2,9600
02/10 17:55:14 dem ZyXEL 2864: AT+VSM=2,9600
02/10 17:55:14 dem ZyXEL 2864: ERROR
02/10 17:55:14 dem vgetty: Modem returned ERROR: No such file or
directory
02/10 17:55:14 dem vgetty: Illeagal compression method 0x0002, speed
9600: No such file or directory
02/10 17:55:14 dem vgetty: Could not record a message: No such file or
directory
[restart]
---------------------------schnapp----------------------

Ciao, Bjoern
-- 
----------------------------------------------------
Bjoern Buerger - Student of electrical engineering
Technical University Braunschweig / Germany
contact: bbuerger@tu-bs.de
w3-site: bbs.home.pages.de
PGP-Key ID: 0xF4B3CF51 wwwkeys.nl.pgp.net
----------------------------------------------------
.