Problems with vgetty
Guillermo Moreno (phantom@jazzfree.com)
Thu, 28 Oct 1999 18:43:42 +0200
Hi,
My modem it is a trust communicator 33k6, I have configured successfully
mgetty
but i couldn't make work vgetty. I have try several configurations, but
still doesn't work
Here is the log (level 4), if it's necesary a higher level, please make
me know.
10/28 18:19:27 yS1 vgetty: experimental test release 0.9.4 / 20Jul99
10/28 18:19:27 yS1 mgetty: experimental test release 1.1.21-Jul24
10/28 18:19:27 yS1 reading generic configuration from config file
/etc/mgetty+sen
dfax/voice.conf
10/28 18:19:27 yS1 reading program vgetty configuration from config
file /etc/mge
tty+sendfax/voice.conf
10/28 18:19:27 yS1 reading port ttyS1 configuration from config file
/etc/mgetty+
sendfax/voice.conf
10/28 18:19:27 yS1 check for lockfiles
10/28 18:19:27 yS1 locking the line
10/28 18:19:28 yS1 WARNING: DSR is off - modem turned off or bad cable?
10/28 18:19:28 yS1 lowering DTR to reset Modem
10/28 18:19:29 yS1 send: \dATQ0V1H0[0d]
10/28 18:19:29 yS1 waiting for ``OK''
10/28 18:19:49 yS1 timeout in chat script, waiting for `OK' <---
This doesn't happend with mgetty
10/28 18:19:49 yS1 init chat timed out, trying force-init-chat
10/28 18:19:49 yS1 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
10/28 18:19:53 yS1 waiting for ``OK'' ** found **
10/28 18:19:54 yS1 send: \dATQ0V1H0[0d]
10/28 18:19:55 yS1 waiting for ``OK'' ** found **
10/28 18:19:56 yS1 send: ATS0=0Q0&D3&C1[0d]
10/28 18:19:56 yS1 waiting for ``OK'' ** found **
10/28 18:19:56 yS1 mdm_send: 'AT+FCLASS=2' -> OK
10/28 18:19:56 yS1 mdm_send: 'AT+FCLASS=0' -> OK
10/28 18:19:56 yS1 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
10/28 18:19:57 yS1 mdm_send: 'AT+FBOR=0' -> OK
10/28 18:19:57 yS1 mdm_send: 'AT+FLID="+34 915610995"' -> OK
10/28 18:19:57 yS1 mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0' -> OK
10/28 18:19:57 yS1 detecting voice modem type
10/28 18:19:58 yS1 Rockwell detected
10/28 18:20:20 yS1 vgetty: timeout while reading character from voice
modem
10/28 18:20:20 yS1 initializing ROCKWELL voice modem
10/28 18:20:20 yS1 vgetty: Modem returned ERROR
10/28 18:20:20 yS1 can't set silence period
10/28 18:20:20 yS1 vgetty: Modem returned ERROR
10/28 18:20:20 yS1 can't disable silence deletion
10/28 18:20:21 yS1 vgetty: Modem returned ERROR
10/28 18:20:21 yS1 can't set DLE responses
10/28 18:20:21 yS1 vgetty: Modem returned ERROR
10/28 18:20:21 yS1 can't set silence threshold
10/28 18:20:21 yS1 vgetty: Modem returned ERROR
10/28 18:20:22 yS1 waiting...
And here a piece of the log level 6 (when the errors start):
10/28 18:26:37 yS1 Rockwell: OK
10/28 18:26:37 yS1 Rockwell detected
10/28 18:26:37 yS1 vgetty: entering voice mode
10/28 18:26:37 yS1 vgetty: Installing signal handlers
10/28 18:26:37 yS1 voice command: 'AT#CLS?' -> ''
10/28 18:26:37 yS1 vgetty: AT#CLS?
10/28 18:26:37 yS1 Rockwell: ERROR
10/28 18:26:37 yS1 voice command: '' -> 'OK'
10/28 18:26:37 yS1 Rockwell:
10/28 18:26:58 yS1 vgetty: timeout while reading character from voice
modem
10/28 18:26:58 yS1 vgetty: queued event RESET_WATCHDOG at position
0000
10/28 18:26:58 yS1 initializing ROCKWELL voice modem
10/28 18:26:58 yS1 voice command: 'AT#VSP=70' -> 'OK'
10/28 18:26:58 yS1 vgetty: AT#VSP=70
10/28 18:26:58 yS1 vgetty: unqueued event RESET_WATCHDOG at position
0000
10/28 18:26:58 yS1 vgetty: voice_handle_event got event
RESET_WATCHDOG with dat
a <NUL>
10/28 18:26:58 yS1 Rockwell: ERROR
10/28 18:26:58 yS1 vgetty: Modem returned ERROR
10/28 18:26:58 yS1 can't set silence period
10/28 18:26:58 yS1 voice command: 'AT#VSD=0' -> 'OK'
10/28 18:26:58 yS1 vgetty: AT#VSD=0
10/28 18:26:58 yS1 Rockwell:
10/28 18:26:58 yS1 vgetty: Got terminate signal
10/28 18:26:58 yS1 vgetty: queued event SIGNAL_SIGTERM at position
0001ERROR
10/28 18:26:58 yS1 vgetty: Modem returned ERROR
10/28 18:26:58 yS1 can't disable silence deletion
10/28 18:26:58 yS1 voice command: 'AT#VTD=3F,3F,3F' -> 'OK'
10/28 18:26:58 yS1 vgetty: AT#VTD=3F,3F,3F
10/28 18:26:58 yS1 vgetty: unqueued event SIGNAL_SIGTERM at position
0001
10/28 18:26:58 yS1 vgetty: voice_handle_event got event
SIGNAL_SIGTERM with dat
a <NUL>
10/28 18:26:58 yS1 Rockwell: ERROR
10/28 18:26:59 yS1 vgetty: Modem returned ERROR
10/28 18:26:59 yS1 can't set DLE responses
10/28 18:26:59 yS1 voice command: 'AT#VSS=1' -> 'OK'
10/28 18:26:59 yS1 vgetty: AT#VSS=1
10/28 18:26:59 yS1 Rockwell: ERROR
10/28 18:26:59 yS1 vgetty: Modem returned ERROR
10/28 18:26:59 yS1 can't set silence threshold
10/28 18:26:59 yS1 voice command: 'AT&K3' -> 'OK'
10/28 18:26:59 yS1 vgetty: AT&K3
10/28 18:26:59 yS1 Rockwell: OK
10/28 18:26:59 yS1 tio_set_flow_control( HARD )
10/28 18:26:59 yS1 vgetty: leaving voice mode
10/28 18:26:59 yS1 voice command: 'AT#CLS=ERROR' -> 'OK'
10/28 18:26:59 yS1 vgetty: AT#CLS=ERROR
10/28 18:26:59 yS1 Rockwell: ERROR
10/28 18:26:59 yS1 vgetty: Modem returned ERROR
10/28 18:26:59 yS1 vgetty: Restoring signal handlers
10/28 18:26:59 yS1 waiting for line to clear (VTIME), read:
10/28 18:27:00 yS1 removing lock file
10/28 18:27:00 yS1 waiting...
I will thank any help,
GM