Autor Tópico: cliente vpn pptp ubuntu 13  (Lida 2218 vezes)

Offline lonzetti

  • Usuário Ubuntu
  • *
  • Mensagens: 4
    • Ver perfil
cliente vpn pptp ubuntu 13
« Online: 12 de Dezembro de 2013, 14:32 »
boa tarde pessoal

vou resumir rapidamente aqui...
preciso conectar num server pptp pelo meu ubuntu e nao consigo a conexao estabele e 1seg dpois cai.. log abaixo
ps: usando o meu centos e o windows eu consigo conectar normalmente na vpn



Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> Starting VPN service 'pptp'...
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 7290
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN service 'pptp' appeared; activating connections
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN plugin state changed: starting (3)
Dec 12 14:29:47 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (Connect) reply received.
Dec 12 14:29:47 gabriel pppd[7294]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Dec 12 14:29:47 gabriel pppd[7294]: pppd 2.4.5 started by root, uid 0
Dec 12 14:29:47 gabriel pppd[7294]: Using interface ppp0
Dec 12 14:29:47 gabriel pppd[7294]: Connect: ppp0 <--> /dev/pts/1
Dec 12 14:29:47 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 12 14:29:47 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec 12 14:29:47 gabriel NetworkManager[1143]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Dec 12 14:29:47 gabriel pptp[7297]: nm-pptp-service-7290 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 6016).
Dec 12 14:29:49 gabriel pppd[7294]: CHAP authentication succeeded
Dec 12 14:29:49 gabriel pppd[7294]: MPPE 128-bit stateless compression enabled
Dec 12 14:29:49 gabriel pppd[7294]: local  IP address 192.168.40.239
Dec 12 14:29:49 gabriel pppd[7294]: remote IP address 192.168.40.1
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (IP4 Config Get) reply received from old-style plugin.
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> VPN Gateway: 189.114.65.202
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> Tunnel Device: ppp0
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> IPv4 configuration:
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Address: 192.168.40.239
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Prefix: 32
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Point-to-Point Address: 192.168.40.1
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Maximum Segment Size (MSS): 0
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Forbid Default Route: no
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   DNS Domain: '(none)'
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> No IPv6 configuration
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (IP Config Get) complete.
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> Policy set 'exp' (ppp0) as default for IPv4 routing and DNS.
Dec 12 14:29:50 gabriel dbus[879]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> VPN plugin state changed: started (4)
Dec 12 14:29:50 gabriel dbus[879]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 12 14:29:51 gabriel pptp[7297]: nm-pptp-service-7290 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Dec 12 14:29:51 gabriel pppd[7294]: Modem hangup
Dec 12 14:29:51 gabriel pppd[7294]: Connect time 0.1 minutes.
Dec 12 14:29:51 gabriel pppd[7294]: Sent 6225 bytes, received 954 bytes.
Dec 12 14:29:51 gabriel pppd[7294]: MPPE disabled
Dec 12 14:29:51 gabriel pppd[7294]: Connection terminated.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Withdrawing workstation service for ppp0.
Dec 12 14:29:51 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state changed: stopping (5)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state changed: stopped (6)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state change reason: 0
Dec 12 14:29:51 gabriel avahi-daemon[949]: Withdrawing address record for 192.168.1.2 on wlan0.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.2.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.2.
Dec 12 14:29:51 gabriel avahi-daemon[949]: New relevant interface wlan0.IPv4 for mDNS.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Registering new address record for 192.168.1.2 on wlan0.IPv4.
Dec 12 14:29:51 gabriel pppd[7294]: Terminating on signal 15
Dec 12 14:29:51 gabriel pppd[7294]: Exit.
Dec 12 14:29:52 gabriel ntpdate[7366]: no servers can be used, exiting
Dec 12 14:29:52 gabriel NetworkManager[1143]: <info> Policy set 'proinfo' (wlan0) as default for IPv4 routing and DNS.
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> (28) failed to find interface name for index
Dec 12 14:29:53 gabriel NetworkManager[1143]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> (28) failed to find interface name for index

Offline Renan Rischiotto

  • Usuário Ubuntu
  • *
  • Mensagens: 2.888
    • Ver perfil
Re: cliente vpn pptp ubuntu 13
« Resposta #1 Online: 18 de Abril de 2014, 20:40 »

Offline Arthur Bernardes

  • Usuário Ubuntu
  • *
  • Mensagens: 4.692
    • Ver perfil
Re: cliente vpn pptp ubuntu 13
« Resposta #2 Online: 18 de Abril de 2014, 21:01 »
Custa usar o "code" (), fica muito difícil ler esse resultado, olha que lindo que ficaria.

Código: [Selecionar]
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> Starting VPN service 'pptp'...
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN service 'pptp' started (org.freedesktop.NetworkManager.pptp), PID 7290
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN service 'pptp' appeared; activating connections
Dec 12 14:29:45 gabriel NetworkManager[1143]: <info> VPN plugin state changed: starting (3)
Dec 12 14:29:47 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (Connect) reply received.
Dec 12 14:29:47 gabriel pppd[7294]: Plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so loaded.
Dec 12 14:29:47 gabriel pppd[7294]: pppd 2.4.5 started by root, uid 0
Dec 12 14:29:47 gabriel pppd[7294]: Using interface ppp0
Dec 12 14:29:47 gabriel pppd[7294]: Connect: ppp0 <--> /dev/pts/1
Dec 12 14:29:47 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 12 14:29:47 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Dec 12 14:29:47 gabriel NetworkManager[1143]: <warn> /sys/devices/virtual/net/ppp0: couldn't determine device driver; ignoring...
Dec 12 14:29:47 gabriel pptp[7297]: nm-pptp-service-7290 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Dec 12 14:29:47 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Dec 12 14:29:48 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 6016).
Dec 12 14:29:49 gabriel pppd[7294]: CHAP authentication succeeded
Dec 12 14:29:49 gabriel pppd[7294]: MPPE 128-bit stateless compression enabled
Dec 12 14:29:49 gabriel pppd[7294]: local  IP address 192.168.40.239
Dec 12 14:29:49 gabriel pppd[7294]: remote IP address 192.168.40.1
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (IP4 Config Get) reply received from old-style plugin.
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> VPN Gateway: 189.114.65.202
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> Tunnel Device: ppp0
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> IPv4 configuration:
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Address: 192.168.40.239
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Prefix: 32
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Internal Point-to-Point Address: 192.168.40.1
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Maximum Segment Size (MSS): 0
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   Forbid Default Route: no
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info>   DNS Domain: '(none)'
Dec 12 14:29:49 gabriel NetworkManager[1143]: <info> No IPv6 configuration
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> VPN connection 'exp' (IP Config Get) complete.
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> Policy set 'exp' (ppp0) as default for IPv4 routing and DNS.
Dec 12 14:29:50 gabriel dbus[879]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
Dec 12 14:29:50 gabriel NetworkManager[1143]: <info> VPN plugin state changed: started (4)
Dec 12 14:29:50 gabriel dbus[879]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 12 14:29:51 gabriel pptp[7297]: nm-pptp-service-7290 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Dec 12 14:29:51 gabriel pptp[7306]: nm-pptp-service-7290 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Dec 12 14:29:51 gabriel pppd[7294]: Modem hangup
Dec 12 14:29:51 gabriel pppd[7294]: Connect time 0.1 minutes.
Dec 12 14:29:51 gabriel pppd[7294]: Sent 6225 bytes, received 954 bytes.
Dec 12 14:29:51 gabriel pppd[7294]: MPPE disabled
Dec 12 14:29:51 gabriel pppd[7294]: Connection terminated.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Withdrawing workstation service for ppp0.
Dec 12 14:29:51 gabriel NetworkManager[1143]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state changed: stopping (5)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state changed: stopped (6)
Dec 12 14:29:51 gabriel NetworkManager[1143]: <info> VPN plugin state change reason: 0
Dec 12 14:29:51 gabriel avahi-daemon[949]: Withdrawing address record for 192.168.1.2 on wlan0.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Leaving mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.2.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Interface wlan0.IPv4 no longer relevant for mDNS.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Joining mDNS multicast group on interface wlan0.IPv4 with address 192.168.1.2.
Dec 12 14:29:51 gabriel avahi-daemon[949]: New relevant interface wlan0.IPv4 for mDNS.
Dec 12 14:29:51 gabriel avahi-daemon[949]: Registering new address record for 192.168.1.2 on wlan0.IPv4.
Dec 12 14:29:51 gabriel pppd[7294]: Terminating on signal 15
Dec 12 14:29:51 gabriel pppd[7294]: Exit.
Dec 12 14:29:52 gabriel ntpdate[7366]: no servers can be used, exiting
Dec 12 14:29:52 gabriel NetworkManager[1143]: <info> Policy set 'proinfo' (wlan0) as default for IPv4 routing and DNS.
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> (28) failed to find interface name for index
Dec 12 14:29:53 gabriel NetworkManager[1143]: nm_system_iface_flush_routes: assertion `iface != NULL' failed
Dec 12 14:29:53 gabriel NetworkManager[1143]: <warn> (28) failed to find interface name for index