Autor Tópico: Acessar VPN Windows do trabalho pelo Ubuntu 18.04  (Lida 129 vezes)

Offline java-cachaca

  • Usuário Ubuntu
  • *
  • Mensagens: 39
  • Acreditando no software livre.
    • Ver perfil
    • Nascido de uma CPU.
Acessar VPN Windows do trabalho pelo Ubuntu 18.04
« Online: 09 de Fevereiro de 2018, 12:54 »
https://www.vivaolinux.com.br/dica/Configuracao-de-VPN-PPTP-no-Ubuntu-10.04-passoapasso


Amigos,

Segui os passos acima, mas não rolou !, estou há 04 dias tentando e pesquisando.

Estou no Ubuntu 18.04 tentando acessar a VPN do escritório, que é uma VPN Windows.

Tentei pela conexão do wifi da Net (pois me disseram que as vezes se tua operadora for net da problema) e também pela conexão do celular claro (fazendo dele como roteador da rede 4G).

Segue o log que capturei com tail -f /var/log/syslog

Código: [Selecionar]
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.1627] audit: op="connection-activate" uuid="11658743-1fe2-4af7-8622-5b7a860d2368" name="VPN 1" pid=15481 uid=1001 result="success"
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.1717] vpn-connection[0x561fe830e4e0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: Started the VPN service, PID 15984
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.1841] vpn-connection[0x561fe830e4e0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: Saw the service appear; activating connection
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.2145] vpn-connection[0x561fe830e4e0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN connection: (ConnectInteractive) reply received
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.2200] vpn-connection[0x561fe830e4e0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN plugin: state changed: starting (3)
Feb  9 12:41:06 dream-labs pppd[15988]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Feb  9 12:41:06 dream-labs NetworkManager[1407]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Feb  9 12:41:06 dream-labs pppd[15988]: pppd 2.4.7 started by root, uid 0
Feb  9 12:41:06 dream-labs NetworkManager[1407]: ((src/devices/nm-device.c:1452)): assertion '<dropped>' failed
Feb  9 12:41:06 dream-labs systemd-udevd[15992]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb  9 12:41:06 dream-labs pptp[15993]: nm-pptp-service-15984 log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.2452] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/32)
Feb  9 12:41:06 dream-labs pppd[15988]: Using interface ppp0
Feb  9 12:41:06 dream-labs pppd[15988]: Connect: ppp0 <--> /dev/pts/2
Feb  9 12:41:06 dream-labs NetworkManager[1407]: Using interface ppp0
Feb  9 12:41:06 dream-labs NetworkManager[1407]: Connect: ppp0 <--> /dev/pts/2
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.2588] devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb  9 12:41:06 dream-labs NetworkManager[1407]: <info>  [1518187266.2601] device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Feb  9 12:41:06 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Feb  9 12:41:06 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Feb  9 12:41:06 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 39240, peer's call ID 7936).
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[pptp_read_some:pptp_ctrl.c:586]: read returned zero, peer has closed
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[callmgr_main:pptp_callmgr.c:269]: Closing connection (shutdown)
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 12 'Call-Clear-Request'
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[pptp_read_some:pptp_ctrl.c:586]: read returned zero, peer has closed
Feb  9 12:41:07 dream-labs pptp[16005]: nm-pptp-service-15984 log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
Feb  9 12:41:07 dream-labs NetworkManager[1407]: Modem hangup
Feb  9 12:41:07 dream-labs NetworkManager[1407]: Connection terminated.
Feb  9 12:41:07 dream-labs pppd[15988]: Modem hangup
Feb  9 12:41:07 dream-labs pppd[15988]: Connection terminated.
Feb  9 12:41:07 dream-labs charon: 14[KNL] interface ppp0 deleted
Feb  9 12:41:07 dream-labs NetworkManager[1407]: <info>  [1518187267.4744] vpn-connection[0x561fe830e4e0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN service disappeared
Feb  9 12:41:07 dream-labs NetworkManager[1407]: <info>  [1518187267.4788] devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb  9 12:41:07 dream-labs pppd[15988]: Exit.
Feb  9 12:41:07 dream-labs gnome-shell[3646]: Removing a network device that was not added
Feb  9 12:41:07 dream-labs gnome-shell[1928]: Removing a network device that was not added
Feb  9 12:41:15 dream-labs gnome-shell[3646]: Invalid VPN service type (cannot find authentication binary)
Feb  9 12:41:15 dream-labs gnome-control-c[15481]: g_variant_unref: assertion 'value != NULL' failed
Feb  9 12:41:27 dream-labs NetworkManager[1407]: <info>  [1518187287.7103] keyfile: update /etc/NetworkManager/system-connections/VPN 1 (11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1")
Feb  9 12:41:27 dream-labs NetworkManager[1407]: <info>  [1518187287.7109] audit: op="connection-update" uuid="11658743-1fe2-4af7-8622-5b7a860d2368" name="VPN 1" args="vpn.secrets" pid=15481 uid=1001 result="success"
Feb  9 12:41:27 dream-labs gnome-shell[3646]: Object Meta.WindowActor (0x558355f95f00), has been already finalized. Impossible to get any property from it.
Feb  9 12:41:27 dream-labs gnome-shell[3646]: Object Meta.WindowActor (0x558355f95f00), has been already finalized. Impossible to set any property to it.
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: == Stack trace for context 0x55834f9d6170 ==
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #0 0x7ffd274e1390 I   resource:///org/gnome/shell/ui/tweener.js:73 (0x7fdbb80ddef0 @ 9)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #1 0x7ffd274e1430 b   resource:///org/gnome/shell/ui/tweener.js:105 (0x7fdbb80df230 @ 36)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #2 0x7ffd274e1470 I   resource:///org/gnome/shell/ui/tweener.js:92 (0x7fdbb80df098 @ 52)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #3 0x7ffd274e1e90 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7fdbb80e9cd0 @ 54)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #4 0x7ffd274e1fe0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7fdbb80e9d58 @ 1626)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #5 0x7ffd274e2090 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7fdbb80e9de0 @ 100)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #6 0x7ffd274e2120 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7fdbb80e9e68 @ 10)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #7 0x7ffd274e21a0 I   resource:///org/gnome/gjs/modules/signals.js:126 (0x7fdbb80e2b38 @ 386)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #8 0x7ffd274e21f0 I   resource:///org/gnome/shell/ui/tweener.js:208 (0x7fdbb80df808 @ 159)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #9 0x7ffd274e2250 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fdbb80c2bc0 @ 71)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #10 0x7ffd274e2250 I   resource:///org/gnome/shell/ui/tweener.js:183 (0x7fdbb80df780 @ 20)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #11 0x7ffd274e22f0 I   self-hosted:917 (0x7fdbb80ee5e8 @ 394)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: == Stack trace for context 0x55834f9d6170 ==
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #0 0x7ffd274e1390 I   resource:///org/gnome/shell/ui/tweener.js:80 (0x7fdbb80ddef0 @ 82)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #1 0x7ffd274e1430 b   resource:///org/gnome/shell/ui/tweener.js:105 (0x7fdbb80df230 @ 36)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #2 0x7ffd274e1470 I   resource:///org/gnome/shell/ui/tweener.js:92 (0x7fdbb80df098 @ 52)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #3 0x7ffd274e1e90 I   resource:///org/gnome/gjs/modules/tweener/tweener.js:203 (0x7fdbb80e9cd0 @ 54)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #4 0x7ffd274e1fe0 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:332 (0x7fdbb80e9d58 @ 1626)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #5 0x7ffd274e2090 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:345 (0x7fdbb80e9de0 @ 100)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #6 0x7ffd274e2120 b   resource:///org/gnome/gjs/modules/tweener/tweener.js:360 (0x7fdbb80e9e68 @ 10)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #7 0x7ffd274e21a0 I   resource:///org/gnome/gjs/modules/signals.js:126 (0x7fdbb80e2b38 @ 386)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #8 0x7ffd274e21f0 I   resource:///org/gnome/shell/ui/tweener.js:208 (0x7fdbb80df808 @ 159)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #9 0x7ffd274e2250 I   resource:///org/gnome/gjs/modules/_legacy.js:82 (0x7fdbb80c2bc0 @ 71)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #10 0x7ffd274e2250 I   resource:///org/gnome/shell/ui/tweener.js:183 (0x7fdbb80df780 @ 20)
Feb  9 12:41:27 dream-labs org.gnome.Shell.desktop[3646]: #11 0x7ffd274e22f0 I   self-hosted:917 (0x7fdbb80ee5e8 @ 394)
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.8276] audit: op="connection-activate" uuid="11658743-1fe2-4af7-8622-5b7a860d2368" name="VPN 1" pid=15481 uid=1001 result="success"
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.8368] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: Started the VPN service, PID 16028
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.8500] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: Saw the service appear; activating connection
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.8844] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN connection: (ConnectInteractive) reply received
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.8886] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN plugin: state changed: starting (3)
Feb  9 12:41:34 dream-labs pppd[16032]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Feb  9 12:41:34 dream-labs NetworkManager[1407]: Plugin /usr/lib/pppd/2.4.7/nm-pptp-pppd-plugin.so loaded.
Feb  9 12:41:34 dream-labs pppd[16032]: pppd 2.4.7 started by root, uid 0
Feb  9 12:41:34 dream-labs NetworkManager[1407]: ((src/devices/nm-device.c:1452)): assertion '<dropped>' failed
Feb  9 12:41:34 dream-labs pptp[16036]: nm-pptp-service-16028 log[main:pptp.c:353]: The synchronous pptp option is NOT activated
Feb  9 12:41:34 dream-labs systemd-udevd[16037]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.9146] manager: (ppp0): new Generic device (/org/freedesktop/NetworkManager/Devices/33)
Feb  9 12:41:34 dream-labs pppd[16032]: Using interface ppp0
Feb  9 12:41:34 dream-labs pppd[16032]: Connect: ppp0 <--> /dev/pts/2
Feb  9 12:41:34 dream-labs NetworkManager[1407]: Using interface ppp0
Feb  9 12:41:34 dream-labs NetworkManager[1407]: Connect: ppp0 <--> /dev/pts/2
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.9343] devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb  9 12:41:34 dream-labs NetworkManager[1407]: <info>  [1518187294.9343] device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Feb  9 12:41:35 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 1 'Start-Control-Connection-Request'
Feb  9 12:41:35 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_disp:pptp_ctrl.c:781]: Received Start Control Connection Reply
Feb  9 12:41:35 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_disp:pptp_ctrl.c:815]: Client connection established.
Feb  9 12:41:36 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 7 'Outgoing-Call-Request'
Feb  9 12:41:36 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_disp:pptp_ctrl.c:900]: Received Outgoing Call Reply.
Feb  9 12:41:36 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_disp:pptp_ctrl.c:939]: Outgoing call established (call ID 43139, peer's call ID 8064).
Feb  9 12:42:05 dream-labs pppd[16032]: LCP: timeout sending Config-Requests
Feb  9 12:42:05 dream-labs NetworkManager[1407]: LCP: timeout sending Config-Requests
Feb  9 12:42:05 dream-labs NetworkManager[1407]: Connection terminated.
Feb  9 12:42:05 dream-labs pppd[16032]: Connection terminated.
Feb  9 12:42:05 dream-labs NetworkManager[1407]: <warn>  [1518187325.9540] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN plugin: failed: connect-failed (1)
Feb  9 12:42:05 dream-labs NetworkManager[1407]: <info>  [1518187325.9543] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN plugin: state changed: stopping (5)
Feb  9 12:42:05 dream-labs NetworkManager[1407]: <info>  [1518187325.9545] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN plugin: state changed: stopped (6)
Feb  9 12:42:05 dream-labs NetworkManager[1407]: <info>  [1518187325.9573] devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Feb  9 12:42:05 dream-labs NetworkManager[1407]: <info>  [1518187325.9576] vpn-connection[0x561fe830e2f0,11658743-1fe2-4af7-8622-5b7a860d2368,"VPN 1",0]: VPN service disappeared
Feb  9 12:42:05 dream-labs pptp[16036]: nm-pptp-service-16028 warn[decaps_hdlc:pptp_gre.c:226]: short read (-1): Input/output error
Feb  9 12:42:05 dream-labs pppd[16032]: Terminating on signal 15
Feb  9 12:42:05 dream-labs NetworkManager[1407]: Terminating on signal 15
Feb  9 12:42:05 dream-labs NetworkManager[1407]: Child process /usr/sbin/pptp 187.102.153.147 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-16028 (pid 16035) terminated with signal 15
Feb  9 12:42:05 dream-labs NetworkManager[1407]: Modem hangup
Feb  9 12:42:05 dream-labs pppd[16032]: Child process /usr/sbin/pptp 187.102.153.147 --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-16028 (pid 16035) terminated with signal 15
Feb  9 12:42:05 dream-labs pppd[16032]: Modem hangup
Feb  9 12:42:05 dream-labs pppd[16032]: Exit.
Feb  9 12:42:05 dream-labs pptp[16036]: nm-pptp-service-16028 warn[decaps_hdlc:pptp_gre.c:238]: pppd may have shutdown, see pppd log
Feb  9 12:42:05 dream-labs pptp[16049]: nm-pptp-service-16028 log[callmgr_main:pptp_callmgr.c:245]: Closing connection (unhandled)
Feb  9 12:42:05 dream-labs pptp[16049]: nm-pptp-service-16028 log[ctrlp_rep:pptp_ctrl.c:259]: Sent control packet type is 12 'Call-Clear-Request'
Feb  9 12:42:05 dream-labs pptp[16049]: nm-pptp-service-16028 log[call_callback:pptp_callmgr.c:84]: Closing connection (call state)
Feb  9 12:42:06 dream-labs charon: 13[KNL] interface ppp0 deleted
Feb  9 12:42:06 dream-labs gnome-shell[1928]: Removing a network device that was not added
Feb  9 12:42:06 dream-labs gnome-shell[3646]: Removing a network device that was not added

Alguma luz ?

« Última modificação: 09 de Fevereiro de 2018, 12:59 por java-cachaca »
{
   Atenciosamente,
   Leandro Severino.
   MSN: leandro_tiger@hotmail.com
   Blog: http://www.leandro.inf.br
   Fone: (51) 8419.1579
}

Offline zekkerj

  • Usuário Ubuntu
  • *
  • Mensagens: 18.764
  • Gratidão gera gratidão, lamúria gera lamúria...
    • Ver perfil
Re:Acessar VPN Windows do trabalho pelo Ubuntu 18.04
« Resposta #1 Online: 14 de Fevereiro de 2018, 11:53 »
Tem como você testar com o Ubuntu 16.04 LTS?


Enviado do meu smartphone
Pesquise antes de perguntar, sua dúvida pode já ter sido respondida.
Não respondo dúvidas por MP, coloque sua dúvida no fórum onde ela pode ser pesquisada pelos seus colegas!
Não venha ao fórum apenas para perguntar. Se você sabe a resposta de um problema, porque não ajudar seu colega? ;D

Offline java-cachaca

  • Usuário Ubuntu
  • *
  • Mensagens: 39
  • Acreditando no software livre.
    • Ver perfil
    • Nascido de uma CPU.
Re:Acessar VPN Windows do trabalho pelo Ubuntu 18.04
« Resposta #2 Online: 14 de Fevereiro de 2018, 12:02 »
Mestre,
   Tu acreditas que possa ser a versão do Ubuntu ?
    Infelizmente não tenho como fazer um downgrade aqui da minha versão, pois é a minha maquina de trabalho.

   
{
   Atenciosamente,
   Leandro Severino.
   MSN: leandro_tiger@hotmail.com
   Blog: http://www.leandro.inf.br
   Fone: (51) 8419.1579
}