LINUX.ORG.RU

Сообщения barabashka

 

Непонятки с pppd

Всем, здравствуйте.

Возникла проблема и никак ее решить не могу.

У провайдера три телефона, два номера на цифровой станции и один на
аналоговой.

При стандартных настройках kppp соединяется на все 3 телефона.
wvdial только на аналоговой.

Думал, проблема с ним перелопатил документацию, настроил pppd+chat, картина
та же.

Модем звонит, соединяется, отсылает login и пароль, после чего посылает 2
LCP пакета, бросает трубку.

Feb 10 16:55:25 localhost pppd[2122]: pppd 2.4.2b3 started by root, uid 0
Feb 10 16:55:26 localhost chat[2125]: abort on (\nBUSY\r)
Feb 10 16:55:26 localhost chat[2125]: abort on (\nNO ANSWER\r)
Feb 10 16:55:26 localhost chat[2125]: abort on (\nNO CARRIER\r)
Feb 10 16:55:26 localhost chat[2125]: abort on (\nRINGING\r\n\r\nRINGING\r)
Feb 10 16:55:26 localhost chat[2125]: send (ATM0L0^M)
Feb 10 16:55:26 localhost chat[2125]: expect (OK)
Feb 10 16:55:26 localhost chat[2125]: OK
Feb 10 16:55:26 localhost chat[2125]: -- got it
Feb 10 16:55:26 localhost chat[2125]: send (ATDT960777^M)
Feb 10 16:55:26 localhost chat[2125]: expect (CONNECT)
Feb 10 16:55:26 localhost chat[2125]: ^M
Feb 10 16:55:26 localhost chat[2125]: ATM0L0^M^M
Feb 10 16:55:26 localhost chat[2125]: OK^M
Feb 10 16:55:58 localhost chat[2125]: ATDT960777^M^M
Feb 10 16:55:58 localhost chat[2125]: CONNECT
Feb 10 16:55:58 localhost chat[2125]: -- got it
Feb 10 16:55:58 localhost chat[2125]: send (^M)
Feb 10 16:55:58 localhost chat[2125]: expect (ogin:)
Feb 10 16:55:58 localhost chat[2125]: 50666 V44^M
Feb 10 16:55:58 localhost chat[2125]: ^M
Feb 10 16:55:58 localhost chat[2125]: ^M
Feb 10 16:55:58 localhost chat[2125]: User Access Verification^M
Feb 10 16:55:58 localhost chat[2125]: ^M
Feb 10 16:55:58 localhost chat[2125]: login:
Feb 10 16:55:58 localhost chat[2125]: -- got it
Feb 10 16:55:58 localhost chat[2125]: send (mylogin^M)
Feb 10 16:55:58 localhost chat[2125]: expect (assword:)
Feb 10 16:55:58 localhost chat[2125]: ^M
Feb 10 16:55:58 localhost chat[2125]: login:mylogin^M
Feb 10 16:55:58 localhost chat[2125]: Password:
Feb 10 16:55:58 localhost chat[2125]: -- got it
Feb 10 16:55:58 localhost chat[2125]: send (mypass^M)
Feb 10 16:55:58 localhost pppd[2122]: Serial connection established.
Feb 10 16:55:58 localhost pppd[2122]: Using interface ppp0
Feb 10 16:55:58 localhost pppd[2122]: Connect: ppp0 <--> /dev/ttyLT0
Feb 10 16:55:58 localhost pppd[2122]: using channel 3
Feb 10 16:55:59 localhost pppd[2122]: sent [LCP ConfReq id=0x1 <mru 552> <asyncmap 0x20a0000> <magic 0x74959f2a> <pcomp> <accomp>]
Feb 10 16:56:02 localhost pppd[2122]: Hangup (SIGHUP)
Feb 10 16:56:02 localhost pppd[2122]: sent [LCP ConfReq id=0x1 <mru 552> <asyncmap 0x20a0000> <magic 0x74959f2a> <pcomp> <accomp>]
Feb 10 16:56:02 localhost pppd[2122]: Modem hangup
Feb 10 16:56:02 localhost pppd[2122]: Connection terminated.
Feb 10 16:56:03 localhost pppd[2122]: Exit.
Feb 10 16:56:02 localhost pppd[2122]: Hangup (SIGHUP)

При дозвоне kppp все хорошо.

Почему???

Всю доп. информацию, по первому требованию.

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

ЗЫ. Чуть не забыл
kdenetwork-kppp-3.1.4-alt2
wvdial-1.53-alt1
ppp-2.4.1.20030513-alt2
kernel - 2.4.22-std-up-alt5
Модем Genius 56K kernel-modules-ltmodem-std-up-8.26a9-alt1.5

barabashka
()

RSS подписка на новые темы