VPN PPTP conection to Microsoft VPN server not working
After upgrading from Hardy to intrepid I am unable to connect to my works Microsoft VPN server. I have successfully configured a vpn connection (excluding password as I get the missing secrets error message). When I try to connect it just says failed to connect. Noted on another post that I should manually use gconf-editor to add another key Refuse-EAP=yes
Having changed this it still did not work
My old config that used to work before upgrading looked something like this
Description=Work
Connection-
PPTP-Server=
Use-Peer-DNS=yes
Encrypt-MPPE=yes
Encrypt-MPPE-128=no
Compress-MPPC=no
Compress-Deflate=no
Compress-BSD=no
PPP-Lock=yes
Auth-Peer=no
Refuse-EAP=yes
Refuse-CHAP=yes
Refuse-MSCHAP=no
MTU=1500
MRU=1500
LCP-Echo-Failure=10
LCP-Echo-
PPP-Custom-Options=
Peer-DNS-
X-NM-Routes=
Use-Routes=no
Ubuntu 8.10 (Intrepid)
GNOME 2.24.0 (Ubuntu 2008-10-07)
Kernel 2.6.27-generic(#1 SMP Fri Oct 17 22:24:30 UTC 2008)
GCC version 4.3.2(x86_
Xorg version unknown(20 October 2008 10:46:29PM)
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- caller9
- Solved:
- Last query:
- Last reply:
Revision history for this message
![]() |
#1 |
Still trying to get the VPN to work, below is an extract from my daemon.log file any help would be appreciated.
Oct 26 18:47:29 baggins NetworkManager: <info> Starting VPN service 'org.freedeskto
Oct 26 18:47:29 baggins NetworkManager: <info> VPN service 'org.freedeskto
Oct 26 18:47:29 baggins NetworkManager: <info> VPN service 'org.freedeskto
Oct 26 18:47:29 baggins NetworkManager: <info> VPN plugin state changed: 1
Oct 26 18:47:33 baggins NetworkManager: <info> VPN plugin state changed: 3
Oct 26 18:47:33 baggins NetworkManager: <info> VPN connection 'VPN connection 2' (Connect) reply received.
Oct 26 18:47:33 baggins pptp[8282]: nm-pptp-
Oct 26 18:47:33 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:33 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:33 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:34 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:34 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:34 baggins pptp[8289]: nm-pptp-
Oct 26 18:47:35 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins NetworkManager: <info> VPN plugin failed: 1
Oct 26 18:48:06 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins pptp[8289]: nm-pptp-
Oct 26 18:48:06 baggins NetworkManager: <info> VPN plugin failed: 1
Oct 26 18:48:06 baggins NetworkManager: <info> VPN plugin failed: 1
Oct 26 18:48:06 baggins NetworkManager: <info> VPN plugin state changed: 6
Oct 26 18:48:06 baggins NetworkManager: <info> VPN plugin state change reason: 0
Oct 26 18:48:06 baggins NetworkManager: <WARN> connection_
Oct 26 18:48:06 baggins NetworkManager: <info> (ath0): writing resolv.conf to /sbin/resolvconf
Oct 26 18:48:06 baggins NetworkManager: <info> Policy set 'Auto H0bbit' (ath0) as default for routing and DNS.
Oct 26 18:48:18 baggins NetworkManager: <debug> [1225046898.160320] ensure_killed(): waiting for vpn service pid 8276 to exit
Oct 26 18:48:18 baggins NetworkManager: <debug> [1225046898.160806] ensure_killed(): vpn service pid 8276 cleaned up
Revision history for this message
![]() |
#2 |
I'm out of commission connecting to a Microsoft VPN server since upgrading to intrepid. Worked great before on hardy (used this tutorial to get it set up: http://
I'm getting the following in syslog when trying to connect:
Nov 1 09:14:07 pookie pppd[9437]: Plugin /usr/lib/
Nov 1 09:14:07 pookie NetworkManager: <info> VPN plugin state changed: 3
Nov 1 09:14:07 pookie pppd[9437]: pppd 2.4.4 started by root, uid 0
Nov 1 09:14:07 pookie NetworkManager: <info> VPN connection 'HSI' (Connect) reply received.
Nov 1 09:14:07 pookie pppd[9437]: Using interface ppp0
Nov 1 09:14:07 pookie pppd[9437]: Connect: ppp0 <--> /dev/pts/0
Nov 1 09:14:07 pookie pptp[9439]: nm-pptp-
Nov 1 09:14:08 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:08 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:08 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:09 pookie pppd[9437]: LCP terminated by peer (JM-Jp^
Nov 1 09:14:09 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:12 pookie NetworkManager: <info> VPN plugin failed: 1
Nov 1 09:14:12 pookie pppd[9437]: Connection terminated.
Nov 1 09:14:12 pookie pptp[9439]: nm-pptp-
Nov 1 09:14:12 pookie pptp[9439]: nm-pptp-
Nov 1 09:14:12 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:12 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:12 pookie pptp[9446]: nm-pptp-
Nov 1 09:14:12 pookie NetworkManager: <info> VPN plugin failed: 1
Nov 1 09:14:12 pookie pppd[9437]: Modem hangup
Nov 1 09:14:12 pookie pppd[9437]: Exit.
Nov 1 09:14:12 pookie NetworkManager: <info> VPN plugin failed: 1
Nov 1 09:14:12 pookie NetworkManager: <info> VPN plugin state changed: 6
Nov 1 09:14:12 pookie NetworkManager: <info> VPN plugin state change reason: 0
Nov 1 09:14:12 pookie NetworkManager: <WARN> connection_
Nov 1 09:14:12 pookie NetworkManager: <info> Policy set 'Auto home_net' (eth1) as default for routing and DNS.
Nov 1 09:14:24 pookie NetworkManager: <debug> [1225541664.816151] ensure_killed(): waiting for vpn service pid 9427 to exit
Nov 1 09:14:24 pookie NetworkManager: <debug> [1225541664.816661] ensure_killed(): vpn service pid 9427 cleaned up
Nov 1 09:14:29 pookie NetworkManager: <info> (eth1): supplicant connection state change: 7 -> 0
Nov 1 09:14:29 pookie NetworkManager: <info> (eth1): supplicant connection state change: 0 -> 2
Nov 1 09:14:30 pookie NetworkManager: <info> (eth1): supplicant connection state change: 2 -> 3
Nov 1 09:14:30 pookie NetworkManager: <info> (eth1): supplicant connection state change: 3 -> 4
Nov 1 09:14:30 pookie NetworkManager: <info> (eth1): supplicant connection state change: 4 -> 5
Nov 1 09:14:30 pookie NetworkManager: <info> (eth1): supplicant connection state change: 5 -> 6
Nov 1 09:14:30 pookie NetworkManager: <info> (eth1): supplicant connection state change: 6 -> 7
Revision history for this message
![]() |
#3 |
If you use NetworkManager that comes by default with Intrepid, you can try instead one found here https:/
deb http://
deb-src http://
It supposedly solves a problem with sending domain and user name for authentication. Also I added "refuse-eap" at the end of /etc/ppp/options, because I'm not sure if pptp plugin can set that properly...
Revision history for this message
![]() |
#4 |
Alexey is on to something there. I was able to fix my connection by putting DOMAIN\USERNAME in the user field instead of putting the DOMAIN portion in the NT Domain field. Leave that field blank.
Works like a champ for me on Ubuntu 8.10 with just network-
Random Gripe: (Well aside from the NT Domain field actually breaking authentication)
MPPE checkbox sticks.
MPPE checkbox + 128 bit encryption drop down vanishes after clicking OK
Revision history for this message
![]() |
#5 |
Thanks caller9, that solved my question.
Revision history for this message
![]() |
#6 |
Thanks Caller9 this solved my problem, just needed to open gconf-editor and add in refuse-eap and setting the string to yes.
Seems like this is a bug in the network manager pptp plug in, it should just work without all the work arrounds.
Chris.
Revision history for this message
![]() |
#7 |
Sorry, but none of the proposed solutions work for me.
Hopefully someone can solve the persistent inability to connect to a Windows 2000 vpn server; it worked fine in 8.04 but hasn't worked with update or fresh install of 8.10.
This is a FATAL flaw, which needs a fix as soon as possible, work over vpn is stalled due to the problem and time is running out!
Revision history for this message
![]() |
#8 |
Took a long time to get it working for me, as noted above changing connection by putting DOMAIN\USERNAME in the user field instead of putting the DOMAIN portion in the NT Domain field Leave that field blank, plus in a terminal window opening gconf-editor and add in refuse-eap and setting the string to yes (select system/
I agree this is a bug and should be fixed, I do not want to have to bodge things just to get connected via vpn
Revision history for this message
![]() |
#9 |
I still can't get it working. I tried to add refuse-eap to my gconf-editor and change my user to DOMAIN\USERNAME with a blank domain, but nothing.
I'm always wary of PPA archive, but I'm going for it. Work for anyone else?
Revision history for this message
![]() |
#10 |
Yes Derek, I have tried to follow all the fixes and workarounds without any luck as well.
Like you 8.04 nm and vpn worked amazingly well and 8.10 turned to mush on the first bootup.
Aside from a snide remark that this is quickly turning into a no-answers forum, I know the boys are working on this and I hope for a fix sooner not later.
I had some luck getting Kvpnc to work, but it has problems as well which configuration tweaks don't seem to fix.
PPA archive sounds scary; but, if you get something there working please advise so I can try; I am loathe to dig around in the guts until I someone tells me what to do.
Thanks.
Revision history for this message
![]() |
#11 |
Hi there,
In addition to removing the stored password from the config dialog you may also have to re-enable point to point encryption on the advanced settings page of the pptp configuration for network-manager.
I have documented the changes that solved my pptp problems here:
http://
Hope that might help,
Olaf
Revision history for this message
![]() |
#12 |
I followed your lead but still get fail to connect message.
This is a thorny issue, and thanks for taking the time to try.
I hope someone else out there is trying to fix this; it's almost enought
to give up Linux.
I have been limping along with kvnpc but ti isn't near as ggod as the
hardy nm vpn which worked flawlessly.
Revision history for this message
![]() |
#13 |
Hi,
Can you post an excerpt of your syslog when attempting to establish the connection?
(tail -f /var/log/syslog)
regards,
Olaf
Revision history for this message
![]() |
#14 |
You can as well post your settings for the connection you are trying to setup that can be found with gconf-editor at /system/
[You probably should white out ip address/domain name of the target server stored in the "gateway" key because of privacy issues]
Revision history for this message
![]() |
#15 |
Caller9 and Chris....
Thank you both.. follow Caller9's directions and add the refuse-eap line as suggested by Chris... and presto.. All is right in the VPN world..
One note for users that are still having issues with this:
Ensure that you add the refuse-eap line in the correct place.. system/
Do NOT add it in the system/
Worked like a charm for me, thanks Caller9 and Chris.... although now I can connect to work... and do WORK.. hmm perhaps I shouldn't be saying thanks! LOL
Glad I happened by this forum!
Revision history for this message
![]() |
#16 |
You are welcome.
-- I sent this from my mobile --
-original message-
Subject: Re: [Question #48681]: Still no luck on my end, Olaf
From: "Travis Brown" <email address hidden>
Date: 22/11/2008 4:32 pm
Your question #48681 on network-manager in ubuntu changed:
https:/
Travis Brown posted a new comment:
Caller9 and Chris....
Thank you both.. follow Caller9's directions and add the refuse-eap line
as suggested by Chris... and presto.. All is right in the VPN world..
One note for users that are still having issues with this:
Ensure that you add the refuse-eap line in the correct place..
system/
of your vpn (likely the last connection you added, and if you only have
one vpn connection setup it will be the only number that has a vpn
section within it...
Do NOT add it in the system/
believe this section is leftovers from the upgrade from 8.04, or if not
is just not the right place to add it.
Worked like a charm for me, thanks Caller9 and Chris.... although now I
can connect to work... and do WORK.. hmm perhaps I shouldn't be saying
thanks! LOL
Glad I happened by this forum!
--
You received this question notification because you are a direct
subscriber of the question.
Revision history for this message
![]() |
#17 |
I have tried this fix three or four times still without a connection being made.
I have deleted and re-created my vpn and tried all variants of where to put the domain name and use password-don't use password.
I've check the network guys and the windows server puts out ipv4 (not 6).
Can connect with any OS from any capable computer, it's gotta be ubuntu 8.10; it worked fine on same laptop with 8.04.
All these attempts I am learning more about gonf-editor and apt-get, so it isn't all a waste of time.
Other than ask for a solution I can do little else but hope one bubbles up soon, preferably in a self-installing update.
Thanks.
Revision history for this message
![]() |
#18 |
I have the same problems as the above post from tor. PPTP VPN worked fine on this laptop in 8.04 and now doesn't work. I tried all the solutions listed in this post and nothing works. KVpnc works. So if the hardware is the same, and VPN works with another client then it must be something going down with Network Manager PPTP support.
I would much prefer a Network Manager solution but since KVpnc is working it isn't critical. I wouldn't mark this bug as solved though.
Thanks.
Revision history for this message
![]() |
#19 |
I just moved from OpenSuSE 10.2 to Ubuntu 8.10 and I'm very impressed... I'll be sticking with Ubuntu.
I had the same VPN issues as above and managed to get it working with the tips from above EXCEPT: when I open gconf-editor there is no system->network branch. Searching for network turns up two evolution links. I invoke it thus:
sudo gconf-editor
Being new to Ubuntu perhaps I've neglected to apt-get some important package?
Note that VPN works okay... it's gconf-editor that's confusing me.
Thanks
Eric
Revision history for this message
![]() |
#20 |
> I invoke it thus: sudo gconf-editor
This is mistake, you shall invoke gconf-editor WITHOUT sudo: you want to edit settings for your's user account, not system-wide or settings for root.
Revision history for this message
![]() |
#21 |
Excellent, works like a charm.
Thanks Alexey.
Revision history for this message
![]() |
#22 |
Tried adding refuse-eap=yes again using a different WAP and... success. I don't know if this is because of the different access point or because of whatever patches were pushed out since I last tried. Regardless it works like it should finally. Thanks for the help.
Revision history for this message
![]() |
#23 |
Adding refuse-eap allows me to connect, so that works. Thanks for that.
However network manager only lists one vpn to connect to. I regularly connect to 4 different PPTP VPNs and occationally more. Does anyone have any advise about how to get that to work?
Revision history for this message
![]() |
#24 |
Go "System -> Preferences -> Network Connections". There you will see "VPN" tab where you can add several connections. Alternatively, you can get this applet right-clicking on network manager icon...
Revision history for this message
![]() |
#25 |
I have the same issue - none of the above fixes work.
Syslog:
May 5 21:08:57 tw-laptop NetworkManager: <info> Starting VPN service 'org.freedeskto
May 5 21:08:57 tw-laptop NetworkManager: <info> VPN service 'org.freedeskto
May 5 21:08:58 tw-laptop NetworkManager: <info> VPN service 'org.freedeskto
May 5 21:09:05 tw-laptop NetworkManager: <info> VPN plugin state changed: 3
May 5 21:09:05 tw-laptop NetworkManager: <info> VPN connection 'OBS2' (Connect) reply received.
May 5 21:09:05 tw-laptop pppd[7926]: Plugin /usr/lib/
May 5 21:09:05 tw-laptop pppd[7926]: pppd 2.4.4 started by root, uid 0
May 5 21:09:05 tw-laptop pptp[7929]: nm-pptp-
May 5 21:09:05 tw-laptop pppd[7926]: Using interface ppp0
May 5 21:09:05 tw-laptop pppd[7926]: Connect: ppp0 <--> /dev/pts/1
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pppd[7926]: MS-CHAP authentication failed: E=691 Authentication failure
May 5 21:09:07 tw-laptop pppd[7926]: CHAP authentication failed
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pppd[7926]: Connection terminated.
May 5 21:09:07 tw-laptop NetworkManager: <info> VPN plugin failed: 1
May 5 21:09:07 tw-laptop pptp[7929]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7929]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:07 tw-laptop NetworkManager: <info> VPN plugin failed: 1
May 5 21:09:07 tw-laptop pppd[7926]: Exit.
May 5 21:09:07 tw-laptop NetworkManager: <info> VPN plugin state changed: 6
May 5 21:09:07 tw-laptop NetworkManager: <info> VPN plugin state change reason: 0
May 5 21:09:07 tw-laptop NetworkManager: <WARN> connection_
Basically I get the connection before it stops working.
Has everyone got this fixed now? Is is just me?
I have v0.7 of the network manager.
Revision history for this message
![]() |
#26 |
Hi Tony,
The new release fixed some of the issues, another thing I have had problems is firewall not allowing connections incoming from the IP address.
Chris
-----Original Message-----
From: Tony Walker
Sent: 06/05/2009 04:18:07
Subject: Re: [Question #48681]: Still no luck on my end, Olaf
Your question #48681 on network-manager in ubuntu changed:
https:/
Tony Walker posted a new comment:
I have the same issue - none of the above fixes work.
Syslog:
May 5 21:08:57 tw-laptop NetworkManager: <info> Starting VPN service 'org.freedeskto
May 5 21:08:57 tw-laptop NetworkManager: <info> VPN service 'org.freedeskto
May 5 21:08:58 tw-laptop NetworkManager: <info> VPN service 'org.freedeskto
May 5 21:09:05 tw-laptop NetworkManager: <info> VPN plugin state changed: 3
May 5 21:09:05 tw-laptop NetworkManager: <info> VPN connection 'OBS2' (Connect) reply received.
May 5 21:09:05 tw-laptop pppd[7926]: Plugin /usr/lib/
May 5 21:09:05 tw-laptop pppd[7926]: pppd 2.4.4 started by root, uid 0
May 5 21:09:05 tw-laptop pptp[7929]: nm-pptp-
May 5 21:09:05 tw-laptop pppd[7926]: Using interface ppp0
May 5 21:09:05 tw-laptop pppd[7926]: Connect: ppp0 <--> /dev/pts/1
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:05 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-
May 5 21:09:06 tw-laptop pptp[7935]: nm-pptp-service
Email truncated to 2,000 characters