PDA

View Full Version : Can't connect VPN / add VPN connections in network manager


davey87
6th April 2011, 10:41 AM
Hi,

I installed F15 with the liveCD yesterday and everything seemed to be fine, but after updating my sytem I'm no longer able to connect to my VPN - I simply get the message "connection to VPN X failed". Having deleted then entry for my VPN in the network manager, I can't now add a new one! I click the + symbol under the list of network connections, it asks me which interface to use (VPN is the only option), and then nothing happens...

Any ideas, anyone? I updated to the newest version of NetworkManager this morning.

Thanks!

robgarth
6th April 2011, 12:09 PM
I have encountered the same problem. I opened a bug https://bugzilla.redhat.com/show_bug.cgi?id=693577 I would suggest doing the same.

You can create a new vpn connection by running the command: nm-connections-editor, it is the old connection editor for NetworManager and it still works.

My OpenVPN connection works as I can save the password, my PPTP connections refuse to save passwords. I am currently making a pptp tunnel by running pptpsetup from the command line and manually editing my default routes.

lmcogs
6th April 2011, 02:06 PM

Yes same here seems to be bug in recent updates. I also log in to pptp vpn account using command line. Set up /etc/ppp/peers login file
see http://www.fedoraforum.org/forum/showthread.php?t=191277 may help

Mine is for pptp stronvpn
pty "pptp vpn-co7.reliablehosting.com --nolaunchpppd --debug"
name **********
password **********
remotename PPTP
require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
noauth
debug
persist
maxfail 0
defaultroute
usepeerdns

and I open pp0 and login by
sudo pppd call vpn
sudo route add default dev ppp0

the only problem is you have to type this everytime you boot up. I would like if someone could give me instructions on how to automatically log in when system boots up.

davey87
6th April 2011, 03:22 PM
Yes same here seems to be bug in recent updates. I also log in to pptp vpn account using command line. Set up /etc/ppp/peers login file
see http://www.fedoraforum.org/forum/showthread.php?t=191277 may help

Mine is for pptp stronvpn
pty "pptp vpn-co7.reliablehosting.com --nolaunchpppd --debug"
name **********
password **********
remotename PPTP
require-mppe-128
require-mschap-v2
refuse-eap
refuse-pap
refuse-chap
refuse-mschap
noauth
debug
persist
maxfail 0
defaultroute
usepeerdns

and I open pp0 and login by
sudo pppd call vpn
sudo route add default dev ppp0

the only problem is you have to type this everytime you boot up. I would like if someone could give me instructions on how to automatically log in when system boots up.

Thanks for that! At least I've got a properly working internet connection now!

updating control-center allowed me to add new VPN connections, but I still can't connect using the network manager - I just get a message telling me the connection failed without giving a reason. I wonder if this is related to password storage - I noticed that in the past, checking "show password" in the VPN settings dialogue would reveal my password - now it just says (null). Is there a way of getting some output from the network manager to show why it can't connect?

My VPN is PPTP with MPPE, by the way.