mgetty-1.1.9 on Solaris2.5.1/Sparc
Martin Spott (martin@quickstep.dirnet.com)
Tue, 16 Dec 1997 14:58:45 +0100
Pleased to meet you, Gert !
> > .... and a minicom lockfile:
> >
> > 5566 minicom martin
>
> Hmmm, that is not really a proper uucp style lock file (the format is
> "%10d\n"), but I think mgetty should be able to handle that.
>
> So, how does the mgetty log file look like?
Here you are:
--
12/16 13:43:13 a/b mgetty: experimental test release 1.1.9-Aug17
12/16 13:43:13 a/b mgetty.c compiled at Dec 9 1997, 23:57:19
12/16 13:43:13 a/b reading configuration data for port 'cua/b'
12/16 13:43:13 a/b reading /etc/mgetty+sendfax/mgetty.config...
12/16 13:43:13 a/b conf lib: read: 'debug 4'
12/16 13:43:13 a/b conf lib: read: 'fax-id +49 ??? ?????'
12/16 13:43:13 a/b conf lib: read: 'speed 19200'
12/16 13:43:13 a/b key: 'speed', type=0, flags=3, data=19200
12/16 13:43:13 a/b key: 'switchbd', type=0, flags=1, data=0
12/16 13:43:13 a/b key: 'direct', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'blocking', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'port-owner', type=1, flags=1, data=uucp
12/16 13:43:13 a/b key: 'port-group', type=1, flags=1, data=modem
12/16 13:43:13 a/b key: 'port-mode', type=0, flags=1, data=432
12/16 13:43:13 a/b key: 'toggle-dtr', type=3, flags=1, data=TRUE
12/16 13:43:13 a/b key: 'toggle-dtr-waittime', type=0, flags=1, data=500
12/16 13:43:13 a/b key: 'data-only', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'fax-only', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'modem-type', type=1, flags=1, data=cls2
12/16 13:43:13 a/b key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK AT&F0S0=0S10=40Q0W1&D0&K3&C1 OK
12/16 13:43:13 a/b key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
12/16 13:43:13 a/b key: 'modem-check-time', type=0, flags=1, data=3600
12/16 13:43:13 a/b key: 'rings', type=0, flags=2, data=1
12/16 13:43:13 a/b key: 'get-cnd-chat', type=2, flags=0, data=(empty)
12/16 13:43:13 a/b key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
12/16 13:43:13 a/b key: 'answer-chat-timeout', type=0, flags=1, data=80
12/16 13:43:13 a/b key: 'autobauding', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'ringback', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'ringback-time', type=0, flags=1, data=30
12/16 13:43:13 a/b key: 'ignore-carrier', type=3, flags=1, data=FALSE
12/16 13:43:13 a/b key: 'issue-file', type=1, flags=1, data=/etc/issue
12/16 13:43:13 a/b key: 'prompt-waittime', type=0, flags=1, data=500
12/16 13:43:13 a/b key: 'login-prompt', type=1, flags=1, data=@!login:
12/16 13:43:13 a/b key: 'login-time', type=0, flags=1, data=240
12/16 13:43:13 a/b key: 'fido-send-emsi', type=3, flags=1, data=TRUE
12/16 13:43:13 a/b key: 'fax-id', type=1, flags=3, data=+49 ??? ?????
12/16 13:43:13 a/b key: 'fax-server-file', type=1, flags=0, data=(empty)
12/16 13:43:13 a/b key: 'diskspace', type=0, flags=1, data=1024
12/16 13:43:13 a/b key: 'notify', type=1, flags=1, data=faxadmin
12/16 13:43:13 a/b key: 'fax-owner', type=1, flags=1, data=martin
12/16 13:43:13 a/b key: 'fax-group', type=1, flags=0, data=(empty)
12/16 13:43:13 a/b key: 'fax-mode', type=0, flags=1, data=432
12/16 13:43:13 a/b key: 'debug', type=0, flags=2, data=5
12/16 13:43:13 a/b key: 'statistics-chat', type=2, flags=0, data=(empty)
12/16 13:43:13 a/b key: 'statistics-file', type=1, flags=0, data=(empty)
12/16 13:43:13 a/b key: 'gettydefs', type=1, flags=1, data=n
12/16 13:43:13 a/b key: 'term', type=1, flags=0, data=(empty)
12/16 13:43:13 a/b check for lockfiles
12/16 13:43:13 a/b get_lock_name(cua/b) called
12/16 13:43:13 a/b -> ttyname /dev/cua/b
12/16 13:43:13 a/b lock file: /var/lock/LK.032.029.131073
12/16 13:43:13 a/b checklock: stat failed, no file
12/16 13:43:13 a/b locking the line
12/16 13:43:13 a/b makelock(cua/b) called
12/16 13:43:13 a/b get_lock_name(cua/b) called
12/16 13:43:13 a/b -> ttyname /dev/cua/b
12/16 13:43:13 a/b lock file: /var/lock/LK.032.029.131073
12/16 13:43:13 a/b do_makelock: lock='/var/lock/LK.032.029.131073'
12/16 13:43:14 a/b lock made
12/16 13:43:15 a/b tio_get_rs232_lines: status: RTS CTS DTR
12/16 13:43:15 a/b WARNING: DSR is off - modem turned off or bad cable?
12/16 13:43:15 a/b lowering DTR to reset Modem
12/16 13:43:18 a/b tss: set speed to 19200 (016)
12/16 13:43:18 a/b tio_set_flow_control( )
12/16 13:43:18 a/b waiting for line to clear (VTIME), read:
12/16 13:43:18 a/b send: \dATQ0V1H0[0d]
12/16 13:43:18 a/b waiting for ``OK''
12/16 13:43:18 a/b got: ATQ0V1H0[0d][0d][0a]OK ** found **
12/16 13:43:18 a/b send: AT&F0S0=0S10=40Q0W1&D0&K3&C1[0d]
12/16 13:43:19 a/b waiting for ``OK''
[ the following line differs in the second initialization sequence ]
12/16 13:43:19 a/b got: [0d][0a]AT&F0S0=0S10=40Q0W1&D0&K3&C1[0d][0d][0a]OK ** found **
12/16 13:43:19 a/b mdm_send: 'AT+FCLASS=2'
12/16 13:43:19 a/b mdm_command: string 'AT+FCLASS=2'
12/16 13:43:19 a/b mdm_command: string 'OK' -> OK
12/16 13:43:19 a/b mdm_send: 'AT+FCLASS=0'
12/16 13:43:19 a/b mdm_command: string 'AT+FCLASS=0'
12/16 13:43:19 a/b mdm_command: string 'OK' -> OK
12/16 13:43:19 a/b mdm_send: 'AT+FAA=1;+FCR=1'
12/16 13:43:19 a/b mdm_command: string 'AT+FAA=1;+FCR=1'
12/16 13:43:19 a/b mdm_command: string 'OK' -> OK
12/16 13:43:19 a/b mdm_send: 'AT+FBOR=0'
12/16 13:43:19 a/b mdm_command: string 'AT+FBOR=0'
12/16 13:43:19 a/b mdm_command: string 'OK' -> OK
12/16 13:43:19 a/b mdm_send: 'AT+FLID="+49 ??? ?????"'
12/16 13:43:19 a/b mdm_command: string 'AT+FLID="+49 ??? ?????"'
12/16 13:43:20 a/b mdm_command: string 'OK' -> OK
12/16 13:43:20 a/b mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
12/16 13:43:20 a/b mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
12/16 13:43:20 a/b mdm_command: string 'OK' -> OK
12/16 13:43:20 a/b waiting for line to clear (VTIME), read:
12/16 13:43:20 a/b removing lock file
12/16 13:43:20 a/b waiting...
[ now I start minicom, about ten seconds later I see mgetty's init string in
my minicom window ]
12/16 13:43:34 a/b checking lockfiles, locking the line
12/16 13:43:34 a/b makelock(cua/b) called
12/16 13:43:34 a/b get_lock_name(cua/b) called
12/16 13:43:34 a/b -> ttyname /dev/cua/b
12/16 13:43:34 a/b lock file: /var/lock/LK.032.029.131073
12/16 13:43:34 a/b do_makelock: lock='/var/lock/LK.032.029.131073'
12/16 13:43:34 a/b lock made
12/16 13:43:34 a/b waiting for ``RING''
12/16 13:43:34 a/b got: [0d]ATZ[0d][0d][0a]OK[0d][0a]
12/16 13:43:44 a/b timeout in chat script, waiting for `RING'
12/16 13:43:44 a/b huh? Junk on the line?
12/16 13:43:44 a/b removing lock file
--
[ here I see a new mgetty starting, but minicom is still running ! ]
12/16 13:43:45 a/b mgetty: experimental test release 1.1.9-Aug17
12/16 13:43:45 a/b mgetty.c compiled at Dec 9 1997, 23:57:19
12/16 13:43:45 a/b reading configuration data for port 'cua/b'
12/16 13:43:45 a/b reading /etc/mgetty+sendfax/mgetty.config...
12/16 13:43:45 a/b conf lib: read: 'debug 4'
12/16 13:43:45 a/b conf lib: read: 'fax-id +49 ??? ?????'
12/16 13:43:45 a/b conf lib: read: 'speed 19200'
12/16 13:43:45 a/b key: 'speed', type=0, flags=3, data=19200
12/16 13:43:45 a/b key: 'switchbd', type=0, flags=1, data=0
12/16 13:43:45 a/b key: 'direct', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'blocking', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'port-owner', type=1, flags=1, data=uucp
12/16 13:43:45 a/b key: 'port-group', type=1, flags=1, data=modem
12/16 13:43:45 a/b key: 'port-mode', type=0, flags=1, data=432
12/16 13:43:45 a/b key: 'toggle-dtr', type=3, flags=1, data=TRUE
12/16 13:43:45 a/b key: 'toggle-dtr-waittime', type=0, flags=1, data=500
12/16 13:43:45 a/b key: 'data-only', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'fax-only', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'modem-type', type=1, flags=1, data=cls2
12/16 13:43:45 a/b key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK AT&F0S0=0S10=40Q0W1&D0&K3&C1 OK
12/16 13:43:45 a/b key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
\dATQ0V1H0 OK
12/16 13:43:45 a/b key: 'modem-check-time', type=0, flags=1, data=3600
12/16 13:43:45 a/b key: 'rings', type=0, flags=2, data=1
12/16 13:43:45 a/b key: 'get-cnd-chat', type=2, flags=0, data=(empty)
12/16 13:43:45 a/b key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
12/16 13:43:45 a/b key: 'answer-chat-timeout', type=0, flags=1, data=80
12/16 13:43:45 a/b key: 'autobauding', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'ringback', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'ringback-time', type=0, flags=1, data=30
12/16 13:43:45 a/b key: 'ignore-carrier', type=3, flags=1, data=FALSE
12/16 13:43:45 a/b key: 'issue-file', type=1, flags=1, data=/etc/issue
12/16 13:43:45 a/b key: 'prompt-waittime', type=0, flags=1, data=500
12/16 13:43:45 a/b key: 'login-prompt', type=1, flags=1, data=@!login:
12/16 13:43:45 a/b key: 'login-time', type=0, flags=1, data=240
12/16 13:43:45 a/b key: 'fido-send-emsi', type=3, flags=1, data=TRUE
12/16 13:43:45 a/b key: 'fax-id', type=1, flags=3, data=+49 ??? ?????
12/16 13:43:45 a/b key: 'fax-server-file', type=1, flags=0, data=(empty)
12/16 13:43:45 a/b key: 'diskspace', type=0, flags=1, data=1024
12/16 13:43:45 a/b key: 'notify', type=1, flags=1, data=faxadmin
12/16 13:43:45 a/b key: 'fax-owner', type=1, flags=1, data=martin
12/16 13:43:45 a/b key: 'fax-group', type=1, flags=0, data=(empty)
12/16 13:43:45 a/b key: 'fax-mode', type=0, flags=1, data=432
12/16 13:43:45 a/b key: 'debug', type=0, flags=2, data=5
12/16 13:43:45 a/b key: 'statistics-chat', type=2, flags=0, data=(empty)
12/16 13:43:45 a/b key: 'statistics-file', type=1, flags=0, data=(empty)
12/16 13:43:45 a/b key: 'gettydefs', type=1, flags=1, data=n
12/16 13:43:45 a/b key: 'term', type=1, flags=0, data=(empty)
12/16 13:43:45 a/b check for lockfiles
12/16 13:43:45 a/b get_lock_name(cua/b) called
12/16 13:43:45 a/b -> ttyname /dev/cua/b
12/16 13:43:45 a/b lock file: /var/lock/LK.032.029.131073
12/16 13:43:45 a/b checklock: stat failed, no file
12/16 13:43:45 a/b locking the line
12/16 13:43:45 a/b makelock(cua/b) called
12/16 13:43:45 a/b get_lock_name(cua/b) called
12/16 13:43:45 a/b -> ttyname /dev/cua/b
12/16 13:43:45 a/b lock file: /var/lock/LK.032.029.131073
12/16 13:43:45 a/b do_makelock: lock='/var/lock/LK.032.029.131073'
12/16 13:43:45 a/b lock made
12/16 13:43:46 a/b tio_get_rs232_lines: status: RTS CTS DTR
12/16 13:43:46 a/b WARNING: DSR is off - modem turned off or bad cable?
12/16 13:43:46 a/b lowering DTR to reset Modem
12/16 13:43:49 a/b tss: set speed to 19200 (016)
12/16 13:43:49 a/b tio_set_flow_control( )
12/16 13:43:49 a/b waiting for line to clear (VTIME), read:
12/16 13:43:50 a/b send: \dATQ0V1H0[0d]
12/16 13:43:50 a/b waiting for ``OK''
12/16 13:43:50 a/b got: ATQ0V1H0[0d][0d][0a]OK ** found **
12/16 13:43:50 a/b send: AT&F0S0=0S10=40Q0W1&D0&K3&C1[0d]
12/16 13:43:50 a/b waiting for ``OK''
[ the following line is the only difference to the fist initialization
sequence ]
12/16 13:43:50 a/b got: [0d][0a]OK ** found **
12/16 13:43:50 a/b mdm_send: 'AT+FCLASS=2'
12/16 13:43:50 a/b mdm_command: string 'AT+FCLASS=2'
12/16 13:43:51 a/b mdm_command: string 'OK' -> OK
12/16 13:43:51 a/b mdm_send: 'AT+FCLASS=0'
12/16 13:43:51 a/b mdm_command: string 'AT+FCLASS=0'
12/16 13:43:51 a/b mdm_command: string 'OK' -> OK
12/16 13:43:51 a/b mdm_send: 'AT+FAA=1;+FCR=1'
12/16 13:43:51 a/b mdm_command: string 'AT+FAA=1;+FCR=1'
12/16 13:43:51 a/b mdm_command: string 'OK' -> OK
12/16 13:43:51 a/b mdm_send: 'AT+FBOR=0'
12/16 13:43:51 a/b mdm_command: string 'AT+FBOR=0'
12/16 13:43:51 a/b mdm_command: string 'OK' -> OK
12/16 13:43:51 a/b mdm_send: 'AT+FLID="+49 ??? ?????"'
12/16 13:43:51 a/b mdm_command: string 'AT+FLID="+49 ??? ?????"'
12/16 13:43:51 a/b mdm_command: string 'OK' -> OK
12/16 13:43:51 a/b mdm_send: 'AT+FDCC=1,5,0,2,0,0,0,0'
12/16 13:43:51 a/b mdm_command: string 'AT+FDCC=1,5,0,2,0,0,0,0'
12/16 13:43:52 a/b mdm_command: string 'OK' -> OK
12/16 13:43:52 a/b waiting for line to clear (VTIME), read:
12/16 13:43:52 a/b removing lock file
12/16 13:43:52 a/b waiting...
Hope this helps you .... and you help me ;-))
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
.