LINUX.ORG.RU

ubuntu 12.10 не работает vpn клиент

 , , ,


0

1

Доброе утро, дорогой ЛОР!

С обновлением Убунту с 12.04 до 12.10 перестал корректно работать VPN. Без проблем создается новое соединение.

$  ifconfig
ppp0      Link encap:Point-to-Point Protocol                            
          inet addr:10.6.23.230  P-t-P:10.6.12.109  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1    
          RX packets:13 errors:0 dropped:0 overruns:0 frame:0           
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0         
          collisions:0 txqueuelen:3                                     
          RX bytes:526 (526.0 B)  TX bytes:1066 (1.0 KB)                
$cat /var/log/syslog
Nov 24 06:08:28 my_computer NetworkManager[957]: <info> Starting VPN service 'pptp'...
Nov 24 06:08:28 my_computer NetworkManager[957]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 3125
Nov 24 06:08:28 my_computer NetworkManager[957]: <info> VPN service 'pptp' appeared; activating connections                                                                      
Nov 24 06:08:33 my_computer NetworkManager[957]: <info> VPN plugin state changed: starting (3)
Nov 24 06:08:33 my_computer NetworkManager[957]: <info> VPN connection 'Work VPN' (Connect) reply received.
Nov 24 06:08:33 my_computer pppd[3133]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Nov 24 06:08:33 my_computer pppd[3133]: pppd 2.4.5 started by root, uid 0
Nov 24 06:08:33 my_computer pptp[3138]: nm-pptp-service-3125 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Nov 24 06:08:33 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Nov 24 06:08:33 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Nov 24 06:08:33 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Nov 24 06:08:33 my_computer pppd[3133]: Using interface ppp0
Nov 24 06:08:33 my_computer pppd[3133]: Connect: ppp0 <--> /dev/pts/4
Nov 24 06:08:33 my_computer NetworkManager[957]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 24 06:08:33 my_computer NetworkManager[957]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Nov 24 06:08:33 my_computer NetworkManager[957]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...                                             
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 48402).
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_disp:pptp_ctrl.c:953]:   send_accm is 00000000, recv_accm is FFFFFFFF
Nov 24 06:08:34 my_computer pptp[3144]: nm-pptp-service-3125 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Nov 24 06:08:34 my_computer pppd[3133]: CHAP authentication succeeded
Nov 24 06:08:34 my_computer kernel: [  160.695615] PPP MPPE Compression module registered
Nov 24 06:08:34 my_computer pppd[3133]: MPPE 128-bit stateless compression enabled
Nov 24 06:08:36 my_computer pppd[3133]: local  IP address 10.6.21.127
Nov 24 06:08:36 my_computer pppd[3133]: remote IP address 10.6.12.109
Nov 24 06:08:36 my_computer pppd[3133]: primary   DNS address 10.6.0.6
Nov 24 06:08:36 my_computer pppd[3133]: secondary DNS address 10.6.0.16
Nov 24 06:08:36 my_computer NetworkManager[957]: <info> VPN connection 'Work VPN' (IP4 Config Get) reply received from old-style plugin.
Nov 24 06:08:36 my_computer NetworkManager[957]: <info> VPN Gateway: 217.21.63.8
Nov 24 06:08:36 my_computer NetworkManager[957]: <info> Tunnel Device: ppp0
Nov 24 06:08:36 my_computer NetworkManager[957]: <info> IPv4 configuration:
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Internal Address: 10.6.21.127
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Internal Prefix: 32
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Internal Point-to-Point Address: 10.6.12.109
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Maximum Segment Size (MSS): 0
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Forbid Default Route: no
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Internal DNS: 10.6.0.6
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   Internal DNS: 10.6.0.16
Nov 24 06:08:36 my_computer NetworkManager[957]: <info>   DNS Domain: '(none)'
Nov 24 06:08:36 my_computer NetworkManager[957]: <info> No IPv6 configuration
Nov 24 06:08:37 my_computer NetworkManager[957]: <info> VPN connection 'Work VPN' (IP Config Get) complete.
Nov 24 06:08:37 my_computer NetworkManager[957]: <info> Policy set 'Work VPN' (ppp0) as default for IPv4 routing and DNS.
Nov 24 06:08:37 my_computer NetworkManager[957]: <info> ((null)): writing resolv.conf to /sbin/resolvconf
Nov 24 06:08:37 my_computer dnsmasq[1827]: setting upstream servers from DBus
Nov 24 06:08:37 my_computer dnsmasq[1827]: using nameserver 10.6.0.16#53
Nov 24 06:08:37 my_computer dnsmasq[1827]: using nameserver 10.6.0.6#53
Nov 24 06:08:37 my_computer NetworkManager[957]: <info> VPN plugin state changed: started (4)
Nov 24 06:08:37 my_computer dbus[920]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov 24 06:08:37 my_computer dbus[920]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov 24 06:08:46 my_computer ntpdate[3224]: adjust time server 91.189.94.4 offset -0.113003 sec

Но стоит только пустить трафик через этот интерфейс, как соединение тут же отрубается.

$cat /var/log/syslog
Nov 24 06:08:49 my_computer pptp[3138]: nm-pptp-service-3125 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
Nov 24 06:08:49 my_computer pptp[3144]: nm-pptp-service-3125 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Nov 24 06:08:49 my_computer pptp[3144]: nm-pptp-service-3125 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Nov 24 06:08:49 my_computer pptp[3144]: nm-pptp-service-3125 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Nov 24 06:08:49 my_computer pppd[3133]: Modem hangup
Nov 24 06:08:49 my_computer pppd[3133]: Connect time 0.3 minutes.
Nov 24 06:08:49 my_computer pppd[3133]: Sent 23521 bytes, received 28955 bytes.
Nov 24 06:08:49 my_computer pppd[3133]: MPPE disabled
Nov 24 06:08:49 my_computer pppd[3133]: Connection terminated.
Nov 24 06:08:49 my_computer NetworkManager[957]: <info> VPN plugin state changed: stopping (5)
Nov 24 06:08:49 my_computer NetworkManager[957]: <info> VPN plugin state changed: stopped (6)
Nov 24 06:08:49 my_computer NetworkManager[957]: <info> VPN plugin state change reason: 0
Nov 24 06:08:49 my_computer pppd[3133]: Terminating on signal 15
Nov 24 06:08:49 my_computer pppd[3133]: Exit.
Nov 24 06:08:50 my_computer NetworkManager[957]: <info> Policy set 'Auto Ethernet' (eth1) as default for IPv4 routing and DNS.
Nov 24 06:08:50 my_computer NetworkManager[957]: <info> ((null)): writing resolv.conf to /sbin/resolvconf
Nov 24 06:08:50 my_computer dnsmasq[1827]: setting upstream servers from DBus
Nov 24 06:08:50 my_computer dnsmasq[1827]: using nameserver 192.168.1.1#53
Nov 24 06:08:50 my_computer dbus[920]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Nov 24 06:08:50 my_computer NetworkManager[957]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Nov 24 06:08:50 my_computer NetworkManager[957]: <warn> (4) failed to find interface name for index
Nov 24 06:08:50 my_computer NetworkManager[957]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
Nov 24 06:08:50 my_computer NetworkManager[957]: <warn> (4) failed to find interface name for index
Nov 24 06:08:50 my_computer NetworkManager[957]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 24 06:08:50 my_computer dbus[920]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Nov 24 06:08:54 my_computer NetworkManager[957]: <info> VPN service 'pptp' disappeared

Может кто сталкивался. Или знает куда копать. Помогите. Невозможно работать из дома, приходиться толкс читать. Заранее спасибо.

Поставил mtu 1200

$ifconfig ppp0 mtu 1200
Вроде почти всё стабильно. google.com не открывается жалко. Может кто знает как подобрать оптимальное значение?

ConnorMcLaud ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.