Под виндой к серверу подсоединяюсь, но возникла необходимость присоедениться под ASP 7.3Запускаю:
pptp 10.0.0.1 debug name user remotename server----------------------------------------------------------
/etc/ppp/options:lock
usepeerdns
defaultroute
logfd 2
----------------------------------------------------------
/etc/ppp/chap-secretsuser server "password" *
__________________________________________________________В логах такая бяка:
pptp[3271]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established.
pptp[3271]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:707]: Outgoing call established (call ID 0, peer's call ID 0).
pppd[3272]: pppd 2.4.1 with CBCPs (ASPLinux) started by root, uid 0
pppd[3272]: Using interface ppp0
pppd[3272]: Connect: ppp0 <--> /dev/pts/1
/etc/hotplug/net.agent: assuming ppp0 is already up
pppd[3272]: LCP terminated by peer (peer refused to authenticate)
pppd[3272]: Connection terminated.
/etc/hotplug/net.agent: NET unregister event not supported
pppd[3272]: Exit.
pptp[3269]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error
pptp[3271]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection
pptp[3271]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection
pptp[3271]: log[pptp_write_some:pptp_ctrl.c:376]: write error: Broken pipe
pptp[3271]: log[call_callback:pptp_callmgr.c:88]: Closing connection
>Под виндой к серверу подсоединяюсь, но возникла необходимость присоедениться под ASP 7.3
>
>
>Запускаю:
> pptp 10.0.0.1 debug name user remotename server
>
>----------------------------------------------------------
>/etc/ppp/options:
>
>lock
>usepeerdns
>defaultroute
>logfd 2
>----------------------------------------------------------
>/etc/ppp/chap-secrets
>
>user server "password" *
>__________________________________________________________
>
>В логах такая бяка:
>
>pptp[3271]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:580]: Client connection established.
>pptp[3271]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:707]: Outgoing call established (call ID 0, peer's call ID 0).
>
>pppd[3272]: pppd 2.4.1 with CBCPs (ASPLinux) started by root, uid 0
>pppd[3272]: Using interface ppp0
>pppd[3272]: Connect: ppp0 <--> /dev/pts/1
>/etc/hotplug/net.agent: assuming ppp0 is already up
>pppd[3272]: LCP terminated by peer (peer refused to authenticate)
>pppd[3272]: Connection terminated.
>/etc/hotplug/net.agent: NET unregister event not supported
>pppd[3272]: Exit.
>pptp[3269]: log[decaps_hdlc:pptp_gre.c:129]: short read (4294967295): Input/output error
>pptp[3271]: log[callmgr_main:pptp_callmgr.c:245]: Closing connection
>pptp[3271]: log[pptp_conn_close:pptp_ctrl.c:307]: Closing PPTP connection
>pptp[3271]: log[pptp_write_some:pptp_ctrl.c:376]: write error: Broken pipe
>pptp[3271]: log[call_callback:pptp_callmgr.c:88]: Closing connection
поставить в /etc/ppp/options
+chap
или
+mschap
>поставить в /etc/ppp/options
>+chap
>или
>+mschapПопробовал
Выскакивает сообщение :
/usr/sbin/pppd: The remote system (likcom) is required to authenticate itself
/usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
Т.е. как я понимаю у меня должна быть вторая запись в chap-secrets для сервера ? А как же под виндой все работает?
Я как раз написал статейку про настройку VPN под Linux
http://dimez,nm.ru/docs/pptp/
Скоро обновлю