Author Topic: SLAX+VPN client+unlim.tom.ru  (Read 4391 times)

0 Members and 1 Guest are viewing this topic.

Offline chodze

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
SLAX+VPN client+unlim.tom.ru
« on: March 18, 2006, 21:29:19 »
root@slax:~/src/bin# cat /etc/ppp/chap-secrets
skivan unlim.tomsk.ru super_pass *


root@slax:~/src/bin# cat /etc/ppp/peers/unlim
name skivan
remotename unlim.tomsk.ru
noipdefault
debug
defaultroute
file /etc/ppp/options.pptp
pty "/usr/sbin/pptp unlim.tomsk.ru --nolaunchpppd"

root@slax:~/src/bin# cat /etc/ppp/options.pptp
lock
noauth
sync
refuse-eap
refuse-mschap-v2
noccp
nomppe
nobsdcomp
nodeflate
name skivan
ipcp-accept-local
ipcp-accept-remote

root@slax:~/src/bin# pppd call unlim
--------------------------------------------------------------------------------------------------------
root@slax:~/src/bin# tail -f /var/log/messages

Mar 18 21:15:19 (none) pppd[18404]: pppd 2.4.4b1 started by root, uid 0
Mar 18 21:15:19 (none) pptp[18407]: anon log[main:pptp.c:267]: The synchronous pptp option is NOT activated
Mar 18 21:15:19 (none) pppd[18404]: Using interface ppp0
Mar 18 21:15:19 (none) pppd[18404]: Connect: ppp0 <--> /dev/pts/3
Mar 18 21:15:19 (none) pptp[18418]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 18 21:15:19 (none) pptp[18418]: anon log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
Mar 18 21:15:19 (none) pptp[18418]: anon log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
Mar 18 21:15:20 (none) pptp[18418]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar 18 21:15:20 (none) pptp[18418]: anon log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
Mar 18 21:15:20 (none) pptp[18418]: anon log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 26880).
Mar 18 21:15:50 (none) pppd[18404]: Connection terminated.
Mar 18 21:15:50 (none) pppd[18404]: Modem hangup
Mar 18 21:15:50 (none) pppd[18404]: Exit.
Mar 18 21:15:50 (none) pptp[18418]: anon log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
Mar 18 21:15:51 (none) pptp[18418]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 18 21:15:51 (none) pptp[18418]: anon log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)

----------------------------------------------------------------------------------------------------------------------
Поможите кто чем может замучился уже целый день доки рою ,(((
« Last Edit: March 18, 2006, 21:30:52 by chodze »

Offline chodze

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
SLAX+VPN client+unlim.tom.ru
« Reply #1 on: March 18, 2006, 22:38:36 »
Все оказалось даже проще чем я думал

root@slax:/etc/ppp# cat /etc/ppp/options
name skivan
remotename vpn
defaultroute
refuse-eap
require-chap
noauth
asyncmap 0
crtscts
lock
hide-password
local
noproxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx

root@slax:/etc/ppp# cat /etc/ppp/chap-secrets
skivan  vpn     super_pass          *

root@slax:/etc/ppp# pptp unlim.tomsk.ru

root@slax:/etc/ppp# ping www.ya.ru -I ppp0
PING ya.ru (213.180.204.8) from 192.168.2.19 ppp0: 56(84) bytes of data.
64 bytes from ya.ru (213.180.204.8): icmp_seq=1 ttl=58 time=96.1 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=2 ttl=58 time=114 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=3 ttl=58 time=113 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=4 ttl=58 time=103 ms
64 bytes from ya.ru (213.180.204.8): icmp_seq=5 ttl=58 time=106 ms