Настройка dila-in сервера
Добавлено: 2009-08-18 14:51:58
Добрый день Уважаемые специалисты.
Решил Я настроить Dial-in сервер но по пути я сталкнулся проблемами и вот решил к вам обратится
вот настройки mgetty.config
вот настройки login.config
Настройки options
вот настройки options.tty00
Вот логи файла pppd.log
вот логи mgetty.tty00
не могу понять выдает ошибку 629 соединение было закрыто
Буду благодарен за помощь.
Решил Я настроить Dial-in сервер но по пути я сталкнулся проблемами и вот решил к вам обратится
вот настройки mgetty.config
Код: Выделить всё
port tty00
debug 4
fax-id 00 000 000000
speed 57600
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
modem-check-time 600
rings 3
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
Код: Выделить всё
/AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
Код: Выделить всё
auth
-chap
+pap
login
modem
crtscts
debug
proxyarp
lock
ms-dns 192.168.0.2
Код: Выделить всё
192.168.0.2:192.168.0.100
Код: Выделить всё
:23:20 ftp pppd[17701]: PPP device not available. Make sure the device is created with ifconfig and that the kernel supports PPP. See ifconfig(8) and ppp(4).
Код: Выделить всё
--
08/18 20:52:02 y00 mgetty: interim release 1.1.36-Jun15
08/18 20:52:02 y00 check for lockfiles
08/18 20:52:02 y00 locking the line
08/18 20:52:03 y00 lowering DTR to reset Modem
08/18 20:52:04 y00 send: ATS0=0Q0&D3&C1[0d]
08/18 20:52:04 y00 waiting for ``OK'' ** found **
08/18 20:52:04 y00 waiting...
08/18 21:07:04 y00 checking if modem is still alive
08/18 21:07:04 y00 mdm_send: 'AT' -> OK
08/18 21:07:04 y00 waiting...
08/18 21:22:04 y00 checking if modem is still alive
08/18 21:22:04 y00 mdm_send: 'AT' -> OK
08/18 21:22:05 y00 waiting...
08/18 21:22:11 y00 wfr: waiting for ``RING''
08/18 21:22:11 y00 wfr: waiting for ``RING''
08/18 21:22:16 y00 wfr: waiting for ``RING''
08/18 21:22:26 y00 mdm_read_byte: read returned -1: Interrupted system call
08/18 21:22:26 y00 wfr: timeout waiting for RING
08/18 21:22:26 ##### phone stopped ringing (rings=2, dev=tty00, pid=17701, caller='none')
08/18 21:22:26 y00 waiting...
08/18 21:22:46 y00 wfr: waiting for ``RING''
08/18 21:22:46 y00 wfr: waiting for ``RING''
08/18 21:22:51 y00 wfr: waiting for ``RING''
08/18 21:22:56 y00 send: ATA[0d]
08/18 21:22:56 y00 waiting for ``CONNECT'' ** found **
08/18 21:23:18 y00 send:
08/18 21:23:18 y00 waiting for ``_'' ** found **
08/18 21:23:20 ##### data dev=tty00, pid=17701, caller='none', conn='57600', name='', cmd='/usr/sbin/pppd', user='/AutoPPP/'
Буду благодарен за помощь.