"Трубку" снимает mgetty. В /etc/ttys стоит
Код: Выделить всё
ttyd0 "/usr/libexec/getty std.57600" dialup off secure
ttyd1 "/usr/libexec/getty std.57600" dialup off secure
ttyd2 "/usr/libexec/getty std.57600" dialup off secure
ttyd3 "/usr/libexec/getty std.57600" dialup off secure
Код: Выделить всё
cuad1 "/usr/local/sbin/mgetty" unknown on insecure
Код: Выделить всё
09/06 12:47:26 ad1 locking the line
09/06 12:47:26 ad1 lowering DTR to reset Modem
09/06 12:47:27 ad1 send: ATS0=0S6=4&K3&C1&D2[0d]
09/06 12:47:27 ad1 waiting for ``OK'' ** found **
09/06 12:47:27 ad1 send: ATI4I6I7I11Y11[0d]
09/06 12:47:27 ad1 do_stat: expect 'OK' ** found **
09/06 12:47:28 ad1 waiting...
Идет звонок:
Код: Выделить всё
09/06 12:53:23 ad1 wfr: waiting for ``RING''
09/06 12:53:23 ad1 send: ATA[0d]
09/06 12:53:23 ad1 waiting for ``CONNECT''
09/06 12:53:31 ad1 found action string: ``+FCO_''
09/06 12:53:31 ad1 start fax receiver...
09/06 12:53:31 ad1 fax_wait_for(OK)
09/06 12:54:15 ad1 connection hangup: '+FHS:74'** found **
09/06 12:54:15 ad1 fax_get_pages: no pages to receive
09/06 12:54:15 ##### fax dev=cuad1, pid=1916, caller='none', name='', id='', +FHNG=074, pages=0/0, time=00:00:52
В конфиге /usr/local/etc/mgetty+sendfax/mgetty.config
Код: Выделить всё
port cuad1
debug 4
#fax-id 00 00 000000
speed 38400
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only YES
#fax-only NO
modem-type auto
#init-chat "" ATS0=0Q0&D3&C1 OK
init-chat "" ATS0=0S6=4&K3&C1&D2 OK
statistics-chat "" ATI4I6I7I11Y11 OK
statistics-file /var/log/statistics.USR
#init-chat "" ATZ&N14 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 80
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 500
login-prompt @!login:
login-time 240
diskspace 1024
#notify faxadmin
#fax-owner uucp
#fax-group modem
#fax-mode 0660
Никаких других процессов, которые могли бы вмешиваться вроде нет (hylafax'овые демоны остановлены):
Код: Выделить всё
[sst@bsdgate ~]$ ps -ax|grep fax
2056 p0 S+ 0:00,01 grep fax
[sst@bsdgate ~]$