Привожу лог pppd
Jul 29 00:10:41 vlad pppd[343]: pppd 2.4.1 started by root, uid 0
Jul 29 00:10:42 vlad chat[344]: timeout set to 3 seconds
Jul 29 00:10:42 vlad chat[344]: abort on (\nBUSY\r)
Jul 29 00:10:42 vlad chat[344]: abort on (\nNO ANSWER\r)
Jul 29 00:10:42 vlad chat[344]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jul 29 00:10:42 vlad chat[344]: send (rAT^M)
Jul 29 00:10:42 vlad chat[344]: expect (OK)
Jul 29 00:10:42 vlad chat[344]: rAT^M^M
Jul 29 00:10:42 vlad chat[344]: OK
Jul 29 00:10:42 vlad chat[344]: -- got it
Jul 29 00:10:42 vlad chat[344]: send (ATH0^M)
Jul 29 00:10:42 vlad chat[344]: timeout set to 30 seconds
Jul 29 00:10:42 vlad chat[344]: expect (OK)
Jul 29 00:10:42 vlad chat[344]: ^M
Jul 29 00:10:43 vlad chat[344]: ATH0^M^M
Jul 29 00:10:43 vlad chat[344]: OK
Jul 29 00:10:43 vlad chat[344]: -- got it
Jul 29 00:10:43 vlad chat[344]: send (ATDT999^M)
Jul 29 00:10:43 vlad chat[344]: expect (CONNECT)
Jul 29 00:10:43 vlad chat[344]: ^M
Jul 29 00:11:03 vlad chat[344]: ATDT999^M^M
Jul 29 00:11:03 vlad chat[344]: CONNECT
Jul 29 00:11:03 vlad chat[344]: -- got it
Jul 29 00:11:03 vlad chat[344]: send (^M)
Jul 29 00:11:03 vlad pppd[343]: Serial connection established.
Jul 29 00:11:03 vlad pppd[343]: using channel 3
Jul 29 00:11:03 vlad pppd[343]: Using interface ppp0
Jul 29 00:11:03 vlad pppd[343]: Connect: ppp0 <--> /dev/ttyS1
Jul 29 00:11:04 vlad pppd[343]: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Jul 29 00:11:04 vlad pppd[343]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth pap> <magic 0x13c64582> <pcomp> <accomp>]
Jul 29 00:11:04 vlad pppd[343]: rcvd [LCP ConfReq id=0x0 <asyncmap 0x0> <auth 0xc227> <magic 0x166e3a73> <pcomp> <accomp> <callback CBCP> <mrru 1614> <endpoint [MAC:00:00:21:ff:9a:62]> < 17 04 00 02>]
Jul 29 00:11:04 vlad pppd[343]: sent [LCP ConfRej id=0x0 <callback CBCP> <mrru 1614> < 17 04 00 02>]
Jul 29 00:11:04 vlad pppd[343]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <auth pap> <magic 0x13c64582> <pcomp> <accomp>]
Jul 29 00:11:04 vlad pppd[343]: rcvd [LCP ConfReq id=0x1 <asyncmap 0x0> <auth 0xc227> <magic 0x166e3a73> <pcomp> <accomp> <endpoint [MAC:00:00:21:ff:9a:62]>]
Jul 29 00:11:04 vlad pppd[343]: sent [LCP ConfNak id=0x1 <auth chap MD5>]
Jul 29 00:11:04 vlad pppd[343]: rcvd [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x166e3a73> <pcomp> <accomp> <endpoint [MAC:00:00:21:ff:9a:62]>]
Jul 29 00:11:04 vlad pppd[343]: sent [LCP ConfAck id=0x2 <asyncmap 0x0> <auth chap MD5> <magic 0x166e3a73> <pcomp> <accomp> <endpoint [MAC:00:00:21:ff:9a:62]>]
Jul 29 00:11:04 vlad pppd[343]: sent [LCP EchoReq id=0x0 magic=0x13c64582]
Jul 29 00:11:04 vlad pppd[343]: rcvd [CHAP Challenge id=0x0 <5a159c3ca18735b2a0be6c858817c101>, name = "L"]
Jul 29 00:11:04 vlad pppd[343]: Warning - secret file /etc/ppp/chap-secrets has world and/or group access
Jul 29 00:11:04 vlad pppd[343]: sent [CHAP Response id=0x0 <b04f9b4465b09eec6d22b80de8425d84>, name = "vlad"]
Jul 29 00:11:04 vlad pppd[343]: rcvd [LCP EchoRep id=0x0 magic=0x166e3a73]
Jul 29 00:11:05 vlad pppd[343]: rcvd [CHAP Failure id=0x0 ""]
Jul 29 00:11:05 vlad pppd[343]: CHAP authentication failed
Jul 29 00:11:05 vlad pppd[343]: sent [LCP TermReq id=0x2 "Failed to authenticate ourselves to peer"]
Jul 29 00:11:05 vlad pppd[343]: rcvd [LCP TermReq id=0x4 16 6e 3a 73 00 3c cd 74 00 00 02 b3]
Jul 29 00:11:05 vlad pppd[343]: sent [LCP TermAck id=0x4]
Jul 29 00:11:05 vlad pppd[343]: rcvd [LCP TermAck id=0x2 "Failed to authenticate ourselves to peer"]
Jul 29 00:11:05 vlad pppd[343]: Connection terminated.
Jul 29 00:11:05 vlad pppd[343]: Hangup (SIGHUP)
Jul 29 00:11:05 vlad pppd[343]: Exit.
следующие настройки скриптов
ppp-on
------------
#!/bin/sh
TELEPHONE=999 # The telephone number for the connection
ACCOUNT=vlad # The account name for logon (as in 'George Burns')
PASSWORD=1 # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0 # Local IP address if known. Dynamic = 0.0.0.0
REMOTE_IP=0.0.0.0 # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0 # The proper netmask if needed
export TELEPHONE ACCOUNT PASSWORD
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
exec /usr/sbin/pppd -d debug lock modem crtscts /dev/ttyS1 115200 \
kdebug 1 $LOCAL_IP:$REMOTE_IP \
noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
user vlad
-----------------
ppp-on-dialer
--------------
#!/bin/sh
exec chat -v \
TIMEOUT 3 \
ABORT '\nBUSY\r' \
ABORT '\nNO ANSWER\r' \
ABORT '\nRINGING\r\n\r\nRINGING\r' \
'' \rAT \
'OK-+++\c-OK' ATH0 \
TIMEOUT 30 \
OK ATDT$TELEPHONE \
CONNECT '\d\c'
------------
and chap-secrets
--------
vlad * 1 *
--------
options.ttys1
---------
crtcts
ms-dns 192.168.2.1
asyncmap 0
modem
proxyarp
lock
debug
---------
pppd компилил с опциями "make CHAMPS=1 USE_CRYPT=1"
закачал и откомпил libdes_4.01 на той стороне точно знаю работает ms-chap2 и chap. Любой виндой коннекчусь нормально.
Очень бы хотелось получить ответ на данный вопрос.
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум Снова pppd&ms-chap не авторизует нт хоть убей (2001)
- Форум Помогите разобраться в логе pppd!!!!!! (2000)
- Форум ПОМОГИТЕ!! PPP не работает (2001)
- Форум LCP: timeout sending Config-Requests (2006)
- Форум Проблемы с РРР-соединением (1999)
- Форум pptp+pppd+radius (2002)
- Форум ppp через нуль модем, через socat (2015)
- Форум PPTP заводится на Ubuntu 13, но не работает на Debian Wheezy (2014)
- Форум ne mogu podkluchit pptp (2011)
- Форум pptp client ubuntu (2007)