After a couple of days on Ubuntu I haven't booted into Win7. I love it. The only thing I haven't gotten figured out for my day to day use is the VPN to work, it always fails to connect. CRAP! lol
-
ALLurGroceries Vegan Vermin Super Moderator
What kind of vpn? Are you using network manager to connect? What's the exact error message?
-
I don't know what kind of VPN, it's a M.S one that's about all I know. I'm using the VPN connection in the wireless symbol, if that is the network manager, then yes.... lol
Sorry, VERY new to LInux. This is about the 6th time I've tried, but looks like it'll be the time I stay. It's so freaking fast at everything!
After the VPN is working I'll work on WINE and Photoshop and there isn't anything I do with Windows that I can't do here... -
ALLurGroceries Vegan Vermin Super Moderator
I'm not sure if it's installed by default for ubuntu, but you should have the network-manager-pptp package installed, and yes network manager is the applet in your tray ("notification area" in gnome-speak) that lets you connect to networks.
-
It just say that it failed without any further information. Is there a way to get a more detailed description?
-
ALLurGroceries Vegan Vermin Super Moderator
Yeah you should be able to see some info if you go to Applications->Accessories->Terminal and run this while you try to connect:
Code:tail -f /var/log/syslog
-
There are basically two types of VPN. The first one is via IPSec, which can be used with the vpnc client, the other one is a pretty new invention by Cisco called "Anyconnect". This can be used with the openconnect client. Both are available in the official Ubuntu repository. So the first step is to find out about the type of the VPN.
Before trying to connect via nm-applet you should try to establish a connection in a terminal. This way you'll learn how it actually works and be able to give us reasonable error messages. -
ALLurGroceries Vegan Vermin Super Moderator
He did say microsoft so I figured pptp, but it could be ipsec. Either way with tailing syslog it should give some clues.
-
Here is what I got:
tail: cannot open `/var/log/syslogtail' for reading: No such file or directory
==> /var/log/syslog <==
Nov 14 17:59:25 Ubuntu-Laptop pptp[2493]: nm-pptp-service-2477 log[callmgr_mainptp_callmgr.c:234]: Closing connection (unhandled)
Nov 14 17:59:25 Ubuntu-Laptop pptp[2493]: nm-pptp-service-2477 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Nov 14 17:59:25 Ubuntu-Laptop pptp[2493]: nm-pptp-service-2477 log[call_callbackptp_callmgr.c:79]: Closing connection (call state)
Nov 14 17:59:25 Ubuntu-Laptop pppd[2480]: Exit.
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state changed: 6
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state change reason: 0
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Nov 14 17:59:25 Ubuntu-Laptop NetworkManager[873]: <info> Policy set 'Auto Ubuntu_Network' (wlan0) as default for IPv4 routing and DNS. -
ALLurGroceries Vegan Vermin Super Moderator
Are you sure you're running the tail command before trying to connect? Because all I see is the end of the connection attempt.
You can try messing with your connection settings, this particular combo is linked to a few times as working for people:
-
Let's try this. lol
cypher@Ubuntu-Laptop:~$ tail -f /var/log/syslog
Nov 14 18:22:18 Ubuntu-Laptop pptp[2967]: nm-pptp-service-2952 log[call_callbackptp_callmgr.c:79]: Closing connection (call state)
Nov 14 18:22:18 Ubuntu-Laptop pppd[2954]: Exit.
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state changed: 6
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state change reason: 0
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Nov 14 18:22:18 Ubuntu-Laptop NetworkManager[873]: <info> Policy set 'Auto Ubuntu_Network' (wlan0) as default for IPv4 routing and DNS.
Nov 14 18:22:19 Ubuntu-Laptop AptDaemon: INFO: Quiting due to inactivity
Nov 14 18:22:19 Ubuntu-Laptop AptDaemon: INFO: Shutdown was requested
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 3083
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> VPN service 'org.freedesktop.NetworkManager.pptp' appeared, activating connections
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state changed: 1
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state changed: 3
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: <info> VPN connection 'Work VPN' (Connect) reply received.
Nov 14 18:22:52 Ubuntu-Laptop pppd[3085]: Plugin /usr/lib/pppd/2.4.5//nm-pptp-pppd-plugin.so loaded.
Nov 14 18:22:52 Ubuntu-Laptop pppd[3085]: pppd 2.4.5 started by root, uid 0
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 14 18:22:52 Ubuntu-Laptop NetworkManager[873]: SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/ppp0, iface: ppp0): no ifupdown configuration found.
Nov 14 18:22:52 Ubuntu-Laptop modem-manager: (net/ppp0): could not get port's parent device
Nov 14 18:22:52 Ubuntu-Laptop pppd[3085]: Using interface ppp0
Nov 14 18:22:52 Ubuntu-Laptop pppd[3085]: Connect: ppp0 <--> /dev/pts/1
Nov 14 18:22:52 Ubuntu-Laptop pptp[3089]: nm-pptp-service-3083 log[mainptp.c:314]: The synchronous pptp option is NOT activated
Nov 14 18:22:52 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Nov 14 18:22:52 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:739]: Received Start Control Connection Reply
Nov 14 18:22:52 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:773]: Client connection established.
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:858]: Received Outgoing Call Reply.
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 45495).
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:953]: send_accm is 00000000, recv_accm is FFFFFFFF
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 warn[ctrlp_dispptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:953]: send_accm is FFFFFFFF, recv_accm is FFFFFFFF
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 warn[ctrlp_dispptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Nov 14 18:22:53 Ubuntu-Laptop pppd[3085]: LCP terminated by peer (JulM-^D^@<M-Mt^@^@^BM-3)
Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_dispptp_ctrl.c:912]: Received Call Clear Request.
Nov 14 18:22:56 Ubuntu-Laptop pppd[3085]: Connection terminated.
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 18:22:56 Ubuntu-Laptop avahi-daemon[893]: Withdrawing workstation service for ppp0.
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/ppp0, iface: ppp0)
Nov 14 18:22:56 Ubuntu-Laptop pptp[3089]: nm-pptp-service-3083 warn[decaps_hdlcptp_gre.c:204]: short read (-1): Input/output error
Nov 14 18:22:56 Ubuntu-Laptop pptp[3089]: nm-pptp-service-3083 warn[decaps_hdlcptp_gre.c:216]: pppd may have shutdown, see pppd log
Nov 14 18:22:56 Ubuntu-Laptop pppd[3085]: Modem hangup
Nov 14 18:22:56 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[callmgr_mainptp_callmgr.c:234]: Closing connection (unhandled)
Nov 14 18:22:56 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_repptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Nov 14 18:22:56 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[call_callbackptp_callmgr.c:79]: Closing connection (call state)
Nov 14 18:22:56 Ubuntu-Laptop pppd[3085]: Exit.
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <warn> VPN plugin failed: 1
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state changed: 6
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <info> VPN plugin state change reason: 0
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Nov 14 18:22:56 Ubuntu-Laptop NetworkManager[873]: <info> Policy set 'Auto Ubuntu_Network' (wlan0) as default for IPv4 routing and DNS. -
Looks like it's working now. Thank you for your time!
-
One last thing, using the terminal server client fo log into the desktops/server at work I get:
Error: getaddrinfo: name or service not known. -
ALLurGroceries Vegan Vermin Super Moderator
That's probably a misconfigured DNS server on active directory or the like, unless you've changed your local DNS settings.
-
Love It!!!
Discussion in 'Linux Compatibility and Software' started by bryneb, Nov 13, 2010.