The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Love It!!!

    Discussion in 'Linux Compatibility and Software' started by bryneb, Nov 13, 2010.

  1. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    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
     
  2. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    What kind of vpn? Are you using network manager to connect? What's the exact error message?
     
  3. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    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...
     
  4. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    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.
     
  5. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    It just say that it failed without any further information. Is there a way to get a more detailed description?
     
  6. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    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
     
  7. debguy

    debguy rip dmr

    Reputations:
    607
    Messages:
    893
    Likes Received:
    4
    Trophy Points:
    31
    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.
     
  8. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    He did say microsoft so I figured pptp, but it could be ipsec. Either way with tailing syslog it should give some clues.
     
  9. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    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_main :pptp_callmgr.c:234]: Closing connection (unhandled)
    Nov 14 17:59:25 Ubuntu-Laptop pptp[2493]: nm-pptp-service-2477 log[ctrlp_rep :pptp_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_callback :pptp_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.
     
  10. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    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:
    Ubuntu Forums - View Single Post - Can't connect to PPTP VPN
     
  11. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    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_callback :pptp_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[main :pptp.c:314]: The synchronous pptp option is NOT activated
    Nov 14 18:22:52 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_rep :pptp_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_disp :pptp_ctrl.c:739]: Received Start Control Connection Reply
    Nov 14 18:22:52 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_disp :pptp_ctrl.c:773]: Client connection established.
    Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_rep :pptp_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_disp :pptp_ctrl.c:858]: Received Outgoing Call Reply.
    Nov 14 18:22:53 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_disp :pptp_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_disp :pptp_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_disp :pptp_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_disp :pptp_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_disp :pptp_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_disp :pptp_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_disp :pptp_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_disp :pptp_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_hdlc :pptp_gre.c:204]: short read (-1): Input/output error
    Nov 14 18:22:56 Ubuntu-Laptop pptp[3089]: nm-pptp-service-3083 warn[decaps_hdlc :pptp_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_main :pptp_callmgr.c:234]: Closing connection (unhandled)
    Nov 14 18:22:56 Ubuntu-Laptop pptp[3096]: nm-pptp-service-3083 log[ctrlp_rep :pptp_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_callback :pptp_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.
     
  12. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    Looks like it's working now. Thank you for your time!
     
  13. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    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.
     
  14. ALLurGroceries

    ALLurGroceries  Vegan Vermin Super Moderator

    Reputations:
    15,730
    Messages:
    7,146
    Likes Received:
    2,343
    Trophy Points:
    331
    That's probably a misconfigured DNS server on active directory or the like, unless you've changed your local DNS settings.
     
  15. bryneb

    bryneb Notebook Consultant

    Reputations:
    9
    Messages:
    256
    Likes Received:
    44
    Trophy Points:
    41
    I don't think anything has changed on my end. It works flawlessly on my Win7 install.