incoming calls was killed ?
Dirk Haenelt (dhaen@eeisz1.et.tu-dresden.de)
Wed, 24 Sep 1997 09:15:03 +0200
Hello,
ich have a problem with incoming calls
(fax and data). Im running Linux 2.0.29
pppd and mgetty-1.1.4.
The dial on demand over pppd works fine.
The lockfile is /var/lock/LCK..modem for
all applications. When a fax coming in, mgetty
open the line, but one or two minutes there
comes an error. Have a look in the logfile:
**************
09/23 19:22:40 dem waiting for ``RING''
09/23 19:22:40 dem got: [0d][0a]RING ** found **
09/23 19:22:40 dem send: ATA[0d]
09/23 19:22:40 dem waiting for ``CONNECT''
09/23 19:22:40 dem got: [0d][0a]ATA[0d][0d][0a]+FCON
09/23 19:22:48 dem found action string: ``+FCON''
09/23 19:22:48 dem start fax receiver...
09/23 19:22:48 dem fax receiver: entry
09/23 19:22:48 dem fax_wait_for(OK)
09/23 19:24:48 dem Warning: got alarm signal!
09/23 19:24:48 dem mdm_read_byte: read returned -1: Interrupted system
call
09/23 19:24:48 dem mdm_get_line: cannot read byte, return: Interrupted
system call
09/23 19:24:48 dem >> The problem seen above might be caused by a wrong
value of the
09/23 19:24:48 dem >> 'switchbd' option in 'mgetty.config' (currently
set to '0')
09/23 19:24:48 dem >> try using 'switchbd 19200'
it is possible, that this is the error ^^ ? I have only a 14.4er
Faxmodem !
09/23 19:24:48 dem utmp + wtmp entry made
09/23 19:24:48 dem tio_set_flow_control( HARD XON_IN )
09/23 19:24:48 dem fax_get_pages: no pages to receive
09/23 19:24:48 dem fax receiver: hangup & end
09/23 19:24:48 dem fax_notify_mail: sending mail to: dhaen
09/23 19:26:05 dem notify: '/usr/local/lib/mgetty+sendfax/new_fax -6
'' 0 >/dev/console 2>&1 </dev/null'
09/23 19:26:05 ##### fax dev=modem, pid=3475, caller=none, name='',
id='', +FHNG=-06, pages=0,time=00:02:08
09/23 19:26:06 dem system() failed: Interrupted system call
**************
ok, and here i have a data call from outside:
**************
09/23 11:01:50 dem waiting for ``RING''
09/23 11:01:50 dem got: [0d][0a]RING ** found **
09/23 11:01:50 dem send: ATA[0d]
09/23 11:01:50 dem waiting for ``CONNECT''
09/23 11:01:50 dem got: [0d][0a]ATA[0d][0d][0a]CONNECT ** found **
09/23 11:02:08 dem send:
09/23 11:02:08 dem waiting for ``
''
09/23 11:02:08 dem got: 14400/MNP COMPRESSED[0d][0a] ** found **
09/23 11:02:08 dem waiting for line to clear (VTIME), read:
09/23 11:02:09 dem utmp + wtmp entry made
09/23 11:02:09 dem tio_set_flow_control( HARD )
09/23 11:02:09 dem print welcome banner (/etc/mgetty-sendfax/isssue)
09/23 11:02:09 dem getlogname (no opts), read:dhaen[0d]
09/23 11:02:15 dem input finished with '\r', setting ICRNL ONLCR
09/23 11:02:15 dem tio_get_rs232_lines: status: RTS CTS DSR DTR
09/23 11:02:15 dem WARNING: starting login while DCD is low!
09/23 11:02:15 dem match: user='dhaen', key='*'*** hit!
09/23 11:02:15 dem calling login: cmd='/bin/login', argv[]='login
dhaen'
09/23 11:02:15 ##### data dev=modem, pid=28175, caller=, conn='14400/MNP
COMPRESSED', name='', cmd='/bin/login',user='dhaen'
09/23 11:02:15 dem setenv: 'CALLER_ID='
09/23 11:02:15 dem setenv: 'CONNECT=14400/MNP COMPRESSED'
--
09/23 11:03:13 dem mgetty: experimental test release 1.1.4-Apr06
**************
In this case, i have seen my loginprompt, wrote my loginname and
nothing....
Have everybody an idea ???
thanks
--
Dirk Haenelt DG1HTK@DB0TUD.#SAX.DEU.EU
ETI, Grundlagen, TU-DRESDEN Tel./Fax: +49 351 4635354
dhaen@eeisz1.et.tu-dresden.de http://eeipe1.et.tu-dresden.de
.