LINUX.ORG.RU

mgetty+sendfax не видит несущей... Помогите!!!


0

0

В общем с hylafax'ом не вышло, решил попробовать мгетти. И тут косяк,
при передаче факса в логах такое:

09/12 18:17:19 yS0  mgetty: interim release 1.1.36-Jun15
09/12 18:17:19 yS0   mgetty.c compiled at Aug 13 2007, 11:53:09
09/12 18:17:19 yS0   user id: 0, pid: 5078, parent pid: 1
09/12 18:17:19 yS0   reading configuration data for port 'ttyS0'
09/12 18:17:19 yS0   reading /etc/mgetty/mgetty.config...
09/12 18:17:19 yS0   conf lib: read: 'port /dev/ttyS0'
09/12 18:17:19 yS0   section: port /dev/ttyS0, ignore
09/12 18:17:19 yS0   conf lib: read: 'debug 9'
09/12 18:17:19 yS0   conf lib: read: 'fax-id 0573'
09/12 18:17:19 yS0   conf lib: read: 'speed 9600'
09/12 18:17:19 yS0   conf lib: read: 'direct NO'
09/12 18:17:19 yS0   conf lib: read: 'blocking NO'
09/12 18:17:19 yS0   conf lib: read: 'port-owner uucp'
09/12 18:17:19 yS0   conf lib: read: 'port-group uucp'
09/12 18:17:19 yS0   conf lib: read: 'port-mode 0660'
09/12 18:17:19 yS0   conf lib: read: 'toggle-dtr YES'
09/12 18:17:19 yS0   conf lib: read: 'toggle-dtr-waittime 500'
09/12 18:17:19 yS0   conf lib: read: 'data-only NO'
09/12 18:17:19 yS0   conf lib: read: 'fax-only YES'
09/12 18:17:19 yS0   conf lib: read: 'init-chat "" \d\d\d+++\d\d\dAT OK'
09/12 18:17:19 yS0   conf lib: read: 'modem-type c2.0'
09/12 18:17:19 yS0   conf lib: read: 'modem-quirks 0x04'
09/12 18:17:19 yS0   conf lib: read: 'modem-check-time 3600'
09/12 18:17:19 yS0   conf lib: read: 'rings 1'
09/12 18:17:19 yS0   conf lib: read: 'answer-chat "" ATH1 OK \d\d\d\dATA CONNECT \c \r'
09/12 18:17:19 yS0   conf lib: read: 'autobauding NO'
09/12 18:17:19 yS0   conf lib: read: 'ringback NO'
09/12 18:17:19 yS0   conf lib: read: 'ringback-time 30'
09/12 18:17:19 yS0   conf lib: read: 'ignore-carrier false'
09/12 18:17:19 yS0   conf lib: read: 'issue-file /etc/issue'
09/12 18:17:19 yS0   conf lib: read: 'prompt-waittime 500'
09/12 18:17:19 yS0   conf lib: read: 'login-prompt @!login:'
09/12 18:17:19 yS0   conf lib: read: 'login-time 240'
09/12 18:17:19 yS0   conf lib: read: 'diskspace 1024'
09/12 18:17:19 yS0   conf lib: read: 'notify '
09/12 18:17:19 yS0   conf lib: read: 'fax-owner uucp'
09/12 18:17:19 yS0   conf lib: read: 'fax-group uucp'
09/12 18:17:19 yS0   conf lib: read: 'fax-mode 0660'
09/12 18:17:19 yS0   key: 'speed', type=0, flags=2, data=9600
09/12 18:17:19 yS0   key: 'switchbd', type=0, flags=1, data=0
09/12 18:17:19 yS0   key: 'direct', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'blocking', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'port-owner', type=1, flags=1, data=root
09/12 18:17:19 yS0   key: 'port-group', type=1, flags=1, data=dialout
09/12 18:17:19 yS0   key: 'port-mode', type=0, flags=1, data=432
09/12 18:17:19 yS0   key: 'toggle-dtr', type=3, flags=1, data=TRUE
09/12 18:17:19 yS0   key: 'toggle-dtr-waittime', type=0, flags=1, data=500
09/12 18:17:19 yS0   key: 'need-dsr', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'data-only', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'fax-only', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'modem-type', type=1, flags=1, data=auto
09/12 18:17:19 yS0   key: 'modem-quirks', type=0, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'init-chat', type=2, flags=1, data= \dATQ0V1H0 OK AT OK
\dATQ0V1H0 OK  yS0   key: 'force-init-chat', type=2, flags=1, data= \d\d\d\d+++\d\d\d
09/12 18:17:19 yS0   key: 'post-init-chat', type=2, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'data-flow', type=4, flags=1, data=1
09/12 18:17:19 yS0   key: 'fax-send-flow', type=4, flags=1, data=7
09/12 18:17:19 yS0   key: 'fax-rec-flow', type=4, flags=1, data=7
09/12 18:17:19 yS0   key: 'modem-check-time', type=0, flags=1, data=3600
09/12 18:17:19 yS0   key: 'rings', type=0, flags=1, data=1
09/12 18:17:19 yS0   key: 'msn-list', type=2, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'get-cnd-chat', type=2, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'cnd-program', type=1, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'answer-chat', type=2, flags=1, data= ATA CONNECT \c
★★★★★

09/12 18:17:19 yS0   key: 'answer-chat-timeout', type=0, flags=1, data=80
09/12 18:17:19 yS0   key: 'autobauding', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'ringback', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'ringback-time', type=0, flags=1, data=30
09/12 18:17:19 yS0   key: 'ignore-carrier', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'issue-file', type=1, flags=1, data=/etc/issue
09/12 18:17:19 yS0   key: 'prompt-waittime', type=0, flags=1, data=500
09/12 18:17:19 yS0   key: 'login-prompt', type=1, flags=1, data=@ login:
09/12 18:17:19 yS0   key: 'login-time', type=0, flags=1, data=240
09/12 18:17:19 yS0   key: 'fido-send-emsi', type=3, flags=1, data=TRUE
09/12 18:17:19 yS0   key: 'login-env-ttyprompt-hack', type=3, flags=1, data=FALSE
09/12 18:17:19 yS0   key: 'login-conf-file', type=1, flags=1, data=login.config
09/12 18:17:19 yS0   key: 'fax-id', type=1, flags=1, data=
09/12 18:17:19 yS0   key: 'fax-min-speed', type=0, flags=1, data=0
09/12 18:17:19 yS0   key: 'fax-max-speed', type=0, flags=1, data=14400
09/12 18:17:19 yS0   key: 'fax-server-file', type=1, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'diskspace', type=0, flags=1, data=1024
09/12 18:17:19 yS0   key: 'notify', type=1, flags=1, data=root
09/12 18:17:19 yS0   key: 'fax-owner', type=1, flags=1, data=root
09/12 18:17:19 yS0   key: 'fax-group', type=1, flags=1, data=fax
09/12 18:17:19 yS0   key: 'fax-mode', type=0, flags=1, data=432
09/12 18:17:19 yS0   key: 'fax-spool-in', type=1, flags=1, data=/var/spool/fax/incoming:/tmp
09/12 18:17:19 yS0   key: 'debug', type=0, flags=2, data=6
09/12 18:17:19 yS0   key: 'statistics-chat', type=2, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'statistics-file', type=1, flags=0, data=(empty)
09/12 18:17:19 yS0   key: 'gettydefs', type=1, flags=1, data=n
09/12 18:17:19 yS0   key: 'term', type=1, flags=0, data=(empty)
09/12 18:17:19 yS0  check for lockfiles
09/12 18:17:19 yS0   checklock: stat failed, no file
09/12 18:17:19 yS0  locking the line
09/12 18:17:19 yS0   makelock(ttyS0) called
09/12 18:17:19 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
09/12 18:17:19 yS0   lock made
09/12 18:17:19 yS0   tio_get_rs232_lines: status: RTS CTS DSR DTR
09/12 18:17:19 yS0  lowering DTR to reset Modem
09/12 18:17:20 yS0   tss: set speed to 9600 (015)
09/12 18:17:20 yS0   tio_set_flow_control( HARD )
09/12 18:17:20 yS0   waiting for line to clear (VTIME=1), read:
09/12 18:17:20 yS0  send: \dATQ0V1H0[0d]
09/12 18:17:20 yS0  waiting for ``OK''
09/12 18:17:20 yS0   got: ATQ0V1H0[0d]
09/12 18:17:20 yS0    CND: ATQ0V1H0[0d][0a]OK ** found **
09/12 18:17:20 yS0  send: AT[0d]
09/12 18:17:20 yS0  waiting for ``OK''
09/12 18:17:20 yS0   got: [0d]
09/12 18:17:20 yS0    CND: OK[0a]AT[0d]
09/12 18:17:20 yS0    CND: AT[0d][0a]OK ** found **
09/12 18:17:20 yS0  mdm_send: 'ATI'
09/12 18:17:20 yS0    got:[0d][0a]ATI[0d]
09/12 18:17:20 yS0    got:[0d][0a]1509[0d]


09/12 18:17:20 yS0   mdm_gis: string 1: '1509'
09/12 18:17:20 yS0    got:[0a][0d][0a]OK[0d]
09/12 18:17:20 yS0   mdm_identify: string '1509'
09/12 18:17:20 yS0  unknown numerical modem id 1509
09/12 18:17:21 yS0  mdm_send: 'AT+FCLASS=2.0'
09/12 18:17:21 yS0    got:[0a]AT+FCLASS=2.0[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FCLASS=2.0'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0  mdm_send: 'AT+FAA=1;+FCR=1'
09/12 18:17:21 yS0    got:[0a]AT+FAA=1;+FCR=1[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FAA=1;+FCR=1'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0  mdm_send: 'AT+FBO=1'
09/12 18:17:21 yS0    got:[0a]AT+FBO=1[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FBO=1'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0  mdm_send: 'AT+FNR=1,1,1,0'
09/12 18:17:21 yS0    got:[0a]AT+FNR=1,1,1,0[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FNR=1,1,1,0'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0  mdm_send: 'AT+FLI=" "'
09/12 18:17:21 yS0    got:[0a]AT+FLI=" "[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FLI=" "'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0  mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
09/12 18:17:21 yS0    got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
09/12 18:17:21 yS0   mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
09/12 18:17:21 yS0    got:[0d][0a]OK[0d]
09/12 18:17:21 yS0   mdm_command: string 'OK' -> OK
09/12 18:17:21 yS0   waiting for line to clear (VTIME=3), read:
09/12 18:17:21 yS0   removing lock file
09/12 18:17:21 yS0  waiting...
09/12 18:17:28 yS0    select returned 1
09/12 18:17:28 yS0   checking lockfiles, locking the line
09/12 18:17:28 yS0   makelock(ttyS0) called
09/12 18:17:28 yS0   do_makelock: lock='/var/lock/LCK..ttyS0'
09/12 18:17:28 yS0   lock made
09/12 18:17:28 yS0  wfr: waiting for ``RING''
09/12 18:17:28 yS0   got: [0a][0d][0a]RING[0d]
09/12 18:17:28 yS0    CND: RING
09/12 18:17:28 yS0   wfr: rc=0, drn=0
09/12 18:17:28 yS0    CND: check no: 'none'
09/12 18:17:28 yS0  send: ATA[0d]
09/12 18:17:28 yS0  waiting for ``CONNECT''
09/12 18:17:28 yS0   got: ATA[0d]
09/12 18:17:28 yS0    CND: OKATA[0d][0a]NO CARRIER
09/12 18:18:29 yS0  found action string: ``NO CARRIER''
09/12 18:18:29 ##### failed A_FAIL dev=ttyS0, pid=5078, caller='none', conn='', name=''

Собственно интересует, почему не видится несущяя :(((((

Конфиг:
# cat mgetty.config
port /dev/ttyS0
debug 9
fax-id 0573
speed 19200
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 500
data-only NO
fax-only YES
init-chat "" \d\d\d+++\d\d\dAT OK
modem-type c2.0
modem-quirks 0x04
modem-check-time 3600
rings 1
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
fax-owner uucp
fax-group uucp
fax-mode 0660

Модем зюхель U-336E, на соседнем компе с фрёй пашет без проблем...

Помогите разобраться!!! 

Заранее спасибо!!!

cyclon ★★★★★
() автор топика
Ответ на: комментарий от cyclon

самое интересно что на курьере это нормально работает :((((

cyclon ★★★★★
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.