![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Spilled the Beans
![]() Join Date: Feb 2008
Beans: 14
|
The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
Brand new install of Ubuntu 8.10 (Intrepid Ibex). I installed network-manager-pptp through Synaptic and did a full restart.
I'm trying to get a VPN connection setup. This is a standard windows VPN host The VPN connection 'xxxxx' failed because there were no valid VPN secrets. I've googled this error, and tried several suggestions of switching authentication options, but nothing is working. How do I get the detailed logs regarding this error? Thanks! Last edited by giesen2; November 23rd, 2008 at 02:11 PM.. Reason: mentioned installing network-manager-pptp |
|
|
|
|
|
#2 |
|
Ubuntu addict and loving it
![]() Join Date: Jan 2006
Location: Not heaven... Iowa
Beans: 6,294
Ubuntu 8.04 Hardy Heron
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
HAve you seen this VPN Client Help page?
__________________
Linux User #415691 Ubuntu User #8629 [Disable ipv6] [howtoforge.com] [Mount CIFS shares] [Psychocats] |
|
|
|
|
|
#3 |
|
A Carafe of Ubuntu
![]() Join Date: May 2006
Location: Colorado, USA
Beans: 83
Ubuntu 7.10 Gutsy Gibbon
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
I was having the same problem and I used this method:
Solution Source Hi - Here's how to get it working in Ubuntu Intrepid for a Windows home network. Before trying this, be sure your router allows PPTP service. Open Network Configuration (Start, System, Preferences). Highlight your VPN connection, hit Edit. At IPv4 Settings Tab: choose method Automatic (VPN). At VPN Tab: 1 - input the IP address of the target computer. 2 - input your user name. Leave all else blank. 3 - hit Advanced button. At Authentication: 1 - UNcheck PAP (because PAP means to allow unsecured passage - this is the source of "no shared shared secrets") 2 - Check CHAP, MSCHAP and MSCHAPv2. At Security and Compression: 1 - Check Use Point-to-point encryption (MPPE) 2 - Select 128-bit (most secure). 3 - Check Allow stateful encryption. At Echo: check Allow PPP echo packets. Leave all else blank. Hit OK, OK to save and get out. Note: Your password is requested on VPN startup. I did not try to add it to the keyring. This worked for me but no until I removed my password from the actual connection. I am on my VPN right now. I hope this helps. |
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2008
Beans: 6
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
I think I solved the problem.
The source of the problem is - the application nm-pptp-auth-dialog wants to access the keyring to search for the password. The problem: there is no such record in the keyring table. so it returns an error. Due to a bug, the application do not append the record in the first place! solution: make a new VPN connection. Connect to it. Click Deny when prompted: "Allow application to access keyring?" then enter the password manually, and check "Save password in keyring" then click Allow Always and Wallah, you have just created the required entry in the keyring! You'll no longer have "no secerts" problem! (goto applications > accessories > keyring manager > passwords to see it!) Hope this helps. Please let me know if it doesn't. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Nov 2008
Beans: 1
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
Thanks Serpent,
this worked for me too. Has this been lodged as a bug? |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2008
Beans: 6
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
my pleasure!
I don't know. should I report it as a bug? |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jun 2009
Beans: 1
|
AHHH this is such an annoying error. Unfortunately, none of the info I could find online really fixes it. You can connect if you do not store your password in the key ring, but if you get disconnected, you have to do it all over again every time.
However, I found a real solution. Uninstall the Gnome Network Manager applet and install the KDE one instead. The bug in in the Gnome applet. The KDE applet also works with Gnome, so you don't need to run KDE. If you need PPTP install Kvpnc as well. I am successfully running both with Gnome, configured them to use PPTP and it worked on the first try, no more errors. It uses the KDE keyring and remembers your password as well. This is a serious bug that needs to be fixed, fortunately KDE can save you here. Last edited by mothman7; June 24th, 2009 at 01:38 PM.. |
|
|
|
|
|
#8 |
|
A Carafe of Ubuntu
![]() Join Date: Aug 2009
Location: hisingen, sweden
Beans: 147
Ubuntu 9.04 Jaunty Jackalope
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
Any news? Is this bug fixed? Can only find KVpnc KDE and i cant handle it...
|
|
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Sep 2009
Beans: 1
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
Quote:
|
|
|
|
|
|
|
#10 | |
|
5 Cups of Ubuntu
![]() Join Date: Apr 2008
Beans: 43
|
Re: The VPN connection 'xxxxx' failed because there were no valid VPN secrets.
Quote:
|
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|