Microcom ISPorte or DeskPorte and mgetty?
Milos Wimmer (Milos.Wimmer@zcu.cz)
Fri, 31 Oct 1997 18:28:44 +0100
Hello,
Is anyone using a Microcom ISPorte or DeskPorte FAX modem and mgetty?
I have a problem with running them...
When I receive a fax which is longer than 1 page, mgetty reportes after
first page
"0 lines received, 0 lines bad, 0 bytes lost"
and it finishes the session (BTW - the received page is complete and it is
O.k.)
I think it is a problem of Microcom Modems or my configuration for it (now
I'm using the standard configuration), because I tried to run mgetty with
borrowed ZyXEL and USR modems without problems.
I tried to change the flow control and other things in configuration of
mgetty - without success...
Here is my log file:
--
10/25 13:16:54 yD2 mgetty: experimental test release 1.1.9-Aug17
10/25 13:16:54 yD2 check for lockfiles
10/25 13:16:54 yD2 checklock: stat failed, no file
10/25 13:16:54 yD2 locking the line
10/25 13:16:54 yD2 makelock(ttyD2) called
10/25 13:16:54 yD2 do_makelock: lock='/var/lock/LCK..ttyD2'
10/25 13:16:54 yD2 lock made
10/25 13:16:55 yD2 tio_get_rs232_lines: status: RTS CTS DTR
10/25 13:16:55 yD2 WARNING: DSR is off - modem turned off or bad cable?
10/25 13:16:55 yD2 lowering DTR to reset Modem
10/25 13:16:55 yD2 tss: set speed to 38400 (017)
10/25 13:16:55 yD2 tio_set_flow_control( HARD )
10/25 13:16:55 yD2 waiting for line to clear (VTIME), read:
10/25 13:16:55 yD2 send: \dATQ0V1H0[0d]
10/25 13:16:56 yD2 waiting for ``OK''
10/25 13:16:56 yD2 got: ATQ0V1H0[0d]
10/25 13:16:56 yD2 CND: ATQ0V1H0[0d][0a]OK ** found **
10/25 13:16:56 yD2 send: ATS0=0Q0&D3&C1[0d]
10/25 13:16:56 yD2 waiting for ``OK''
10/25 13:16:56 yD2 got: [0d]
10/25 13:16:56 yD2 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
10/25 13:16:56 yD2 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
10/25 13:16:56 yD2 mdm_send: 'ATI'
10/25 13:16:56 yD2 got:[0d][0a]ATI[0d]
10/25 13:16:56 yD2 got:[0d][0a]2880[0d]
10/25 13:16:56 yD2 mdm_gis: string 1: '2880'
10/25 13:16:56 yD2 got:[0a][0d][0a]OK[0d]
10/25 13:16:56 yD2 mdm_identify: string '2880'
10/25 13:16:56 yD2 unknown numerical modem id 2880
10/25 13:16:56 yD2 mdm_send: 'AT+FCLASS=2.0'
10/25 13:16:56 yD2 got:[0a]AT+FCLASS=2.0[0d]
10/25 13:16:56 yD2 mdm_command: string 'AT+FCLASS=2.0'
10/25 13:16:56 yD2 got:[0d][0a]OK[0d]
10/25 13:16:56 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:56 yD2 mdm_send: 'AT+FAA=0;+FCR=1'
10/25 13:16:56 yD2 got:[0a]AT+FAA=0;+FCR=1[0d]
10/25 13:16:56 yD2 mdm_command: string 'AT+FAA=0;+FCR=1'
10/25 13:16:56 yD2 got:[0d][0a]OK[0d]
10/25 13:16:56 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:56 yD2 mdm_send: 'AT+FBO=1'
10/25 13:16:56 yD2 got:[0a]AT+FBO=1[0d]
10/25 13:16:56 yD2 mdm_command: string 'AT+FBO=1'
10/25 13:16:56 yD2 got:[0d][0a]OK[0d]
10/25 13:16:56 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:56 yD2 mdm_send: 'AT+FNR=1,1,1,0'
10/25 13:16:56 yD2 got:[0a]AT+FNR=1,1,1,0[0d]
10/25 13:16:56 yD2 mdm_command: string 'AT+FNR=1,1,1,0'
10/25 13:16:56 yD2 got:[0d][0a]OK[0d]
10/25 13:16:56 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:57 yD2 mdm_send: 'AT+FLI="+420-19-7222424"'
10/25 13:16:57 yD2 got:[0a]AT+FLI="+420-19-7222424"[0d]
10/25 13:16:57 yD2 mdm_command: string 'AT+FLI="+420-19-7222424"'
10/25 13:16:57 yD2 got:[0d][0a]OK[0d]
10/25 13:16:57 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:57 yD2 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
10/25 13:16:57 yD2 got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
10/25 13:16:57 yD2 mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
10/25 13:16:57 yD2 got:[0d][0a]OK[0d]
10/25 13:16:57 yD2 mdm_command: string 'OK' -> OK
10/25 13:16:57 yD2 waiting for line to clear (VTIME), read:
10/25 13:16:57 yD2 removing lock file
10/25 13:16:57 yD2 waiting...
10/25 13:18:13 yD2 select returned 1
10/25 13:18:13 yD2 checking lockfiles, locking the line
10/25 13:18:13 yD2 makelock(ttyD2) called
10/25 13:18:13 yD2 do_makelock: lock='/var/lock/LCK..ttyD2'
10/25 13:18:13 yD2 lock made
10/25 13:18:13 yD2 waiting for ``RING''
10/25 13:18:13 yD2 got: [0d]
10/25 13:18:13 yD2 CND: OK[0a]RING ** found **
10/25 13:18:13 yD2 send: ATA[0d]
10/25 13:18:13 yD2 waiting for ``CONNECT''
10/25 13:18:13 yD2 got: [0d]
10/25 13:18:13 yD2 CND: RING[0a]ATA[0d]
10/25 13:18:13 yD2 CND: ATA[0d][0a]+FCO[0d]
10/25 13:18:23 yD2 CND: +FCO
10/25 13:18:23 yD2 found action string: ``+FCO_''
10/25 13:18:23 yD2 start fax receiver...
10/25 13:18:23 yD2 fax receiver: entry
10/25 13:18:23 yD2 fax_wait_for(OK)
10/25 13:18:23 yD2 got:[0a][0a][0d][0a]+FTI:+420-19-7222425"[0d]
10/25 13:18:24 yD2 fax_wait_for: string '+FTI:+420-19-7222425"'
10/25 13:18:24 yD2 fax_id: '+FTI:+420-19-7222425"'
10/25 13:18:24 yD2 got:[0a]+FCS:1,5,0,2,0,0,0,0[0d]
10/25 13:18:24 yD2 fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
10/25 13:18:24 yD2 transmission par.: '+FCS:1,5,0,2,0,0,0,0'
10/25 13:18:24 yD2 got:[0a][0d][0a]OK[0d]
10/25 13:18:27 yD2 fax_wait_for: string 'OK'** found **
10/25 13:18:27 yD2 looking for utmp entry... (my PID: 10704)
10/25 13:18:27 yD2 utmp + wtmp entry made
10/25 13:18:27 yD2 tio_set_flow_control( HARD XON_IN )
10/25 13:18:27 yD2 mdm_send: 'AT+FLO=2'
10/25 13:18:27 yD2 got:[0a]AT+FLO=2[0d]
10/25 13:18:27 yD2 mdm_command: string 'AT+FLO=2'
10/25 13:18:27 yD2 got:[0d][0a]OK[0d]
10/25 13:18:27 yD2 mdm_command: string 'OK' -> OK
10/25 13:18:27 yD2 fax_send: 'AT+FDR'
10/25 13:18:27 yD2 fax_wait_for(CONNECT)
10/25 13:18:27 yD2 got:[0a]AT+FDR[0d]
10/25 13:18:27 yD2 fax_wait_for: string 'AT+FDR'
10/25 13:18:27 yD2 got:[0d][0a]+FCS:1,5,0,2,0,0,0,0[0d]
10/25 13:18:28 yD2 fax_wait_for: string '+FCS:1,5,0,2,0,0,0,0'
10/25 13:18:28 yD2 transmission par.: '+FCS:1,5,0,2,0,0,0,0'
10/25 13:18:28 yD2 got:[0a][0d][0a]CONNECT[0d]
10/25 13:18:29 yD2 fax_wait_for: string 'CONNECT'** found **
10/25 13:18:29 yD2 sending DC2
10/25 13:18:29 yD2 fax_get_page_data: wait for EOL, got: [0a][ff][e0][0a]sf[a0][02][9b]5[00]
10/25 13:18:29 yD2 fax_get_page_data: receiving /var/spool/fax/incoming/ff451d575D2-+420-19-7222425.01...
10/25 13:18:37 yD2 fax_get_page_data: page end, bytes received: 14393
10/25 13:18:37 yD2 fax_wait_for(OK)
10/25 13:18:37 yD2 got:[0d][0a]+FPS:1,0,0,0[0d]
10/25 13:18:38 yD2 fax_wait_for: string '+FPS:1,0,0,0'
10/25 13:18:38 yD2 page status: +FPS:1,0,0,0
10/25 13:18:38 yD2 0 lines received, 0 lines bad, 0 bytes lost
10/25 13:18:38 yD2 got:[0a][0d][0a]+FET:0[0d]
10/25 13:18:38 yD2 fax_wait_for: string '+FET:0'
10/25 13:18:38 yD2 got:[0a][0d][0a]OK[0d]
10/25 13:18:38 yD2 fax_wait_for: string 'OK'** found **
10/25 13:18:38 yD2 Page doesn't look good, request retrain (MPS)
10/25 13:18:38 yD2 fax_send: 'AT+FPS=2'
10/25 13:18:38 yD2 fax_wait_for(OK)
10/25 13:18:38 yD2 got:[0a]AT+FPS=2[0d]
10/25 13:18:38 yD2 fax_wait_for: string 'AT+FPS=2'
10/25 13:18:38 yD2 got:[0d][0a]ERROR[0d]
10/25 13:18:38 yD2 fax_wait_for: string 'ERROR'
10/25 13:18:38 yD2 ABORTING: line='ERROR'
10/25 13:18:38 yD2 fax_send: 'AT+FDR'
10/25 13:18:38 yD2 fax_wait_for(CONNECT): already hangup!
10/25 13:18:38 yD2 fax receiver: hangup & end
10/25 13:18:38 yD2 fax_notify_mail: sending mail to: faxadm
10/25 13:18:39 yD2 notify: '/home/faxadm/server/bin/new_fax -4 '+420-19-7222425' 1 /var/spool/fax/incoming/ff451d575D2-+420-19-7222425.01 >/dev/console 2>&1 </dev/null'
10/25 13:18:39 ##### fax dev=ttyD2, pid=10704, caller=none, name='', id='+420-19-7222425_', +FHNG=-04, pages=1, time=00:00:25_
10/25 13:18:40 yD2 mdm_send: 'ATH0'
10/25 13:18:40 yD2 got:[0a][0d][0a]CONNECT[0d]
10/25 13:18:44 yD2 mdm_command: string 'CONNECT'
10/25 13:18:44 yD2 got:[0a]
10/25 13:18:50 yD2 Warning: got alarm signal!
10/25 13:18:50 yD2 mdm_read_byte: read returned -1: Interrupted system call
10/25 13:18:50 yD2 mdm_get_line: cannot read byte, return: Interrupted system call -> ERROR
10/25 13:18:50 yD2 removing lock file
--
Thank you _very_ much in advance for any help or suggestion.
Regards,
Milos Wimmer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Milos Wimmer
Internet Services Specialist e-mail: Milos.Wimmer@zcu.cz
Laboratory for Computer Science
University of West Bohemia phone : +420-19-7222424 /263
Univerzitni 8, 306 14 Plzen fax : +420-19-7222435
Czech Republic, Europe WWW : http://www.zcu.cz/~wimmer/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.