Re: VPN

apollovy gmail.com
16 19:58:05 BST 2010


>
> /usr/sbin/pppd: The remote system (PPTP-NC) is required to authenticate
> itself
> /usr/sbin/pppd: but I couldn't find any suitable secret (password) for it
> to use to do so.
>
Однако, есть подозрение, что неплохо было бы ещё и для аутентификации самого
сервера секрет создать...
Говорите, что в оффтопике всё на ура работает... А что там за настройки?
NеtworkManager не предлагать? Или не справляется?

16 мая 2010 г. 12:49 пользователь Taras <taras.perebeynosov  gmail.com>написал:

>  Не помогло :(
>
>
> taras  taras-desktop:~$* cat /etc/ppp/peers/vpn_beeline *
> pty "pptp vpn.internet.beeline.ru --nolaunchpppd --nobuffer --loglevel 0"
> connect /bin/true
> name 0893098254
> remotename PPTP
> file /etc/ppp/options.vpn_beeline
> ipparam vpn_beeline
> persist
> maxfail 0
> lcp-echo-interval 30
> lcp-echo-failure 4
> mtu 1460
>
> taras  taras-desktop:~$ *cat /etc/ppp/options.vpn_beeline *
> nodeflate
> nobsdcomp
> noauth
>
> taras  taras-desktop:~$ *cat /etc/ppp/peers/nc*
> pty "pptp pptp.netcracker.org --nolaunchpppd --nobuffer --loglevel 0"
> connect /bin/true
> name perebeynosov
> remotename PPTP-NC
> file /etc/ppp/options.nc
> ipparam nc
> persist
> maxfail 0
> lcp-echo-interval 30
> lcp-echo-failure 4
> mtu 1460
>
> taras  taras-desktop:~$ *cat /etc/ppp/options.nc *
> nodeflate
> nobsdcomp
> #noauth
> #require-chap
> require-mschap-v2
> debug
>
> taras  taras-desktop:~$ *sudo cat /etc/ppp/chap-secrets *
> 0893098254 PPTP <myPass> *
> perebeynosov PPTP-NC     <myPass>     *
>
> taras  taras-desktop:~$ *sudo pon nc *
> /usr/sbin/pppd: The remote system (PPTP-NC) is required to authenticate
> itself
> /usr/sbin/pppd: but I couldn't find any suitable secret (password) for it
> to use to do so.
>
>
>
>  Уберите noauth - внятно же написано, что сервер хочет себя
> аутентифицировать, а ваш конфмг ему это запрещает.
>
> 14 мая 2010 г. 12:34 пользователь Тарас Перебейносов <
> taras.perebeynosov  gmail.com> написал:
>
> > вот без mschap-v2:
> >
> >
> > taras  taras-desktop:~$ *cat /etc/ppp/options.nc *
> > nodeflate
> > nobsdcomp
> > noauth
> > #require-chap
> > #require-mschap-v2
> > debug
> >
> > taras  taras-desktop:~$ *sudo pon nc*
> >
> >
> > taras  taras-desktop:~$ *cat /var/log/syslog|grep pp*
> > May 14 12:28:51 taras-desktop pppd[17726]: pppd 2.4.5 started by root,
> uid
> > 0
> > May 14 12:28:51 taras-desktop pppd[17726]: Script /bin/true finished (pid
> > 17728), status = 0x0
> > May 14 12:28:51 taras-desktop pppd[17726]: Serial connection established.
> > May 14 12:28:51 taras-desktop pppd[17726]: using channel 872
> > May 14 12:28:51 taras-desktop pppd[17726]: Using interface ppp1
> > May 14 12:28:51 taras-desktop pppd[17726]: Connect: ppp1 <--> /dev/pts/5
> > May 14 12:28:51 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:28:51 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> device
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no ifupdown
> > configuration found.
> > May 14 12:28:52 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:28:55 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:28:57 taras-desktop pptp[17729]: anon log[main:pptp.c:314]: The
> > synchronous pptp option is NOT activated
> > May 14 12:28:58 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:01 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:04 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x1
> > <asyncmap 0x0> <magic 0xc4b539b0> <pcomp> <accomp>]
> > May 14 12:29:18 taras-desktop pppd[17726]: last message repeated 4 times
> > May 14 12:29:18 taras-desktop pptp[17734]: anon
> > warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed out
> > May 14 12:29:18 taras-desktop pptp[17734]: anon
> > fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection
> to
> > 84.47.142.15
> > May 14 12:29:18 taras-desktop pptp[17729]: anon
> > fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
> > May 14 12:29:18 taras-desktop pppd[17726]: Script pptp
> pptp.netcracker.org--nolaunchpppd --nobuffer --loglevel 0 finished (pid
> 17727), status = 0x1
> > May 14 12:29:18 taras-desktop pppd[17726]: Modem hangup
> > May 14 12:29:18 taras-desktop pppd[17726]: Connection terminated.
> > May 14 12:29:18 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > removed (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:29:48 taras-desktop pppd[17726]: Script /bin/true finished (pid
> > 17801), status = 0x0
> > May 14 12:29:48 taras-desktop pppd[17726]: Serial connection established.
> > May 14 12:29:48 taras-desktop pppd[17726]: using channel 873
> > May 14 12:29:48 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
> > May 14 12:29:48 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> device
> > added (path: /sys/devices/virtual/net/ppp1, iface: ppp1): no ifupdown
> > configuration found.
> > May 14 12:29:48 taras-desktop pppd[17726]: Using interface ppp1
> > May 14 12:29:48 taras-desktop pppd[17726]: Connect: ppp1 <--> /dev/pts/5
> > May 14 12:29:49 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:29:52 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:29:53 taras-desktop pptp[17802]: anon log[main:pptp.c:314]: The
> > synchronous pptp option is NOT activated
> > May 14 12:29:55 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:30:06 taras-desktop pppd[17726]: last message repeated 3 times
> > May 14 12:30:07 taras-desktop pppd[17726]: sent [LCP ConfReq id=0x2
> > <asyncmap 0x0> <magic 0xa933cc18> <pcomp> <accomp>]
> > May 14 12:30:14 taras-desktop pppd[17726]: last message repeated 2 times
> > May 14 12:30:14 taras-desktop pptp[17807]: anon
> > warn[open_inetsock:pptp_callmgr.c:329]: connect: Connection timed out
> > May 14 12:30:14 taras-desktop pptp[17807]: anon
> > fatal[callmgr_main:pptp_callmgr.c:127]: Could not open control connection
> to
> > 84.47.142.15
> > May 14 12:30:14 taras-desktop pptp[17802]: anon
> > fatal[open_callmgr:pptp.c:479]: Call manager exited with error 256
> > May 14 12:30:14 taras-desktop pppd[17726]: Script pptp
> pptp.netcracker.org--nolaunchpppd --nobuffer --loglevel 0 finished (pid
> 17800), status = 0x1
> > May 14 12:30:14 taras-desktop pppd[17726]: Modem hangup
> > May 14 12:30:14 taras-desktop pppd[17726]: Connection terminated.
> > May 14 12:30:14 taras-desktop NetworkManager:    SCPlugin-Ifupdown:
> devices
> > removed (path: /sys/devices/virtual/net/ppp1, iface: ppp1)
>
>
>
-----------   -----------
Вложение в формате HTML было извлечено&hellip;
URL: https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20100516/1c109dec/attachment.htm 


ubuntu-ru