Модем поднимает трубку, но через некоторое время разрывает связь.
Установлен mgetty-1.1.30, ASPLinux 9
Модем IDC 5614 VR+ на ttyS0
К машине подключен еще DSL модем на ttyS1.
Вот настройки и логи:
/etc/inittab
...
7:2345:respawn:/sbin/mgetty ttyS0
...
/etc/mgetty+sendfax/mgetty.config
port ttyS0
speed 38400
debug 8
data-only y
/var/log/mgetty.log.ttyS0
08/26 13:38:13 yS0 mgetty: experimental test release 1.1.30-Dec16
08/26 13:38:13 yS0 check for lockfiles
08/26 13:38:13 yS0 checklock: stat failed, no file
08/26 13:38:13 yS0 locking the line
08/26 13:38:13 yS0 makelock(ttyS0) called
08/26 13:38:13 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/26 13:38:13 yS0 lock made
08/26 13:38:14 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
08/26 13:38:14 yS0 lowering DTR to reset Modem
08/26 13:38:14 yS0 tss: set speed to 38400 (017)
08/26 13:38:14 yS0 tio_set_flow_control( HARD )
08/26 13:38:14 yS0 waiting for line to clear (VTIME), read:
08/26 13:38:15 yS0 send: \dATQ0V1H0[0d]
08/26 13:38:15 yS0 waiting for ``OK''
08/26 13:38:15 yS0 got: ATQ0V1H0[0d]
08/26 13:38:15 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
08/26 13:38:15 yS0 send: ATS0=0Q0&D3&C1[0d]
08/26 13:38:15 yS0 waiting for ``OK''
08/26 13:38:15 yS0 got: [0d]
08/26 13:38:15 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
08/26 13:38:15 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
08/26 13:38:15 yS0 waiting for line to clear (VTIME), read: [0d][0a]
08/26 13:38:15 yS0 removing lock file
08/26 13:38:15 yS0 waiting...
08/26 13:38:43 yS0 select returned 1
08/26 13:38:43 yS0 checking lockfiles, locking the line
08/26 13:38:43 yS0 makelock(ttyS0) called
08/26 13:38:43 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/26 13:38:43 yS0 lock made
08/26 13:38:43 yS0 wfr: waiting for ``RING''
08/26 13:38:43 yS0 got: [0d][0a]RING[0d]
08/26 13:38:43 yS0 CND: RING
08/26 13:38:43 yS0 wfr: rc=0, drn=0
08/26 13:38:43 yS0 CND: check no: 'none'
08/26 13:38:43 yS0 send: ATA[0d]
08/26 13:38:43 yS0 waiting for ``CONNECT''
08/26 13:38:43 yS0 got: ATA[0d]
08/26 13:38:43 yS0 CND: OKATA[0d][0a]CALLER'S NUMBER: ?[0d]
08/26 13:38:47 yS0 CND: CALLER'S NUMBER: ?
08/26 13:38:47 yS0 CND: found: ?[0a][0d][0a]NO CARRIER
08/26 13:39:57 yS0 found action string: ``NO CARRIER''
08/26 13:39:57 ##### failed A_FAIL dev=ttyS0, pid=11345, caller='?', conn='', name=''
08/26 13:39:57 yS0 removing lock file
--
08/26 13:39:57 yS0 mgetty: experimental test release 1.1.30-Dec16
08/26 13:39:57 yS0 check for lockfiles
08/26 13:39:57 yS0 checklock: stat failed, no file
08/26 13:39:57 yS0 locking the line
08/26 13:39:57 yS0 makelock(ttyS0) called
08/26 13:39:57 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
08/26 13:39:57 yS0 lock made
08/26 13:39:58 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
08/26 13:39:58 yS0 lowering DTR to reset Modem
08/26 13:39:58 yS0 tss: set speed to 38400 (017)
08/26 13:39:58 yS0 tio_set_flow_control( HARD )
08/26 13:39:58 yS0 waiting for line to clear (VTIME), read:
08/26 13:39:59 yS0 send: \dATQ0V1H0[0d]
08/26 13:39:59 yS0 waiting for ``OK''
08/26 13:39:59 yS0 got: ATQ0V1H0[0d]
08/26 13:39:59 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
08/26 13:39:59 yS0 send: ATS0=0Q0&D3&C1[0d]
08/26 13:39:59 yS0 waiting for ``OK''
08/26 13:39:59 yS0 got: [0d]
08/26 13:39:59 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
08/26 13:39:59 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
08/26 13:39:59 yS0 waiting for line to clear (VTIME), read: [0d][0a]
08/26 13:39:59 yS0 removing lock file
08/26 13:39:59 yS0 waiting...