Здравствуйте!
Поставил mgetyy-1.1.33 из портов. Вот такие конфиги:
login.conf:
/AutoPPP/ - a_ppp /usr/sbin/pppd file /etc/ppp/options.modem
mgetty.conf:
debug 9
fax-id 00 00 000000
speed 57600
direct NO
blocking NO
port-owner uucp
port-group uucp
port-mode 0660
toggle-dtr YES
toggle-dtr-waittime 1500
data-only YES
fax-only NO
modem-type auto
init-chat "" ATS0=0Q0&D3&C1&M0&L0 OK
modem-check-time 3600
rings 1
answer-chat "" ATA CONNECT \c \r
answer-chat-timeout 120
autobauding NO
ringback NO
ringback-time 30
ignore-carrier false
issue-file /etc/issue
prompt-waittime 1500
login-prompt @!login:
login-time 240
diskspace 2048
notify faxadmin
fax-owner uucp
fax-group modem
fax-mode 0660
options.modem:
modem
noipdefault
nodetach
debug
noccp
proxyarp
crtscts
ms-dns 192.168.1.2
idle 1000
require-pap
refuse-chap
options.cuaa0:
192.168.1.1:192.168.1.253
pap-secrets:
antony * passowrd *
Лог mgetty выглядит весьма странно, например так:
11/30 20:28:26 aa0 mgetty: experimental test release 1.1.31-Jul24
11/30 20:28:26 aa0 check for lockfiles
11/30 20:28:26 aa0 checklock: no active process has lock, will remove
11/30 20:28:26 aa0 locking the line
11/30 20:28:26 aa0 makelock(cuaa0) called
11/30 20:28:26 aa0 do_makelock: lock='/var/spool/lock/LCK..cuaa0'
11/30 20:28:26 aa0 lock made
11/30 20:28:27 aa0 tio_get_rs232_lines: status: RTS CTS DSR DTR
11/30 20:28:27 aa0 lowering DTR to reset Modem
11/30 20:28:27 aa0 tss: set speed to 38400 (113000)
11/30 20:28:27 aa0 tio_set_flow_control( HARD )
11/30 20:28:27 aa0 waiting for line to clear (VTIME=1), read:
11/30 20:28:27 aa0 send: ATS0=0Q0&D3&C1&M0&L0[0d]
11/30 20:28:27 aa0 waiting for ``OK''
11/30 20:28:27 aa0 got: ATS0=0Q0&D3&C1&M0&L0[0d]
11/30 20:28:27 aa0 CND: ATS0=0Q0&D3&C1&M0&L0[0d][0a]OK ** found **
11/30 20:28:27 aa0 waiting for line to clear (VTIME=3), read: [0d][0a]
11/30 20:28:28 aa0 removing lock file
11/30 20:28:28 aa0 waiting...
11/30 20:28:52 aa0 select returned 1
11/30 20:28:52 aa0 checking lockfiles, locking the line
11/30 20:28:52 aa0 makelock(cuaa0) called
11/30 20:28:52 aa0 do_makelock: lock='/var/spool/lock/LCK..cuaa0'
11/30 20:28:52 aa0 lock made
11/30 20:28:52 aa0 wfr: waiting for ``RING''
11/30 20:28:52 aa0 got: [0d][0a]RING[0d]
11/30 20:28:52 aa0 CND: RING
11/30 20:28:52 aa0 wfr: rc=0, drn=0
11/30 20:28:52 aa0 CND: check no: 'none'
11/30 20:28:52 aa0 send: ATA[0d]
11/30 20:28:52 aa0 waiting for ``CONNECT''
11/30 20:28:52 aa0 got: ATA[0d]
11/30 20:28:52 aa0 CND: OKATA[0d][0a]CONNECT ** found **
11/30 20:29:05 aa0 send:
11/30 20:29:05 aa0 waiting for ``_''
11/30 20:29:05 aa0 got: 33600/V34/NONE[0d]
11/30 20:29:05 aa0 CND: CONNECT 33600/V34/NONE
11/30 20:29:05 aa0 CND: found: 33600/V34/NONE ** found **
11/30 20:29:05 aa0 waiting for line to clear (VTIME=3), read: [0a][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11][91][11]
[91][11][91][11][91][11][91][11][91][11][91][11][91]
11/30 20:29:06 aa0 clean_line: only 500 of 1327 bytes logged
11/30 20:29:06 aa0 utmp + wtmp entry made
11/30 20:29:07 aa0 tio_set_flow_control( HARD )
11/30 20:29:07 aa0 print welcome banner (/etc/issue)
11/30 20:29:07 aa0 getlogname (AUTO_PPP), read:[8f][84][9f][f3][f8]H:[ae] [f8][ff][af][f9][ef][94][0a]
11/30 20:29:07 aa0 tio_get_rs232_lines: status: RTS CTS DSR DTR DCD
11/30 20:29:07 aa0 login: use login config file /usr/local/etc/mgetty+sendfax/login.config
11/30 20:29:07 aa0 match: user='__sxH:. /yo_', key=''
11/30 20:29:07 aa0 match: user='__sxH:. /yo_', key=''
11/30 20:29:07 aa0 match: user='__sxH:. /yo_', key='/AutoPPP/'
11/30 20:29:07 aa0 login: fall back to /usr/bin/login
11/30 20:29:07 aa0 calling login: cmd='/usr/bin/login', argv[]='login sxH:. /yo'
11/30 20:29:07 aa0 setenv: 'CALLER_ID=none'
11/30 20:29:07 aa0 setenv: 'CONNECT=33600/V34/NONE'
11/30 20:29:07 aa0 setenv: 'DEVICE=cuaa0'
11/30 20:29:07 ##### data dev=cuaa0, pid=37363, caller='none', conn='33600/V34/NONE', name='', cmd='/usr/bin/login', user='sxH:. /yo'
бывают небольшие различия от звонка к звонку, но в общем все так-же.