PPTP in Ubuntu 9.10. Manual config

taras.perebeynosov gmail.com
16 20:50:35 BST 2010


Всем привет!
Не получается настроить VPN соединение из консоли. Сервер PPTP, видимо,
виндовый.
Что я имею: Ubuntu 9.10, интернет от beeline (PPTP).
конфиги:

> root  home-pc:~# cat /etc/ppp/peers/nc
> pty "pptp pptp.netcracker.org --nolaunchpppd --nobuffer --loglevel 0"
> connect /bin/true
> name netcracker\\perebeynosov
> remotename PPTP
> #require-mppe-128
> file /etc/ppp/options.nc
> ipparam nc
> persist
> maxfail 0
> lcp-echo-interval 30
> lcp-echo-failure 4
> mtu 1460
>

root  home-pc:~# cat /etc/ppp/options.nc
> nodeflate
> nobsdcomp
> noauth
>

root  home-pc:~# ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:22:15:d6:21:b6
>           inet addr:10.141.10.252  Bcast:10.141.15.255  Mask:255.255.248.0
>           inet6 addr: fe80::222:15ff:fed6:21b6/64 Диапазон:Ссылка
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:71161 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10426 errors:0 dropped:0 overruns:0 carrier:0
>           коллизии:0 txqueuelen:1000
>           RX bytes:8929434 (8.9 MB)  TX bytes:1822143 (1.8 MB)
>           Прервано:27 Base address:0x4000
>
> lo        Link encap:Локальная петля (Loopback)
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           inet6 addr: ::1/128 Диапазон:Узел
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:88 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
>           коллизии:0 txqueuelen:0
>           RX bytes:9986 (9.9 KB)  TX bytes:9986 (9.9 KB)
>
> ppp0      Link encap:Протокол PPP (Point-to-Point Protocol)
>           inet addr:89.179.212.202  P-t-P:85.21.230.64
> Mask:255.255.255.255
>           UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1460  Metric:1
>           RX packets:2355 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1941 errors:0 dropped:0 overruns:0 carrier:0
>           коллизии:0 txqueuelen:3
>           RX bytes:2068269 (2.0 MB)  TX bytes:413966 (413.9 KB)
>

дебаг

> root  home-pc:~# pon nc debug dump logfd 2 nodetach
> pppd options in effect:
> debug        # (from command line)
> nodetach        # (from command line)
> persist        # (from /etc/ppp/peers/nc)
> logfd 2        # (from command line)
> maxfail 0        # (from /etc/ppp/peers/nc)
> dump        # (from command line)
> noauth        # (from /etc/ppp/options.nc)
> name netcracker\\perebeynosov        # (from /etc/ppp/peers/nc)
> remotename PPTP        # (from /etc/ppp/peers/nc)
> connect /bin/true        # (from /etc/ppp/peers/nc)
> pty pptp pptp.netcracker.org --nolaunchpppd --nobuffer --loglevel 0
> # (from /etc/ppp/peers/nc)
> mtu 1460        # (from /etc/ppp/peers/nc)
> lcp-echo-failure 4        # (from /etc/ppp/peers/nc)
> lcp-echo-interval 30        # (from /etc/ppp/peers/nc)
> ipparam nc        # (from /etc/ppp/peers/nc)
> nobsdcomp        # (from /etc/ppp/options.nc)
> nodeflate        # (from /etc/ppp/options.nc)
> noipx        # (from /etc/ppp/options)
> Script /bin/true finished (pid 6869), status = 0x0
> Serial connection established.
> using channel 347
> Using interface ppp1
> Connect: ppp1 <--> /dev/pts/2
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x289d2a21> <pcomp>
> <accomp>]
> LCP: timeout sending Config-Requests
> Connection terminated.
> Modem hangup
>

возможно нужен ms-chapV2, как включить? Да и вообще что может быть не так?
Из винды подрубается без проблем
-----------   -----------
Вложение в формате HTML было извлечено&hellip;
URL: https://lists.ubuntu.com/archives/ubuntu-ru/attachments/20100416/4ec0e2b3/attachment-0001.htm 


ubuntu-ru