Elink 343p

Sascha Ziemann (szi@khs-ag.de)
15 Jul 1999 1911:50:01 +0200


Gert Doering <gert@greenie.muc.de> writes:

| > 07/15 12:13:20 yC0   lock made
| > 07/15 12:13:20 yC0  wfr: waiting for ``RING''
| > 07/15 12:13:20 yC0   got: [0a][0d][0a]RING 1208  321[0d]
| > 07/15 12:13:20 yC0    CND: RING 1208  321
| 
| Interesting indeed.  Is that always *two* spaces between the two 
| numbers?  Or "at least one"?

I do not know.

| How does it look like if you call 
| from "further away", so that you have longer numbers in the message? "321"
| looks very much like a local telephone system...

Yes it is.  The modem runs at a Bosch telephone system.  It was quite
painfull to get it running.  It requires some special settings in the
telephone system.

| > Why does Mgetty identify the modem as "no class 2/2.0 faxmodem"?
| 
| Hard to say - you didn't show that part of the log file (the lines
| *before* the comment).  I can't read minds...

This is a complete log with an incoming external call:

07/15 12:13:28 yC0  mgetty: experimental test release 1.1.20-Jan17
07/15 12:13:28 yC0   mgetty.c compiled at Jul 15 1999, 12:04:47
07/15 12:13:28 yC0   user id: 0, parent pid: 1
07/15 12:13:28 yC0   reading configuration data for port 'ttyC0'
07/15 12:13:28 yC0   reading /usr/local/etc/mgetty+sendfax/mgetty.config...
07/15 12:13:28 yC0   conf lib: read: 'debug 4'
07/15 12:13:28 yC0   conf lib: read: 'fax-id 49 569 191 000'
07/15 12:13:28 yC0   conf lib: read: 'speed 38400'
07/15 12:13:28 yC0   conf lib: read: 'rings 2'
07/15 12:13:28 yC0   key: 'speed', type=0, flags=3, data=38400
07/15 12:13:28 yC0   key: 'switchbd', type=0, flags=1, data=0
07/15 12:13:28 yC0   key: 'direct', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'blocking', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'port-owner', type=1, flags=1, data=uucp
07/15 12:13:28 yC0   key: 'port-group', type=1, flags=1, data=modem
07/15 12:13:28 yC0   key: 'port-mode', type=0, flags=1, data=432
07/15 12:13:28 yC0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
07/15 12:13:28 yC0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
07/15 12:13:28 yC0   key: 'data-only', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'fax-only', type=3, flags=2, data=TRUE
07/15 12:13:28 yC0   key: 'modem-type', type=1, flags=1, data=auto
07/15 12:13:28 yC0   key: 'modem-quirks', type=0, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK ATS0=0Q0&D3&C1 OK 
07/15 12:13:28 yC0   key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
\dATQ0V1H0 OK 
07/15 12:13:28 yC0   key: 'post-init-chat', type=2, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'modem-check-time', type=0, flags=1, data=3600
07/15 12:13:28 yC0   key: 'rings', type=0, flags=3, data=2
07/15 12:13:28 yC0   key: 'msn-list', type=2, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'cnd-program', type=1, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c 
 
07/15 12:13:28 yC0   key: 'answer-chat-timeout', type=0, flags=1, data=80
07/15 12:13:28 yC0   key: 'autobauding', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'ringback', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'ringback-time', type=0, flags=1, data=30
07/15 12:13:28 yC0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
07/15 12:13:28 yC0   key: 'issue-file', type=1, flags=1, data=/etc/issue
07/15 12:13:28 yC0   key: 'prompt-waittime', type=0, flags=1, data=500
07/15 12:13:28 yC0   key: 'login-prompt', type=1, flags=1, data=@!login: 
07/15 12:13:28 yC0   key: 'login-time', type=0, flags=1, data=240
07/15 12:13:28 yC0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
07/15 12:13:28 yC0   key: 'fax-id', type=1, flags=3, data=49 569 191 000
07/15 12:13:28 yC0   key: 'fax-min-speed', type=0, flags=1, data=0
07/15 12:13:28 yC0   key: 'fax-max-speed', type=0, flags=1, data=14400
07/15 12:13:28 yC0   key: 'fax-server-file', type=1, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'diskspace', type=0, flags=1, data=1024
07/15 12:13:28 yC0   key: 'notify', type=1, flags=1, data=faxadmin
07/15 12:13:28 yC0   key: 'fax-owner', type=1, flags=1, data=uucp
07/15 12:13:28 yC0   key: 'fax-group', type=1, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'fax-mode', type=0, flags=1, data=432
07/15 12:13:28 yC0   key: 'debug', type=0, flags=2, data=9
07/15 12:13:28 yC0   key: 'statistics-chat', type=2, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'statistics-file', type=1, flags=0, data=(empty)
07/15 12:13:28 yC0   key: 'gettydefs', type=1, flags=1, data=n
07/15 12:13:28 yC0   key: 'term', type=1, flags=0, data=(empty)
07/15 12:13:28 yC0  check for lockfiles
07/15 12:13:28 yC0   checklock: stat failed, no file
07/15 12:13:28 yC0  locking the line
07/15 12:13:28 yC0   makelock(ttyC0) called
07/15 12:13:28 yC0   do_makelock: lock='/var/lock/LCK..ttyC0'
07/15 12:13:28 yC0   lock made
07/15 12:13:28 yC0  can't get group 'modem': No such file or directory
07/15 12:13:28 yC0   tio_get_rs232_lines: status: RTS CTS DSR DTR
07/15 12:13:28 yC0  lowering DTR to reset Modem
07/15 12:13:29 yC0   tss: set speed to 38400 (017)
07/15 12:13:29 yC0   tio_set_flow_control( HARD )
07/15 12:13:29 yC0   waiting for line to clear (VTIME), read: 
07/15 12:13:29 yC0  send: \dATQ0V1H0[0d]
07/15 12:13:30 yC0  waiting for ``OK''
07/15 12:13:30 yC0   got: [0d][0a]OK ** found **
07/15 12:13:30 yC0  send: ATS0=0Q0&D3&C1[0d]
07/15 12:13:30 yC0  waiting for ``OK''
07/15 12:13:30 yC0   got: [0d]
07/15 12:13:30 yC0    CND: OK[0a]ATQ0V1H0[0d]
07/15 12:13:30 yC0    CND: ATQ0V1H0[0d][0a]OK ** found **
07/15 12:13:30 yC0  mdm_send: 'ATI'
07/15 12:13:30 yC0    got:[0d][0a]ATI[0d]
07/15 12:13:30 yC0    got:Elink 34-3 P1 Version 1.64 [0d]
07/15 12:13:30 yC0   mdm_gis: string 1: 'Elink 34-3 P1 Version 1.64 '
07/15 12:13:30 yC0    got:[0a][0d][0a]OK[0d]
07/15 12:13:30 yC0   mdm_identify: string 'Elink 34-3 P1 Version 1.64 '
07/15 12:13:30 yC0  non-numeric ID string: 'Elink 34-3 P1 Version 1.64 '
07/15 12:13:30 yC0  Elink detected
07/15 12:13:30 yC0   no class 2/2.0 faxmodem, no faxing available
07/15 12:13:30 yC0   waiting for line to clear (VTIME), read: 
07/15 12:13:30 yC0   removing lock file
07/15 12:13:30 yC0  waiting...
07/15 12:31:29 yC0    select returned 1
07/15 12:31:29 yC0   checking lockfiles, locking the line
07/15 12:31:29 yC0   makelock(ttyC0) called
07/15 12:31:29 yC0   do_makelock: lock='/var/lock/LCK..ttyC0'
07/15 12:31:29 yC0   lock made
07/15 12:31:29 yC0  wfr: waiting for ``RING''
07/15 12:31:29 yC0   got: [0a][0d][0a]RING 002315691208  321[0d]
07/15 12:31:29 yC0    CND: RING 002315691208  321
07/15 12:31:29 yC0   wfr: rc=0, drn=0
07/15 12:31:29 yC0  wfr: waiting for ``RING''
07/15 12:31:29 yC0   got: [0a][0d][0a]RING 002315691208  321[0d]
07/15 12:31:34 yC0    CND: RING 002315691208  321
07/15 12:31:34 yC0   wfr: rc=0, drn=0
07/15 12:31:34 yC0    CND: check no: '002315691208  321'
07/15 12:31:34 yC0  send: ATA[0d]
07/15 12:31:34 yC0  waiting for ``CONNECT''
07/15 12:31:34 yC0   got: ATA[0d]
07/15 12:31:34 yC0    CND: OKATA[0d][0a]NO CARRIER
07/15 12:31:35 yC0  found action string: ``NO CARRIER''
07/15 12:31:35 ##### failed A_FAIL dev=ttyC0, pid=8489, caller='002315691208  321', conn='', name=''

07/15 12:31:35 yC0   removing lock file