Callback Problem
Detlef Jockheck (cad.adp@t-online.de)
Wed, 19 Jan 2000 10:19:51 +0100
Hi,
I have a problem with mgetty-callback. The callback is startet, but
finally I received a message like:
--- cut --------------------------------
can't signal mgetty process 8613, giving up: No such proces
--- cut ---------------------------------
My /var/log/mgetty.modem shows:
--- cut --------------------------------
01/19 09:51:13 dem wfr: waiting for ``RING''
01/19 09:51:13 dem send: ATA[0d]
01/19 09:51:13 dem waiting for ``CONNECT'' ** found **
01/19 09:51:28 dem send:
01/19 09:51:28 dem waiting for ``_'' ** found **
01/19 09:51:29 ##### data dev=modem, pid=15820, caller='none',
conn='14400/LAPM/
V42BIS', name='', cmd='/usr/sbin/callback', user='nixda'
--
01/19 09:51:31 dem mgetty: experimental test release 1.1.19-Nov24
01/19 09:51:31 dem check for lockfiles
01/19 09:51:31 dem locking the line
01/19 09:51:31 dem lowering DTR to reset Modem
01/19 09:51:32 dem send: \dATQ0V1H0[0d]
01/19 09:51:32 dem waiting for ``OK'' ** found **
01/19 09:51:33 dem send: ATS0=0Q0&D3&C1[0d]
01/19 09:51:33 dem waiting for ``OK'' ** found **
01/19 09:51:33 dem mdm_send: 'ATI'
01/19 09:51:33 dem ELSA MicroLink ISDN/TLV.34 detected
01/19 09:51:33 dem mdm_send: 'ATI3'
01/19 09:51:33 dem additional info: 'Ver. 2.40K vom 12.09.97'
01/19 09:51:33 dem mdm_send: 'AT+FCLASS=2.0' -> OK
01/19 09:51:33 dem mdm_send: 'AT+FAA=1;+FCR=1' -> OK
01/19 09:51:33 dem mdm_send: 'AT+FBO=1' -> OK
01/19 09:51:33 dem mdm_send: 'AT+FNR=1,1,1,0' -> OK
01/19 09:51:33 dem mdm_send: 'AT+FLI="unknown"' -> OK
01/19 09:51:34 dem mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
01/19 09:51:34 dem waiting...
01/19 09:51:52 dem lock not made: lock file exists (pid=16315)
--
01/19 09:52:27 dem mgetty: experimental test release 1.1.19-Nov24
--- cut --------------------------------
In /var/log/mgetty.callback I found the following:
--- cut --------------------------------
01/19 09:51:30 detaching from ctty...
01/19 09:51:31 delaying 21 seconds
01/19 09:51:52 cbfd: search ttys 'modem'
01/19 09:51:52 cbfd: device: '/dev/modem'
01/19 09:51:52 makelock(modem) called
01/19 09:51:52 do_makelock: lock='/var/lock/LCK..modem'
01/19 09:51:52 lock made
01/19 09:51:52 find_mgetty: look in PID file /etc/mg-pid.modem
01/19 09:51:52 PID for mgetty on line modem: 8613
01/19 09:51:52 tss: set speed to 38400 (017)
01/19 09:51:52 tio_set_flow_control( HARD )
01/19 09:51:52 dem reading specific data for port 'modem'
01/19 09:51:52 dem reading
/usr/local/etc/mgetty+sendfax/callback.config...
01/19 09:51:52 dem conf lib: read: 'dialout-devices modem'
01/19 09:51:52 dem conf lib: read: 'retry-time 30'
01/19 09:51:52 dem conf lib: read: 'max-time 90'
01/19 09:51:52 dem conf lib: read: 'debug 9'
01/19 09:51:52 dem conf lib: read: 'dial-prefix ATX3D'
01/19 09:51:52 dem key: 'dialout-devices', type=1, flags=4,
data=(ignored)
01/19 09:51:52 dem key: 'delay', type=0, flags=1, data=20
01/19 09:51:52 dem key: 'delay-randomize', type=0, flags=1, data=10
01/19 09:51:52 dem key: 'retry-time', type=0, flags=3, data=30
01/19 09:51:52 dem key: 'max-time', type=0, flags=3, data=90
01/19 09:51:52 dem key: 'modem-init', type=2, flags=1, data= ATQ0V1H0
OK AT+FCLASS=0 OK
01/19 09:51:52 dem key: 'speed', type=0, flags=1, data=38400
01/19 09:51:52 dem key: 'dial-prefix', type=1, flags=3, data=ATX3D
01/19 09:51:52 dem key: 'autobauding', type=3, flags=1, data=FALSE
01/19 09:51:52 dem key: 'prompt-waittime', type=0, flags=1, data=300
01/19 09:51:52 dem key: '', type=3, flags=1, data=FALSE
01/19 09:51:52 dem key: 'debug', type=0, flags=3, data=9
01/19 09:51:52 dem initializing modem...
01/19 09:51:52 dem send: ATQ0V1H0[0d]
01/19 09:51:52 dem waiting for ``OK''
01/19 09:51:52 dem got: ATQ0V1H0[0d][0d][0a]OK ** found **
01/19 09:51:52 dem send: AT+FCLASS=0[0d]
01/19 09:51:52 dem waiting for ``OK''
01/19 09:51:52 dem got: [0d][0a]AT+FCLASS=0[0d][0d][0a]OK ** found **
01/19 09:51:52 dem dialing 0059999999...
01/19 09:51:52 dem mdm_send: 'ATX3D0059999999'
01/19 09:51:52 dem got:[0d][0a]ATX3D0059999999[0d]
01/19 09:51:52 dem dialup: got 'ATX3D0059999999'
01/19 09:51:52 dem got:[0d][0a]CONNECT 14400/LAPM/V42BIS[0d]
01/19 09:52:10 dem dialup: got 'CONNECT 14400/LAPM/V42BIS'
01/19 09:52:10 dem got CONNECT, success!
01/19 09:52:11 dem can't signal mgetty process 8613, giving up: No such
process
--
--- cut --------------------------------
regards
Detlef
--
# Detlef Jockheck
# cad.adp@t-online.de
#####################