[Comm] ALT4, первый пострадавший
Gleb Kulikov
glebus на asd.iao.ru
Чт Май 31 11:53:30 MSD 2007
Джентельмены, бросаю форвард с
http://forum.tomsk.ru/forum.php?a=9&g=4&t=643791
у человека отсох VPN, прекрасно работавший в Compact 3
++++++++++++++++++++++++++++++++++++++++++++++++
Не могу че то никак настроить впн соединение к томтелу в альте4. А точнее,
соединение происходит, выделяется IP, но при первом же обращении,
отваливается. Настроить альтератором пробовал - все так же. Использую
настройки которые я использовал в предыдущей версии. запускаю коммандой
pppd call tomtel_vpn
вот примерный лог и содержимое файлов настройки.
содержимое файла /etc/ppp/peers
pty "/usr/sbin/pptp vpn.tomtel.ru --nolaunchpppd"
file /etc/ppp/tomtel.pptp
-----------------------------------------------------------------------------
содержимое файла /etc/ppp/tomtel.pptp
lock
noauth
refuse-eap
refuse-chap
refuse-mschap
nobsdcomp
nodeflate
#require-mppe-128
nodetach
user *******
debug
#mtu 1452
#mru 1452
# defaultroute
[root на localhost ppp]# pppd call tomtel_vpn
using channel 5
Using interface ppp0
Connect: ppp0 <--> /dev/pts/5
sent [LCP ConfReq id=0x1 <mru 1452> <asyncmap 0x0> <magic 0xa4585ef5> <pcomp>
<accomp>]
rcvd [LCP ConfReq id=0x1 <auth chap MS-v2> <magic 0x82a03e11>]
sent [LCP ConfAck id=0x1 <auth chap MS-v2> <magic 0x82a03e11>]
rcvd [LCP ConfNak id=0x1 <mru 1500>]
sent [LCP ConfReq id=0x2 <asyncmap 0x0> <magic 0xa4585ef5> <pcomp> <accomp>]
rcvd [LCP ConfAck id=0x2 <asyncmap 0x0> <magic 0xa4585ef5> <pcomp> <accomp>]
rcvd [CHAP Challenge id=0x1 <ae138fd255e59a65b006ec0aa42e0bd5>, name =
"VPN-7206VXR"]
sent [CHAP Response id=0x1
<a619340447452b82552bc6de5c5cbafc00000000000000005cb7044fc6368ee9adc502e18ac3ad66854bcfc47dec2dc3
00>, name = "okno_vpn"]
rcvd [CHAP Success id=0x1 "S=A20BCF9A05B1CB45FA8E22724D7AFF2585A16802"]
CHAP authentication succeeded
sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0>]
rcvd [IPCP ConfReq id=0x1 <addr 213.210.81.65>]
sent [IPCP ConfAck id=0x1 <addr 213.210.81.65>]
rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]
sent [IPCP ConfReq id=0x2 <addr 0.0.0.0>]
rcvd [IPCP ConfNak id=0x2 <addr 213.210.82.94>]
sent [IPCP ConfReq id=0x3 <addr 213.210.82.94>]
rcvd [IPCP ConfAck id=0x3 <addr 213.210.82.94>]
local IP address 213.210.82.94
remote IP address 213.210.81.65
Script /etc/ppp/ip-up started (pid 6009)
Script /etc/ppp/ip-up finished (pid 6009), status = 0x0
Modem hangup
Connect time 0.9 minutes.
Sent 1061459964 bytes, received 90 bytes.
Script /etc/ppp/ip-down started (pid 6076)
Connection terminated.
Script /usr/sbin/pptp vpn.tomtel.ru --nolaunchpppd finished (pid 6004),
status = 0x0
Waiting for 1 child processes...
script /etc/ppp/ip-down, pid 6076
Script /etc/ppp/ip-down finished (pid 6076), status = 0x1
а это отрывок из /var/log/daemons/info
May 31 13:23:44 localhost pppd[6003]: pppd 2.4.4 started by root, uid 0
May 31 13:23:44 localhost pppd[6003]: using channel 5
May 31 13:23:44 localhost pppd[6003]: Using interface ppp0
May 31 13:23:44 localhost pppd[6003]: Connect: ppp0 <--> /dev/pts/5
May 31 13:23:44 localhost pptp[6004]: anon log[main:pptp.c:267]: The
synchronous pptp option is NOT activated
May 31 13:23:44 localhost pptp[6008]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 1 'Start-Control-Connection-Request'
May 31 13:23:44 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:738]:
Received Start Control Connection Reply
May 31 13:23:44 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:772]:
Client connection established.
May 31 13:23:45 localhost pppd[6003]: sent [LCP ConfReq id=0x1 <mru 1452>
<asyncmap 0x0> <magic 0xa4585ef5> <pcomp> <accomp>]
May 31 13:23:45 localhost pptp[6008]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 7 'Outgoing-Call-Request'
May 31 13:23:45 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:857]:
Received Outgoing Call Reply.
May 31 13:23:45 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:896]:
Outgoing call established (call ID 0, peer's call ID 18065).
May 31 13:23:45 localhost pppd[6003]: rcvd [LCP ConfReq id=0x1 <auth chap
MS-v2> <magic 0x82a03e11>]
May 31 13:23:45 localhost pppd[6003]: sent [LCP ConfAck id=0x1 <auth chap
MS-v2> <magic 0x82a03e11>]
May 31 13:23:45 localhost pppd[6003]: rcvd [LCP ConfNak id=0x1 <mru 1500>]
May 31 13:23:45 localhost pppd[6003]: sent [LCP ConfReq id=0x2 <asyncmap 0x0>
<magic 0xa4585ef5> <pcomp> <accomp>]
May 31 13:23:45 localhost pppd[6003]: rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>
<magic 0xa4585ef5> <pcomp> <accomp>]
May 31 13:23:45 localhost pppd[6003]: rcvd [CHAP Challenge id=0x1
<ae138fd255e59a65b006ec0aa42e0bd5>, name = "VPN-7206VXR"]
May 31 13:23:45 localhost pppd[6003]: sent [CHAP Response id=0x1
<a619340447452b82552bc6de5c5cbafc00000000000000005cb7044fc6368ee9adc502e18ac3ad66854bcfc47dec2dc3
00>, name = "okno_vpn"]
May 31 13:23:45 localhost pppd[6003]: rcvd [CHAP Success id=0x1
"S=A20BCF9A05B1CB45FA8E22724D7AFF2585A16802"]
May 31 13:23:45 localhost pppd[6003]: CHAP authentication succeeded
May 31 13:23:45 localhost pppd[6003]: sent [IPCP ConfReq id=0x1 <compress VJ
0f 01> <addr 0.0.0.0>]
May 31 13:23:45 localhost pppd[6003]: rcvd [IPCP ConfReq id=0x1 <addr
213.210.81.65>]
May 31 13:23:45 localhost pppd[6003]: sent [IPCP ConfAck id=0x1 <addr
213.210.81.65>]
May 31 13:23:45 localhost pppd[6003]: rcvd [IPCP ConfRej id=0x1 <compress VJ
0f 01>]
May 31 13:23:45 localhost pppd[6003]: sent [IPCP ConfReq id=0x2 <addr
0.0.0.0>]
May 31 13:23:45 localhost pppd[6003]: rcvd [IPCP ConfNak id=0x2 <addr
213.210.82.94>]
May 31 13:23:45 localhost pppd[6003]: sent [IPCP ConfReq id=0x3 <addr
213.210.82.94>]
May 31 13:23:45 localhost pppd[6003]: rcvd [IPCP ConfAck id=0x3 <addr
213.210.82.94>]
May 31 13:23:45 localhost pppd[6003]: local IP address 213.210.82.94
May 31 13:23:45 localhost pppd[6003]: remote IP address 213.210.81.65
May 31 13:23:45 localhost pppd[6003]: Script /etc/ppp/ip-up started (pid
6009)
May 31 13:23:45 localhost pppd[6003]: Script /etc/ppp/ip-up finished (pid
6009), status = 0x0
May 31 13:24:37 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:928]:
Call disconnect notification received (call id 18065)
May 31 13:24:37 localhost pptp[6008]: anon log[ctrlp_disp:pptp_ctrl.c:787]:
Received Stop Control Connection Request.
May 31 13:24:37 localhost pptp[6008]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 4 'Stop-Control-Connection-Reply'
May 31 13:24:37 localhost pptp[6008]: anon
log[callmgr_main:pptp_callmgr.c:255]: Closing connection (shutdown)
May 31 13:24:37 localhost pptp[6008]: anon log[ctrlp_rep:pptp_ctrl.c:251]:
Sent control packet type is 12 'Call-Clear-Request'
May 31 13:24:37 localhost pptp[6008]: anon
log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
May 31 13:24:37 localhost pppd[6003]: Modem hangup
May 31 13:24:37 localhost pppd[6003]: Connect time 0.9 minutes.
May 31 13:24:37 localhost pppd[6003]: Sent 1061459964 bytes, received 90
bytes.
May 31 13:24:37 localhost pppd[6003]: Script /etc/ppp/ip-down started (pid
6076)
May 31 13:24:37 localhost pppd[6003]: Connection terminated.
May 31 13:24:37 localhost pppd[6003]: Script /usr/sbin/pptp vpn.tomtel.ru
--nolaunchpppd finished (pid 6004), status = 0x0
May 31 13:24:37 localhost pppd[6003]: Waiting for 1 child processes...
May 31 13:24:37 localhost pppd[6003]: script /etc/ppp/ip-down, pid 6076
May 31 13:24:38 localhost pppd[6003]: Script /etc/ppp/ip-down finished (pid
6076), status = 0x1
May 31 13:24:38 localhost pppd[6003]: Exit.
--
Салют, /GLeb
UIN: 15341920
jabber://gleb@asd.iao.ru
sip://2387245@sipnet.ru (telephony)
skype://gleb_kulikov.tomsk (telephony)
sip://20000204@sip.pctel.ru (telephony)
netmail: 2:5005/78
Подробная информация о списке рассылки community