Ask Your Question
1

How do I find VPN connection error information?

asked 2015-08-11 11:52:54 -0600

Jwashton gravatar image

I'm trying to connect to VPN for work. I have been through this process from the command line before, following this guide: https://fedoraproject.org/wiki/Openvp...

This time I thought I would try to set it up through the Network Settings window. I have all the information entered, and worked through some SELinux errors regarding access to the certificates. Now when I try to connect to the VPN nothing happens for about a minute, at which point I get a very vague notification saying that the connection failed. Searching for why, I figured I could run status on the openvpn service, but a search through systemctl --all doesn't find any instances of VPN, vpn, Vpn, or the name of the VPN I'm setting up.

Where can I find out why the connection failed? Is there a log file or something?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2015-08-11 13:30:39 -0600

aeperezt gravatar image

You could do on your terminal

killall -TERM nm-openvpn-service

then

/usr/libexec/nm-openvpn-service --debug

more information look at: https://wiki.gnome.org/Projects/Netwo...

edit flag offensive delete link more

Comments

This gave me the information I needed to solve the problem, but it was buried in a massive amount of other debug information. Surely we can design a more user-friendly troubleshooting process.

Jwashton gravatar imageJwashton ( 2015-08-11 17:23:28 -0600 )edit
0

answered 2015-08-11 23:47:16 -0600

sideburns gravatar image

If you're not sure of the service's name, try this:

systemctl list-unit-files | grep -i $SERVICENAME

as that will find it without having to guess the capitalization. In your case, of course, $SERVICENAME would be vpn.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-08-11 11:52:54 -0600

Seen: 495 times

Last updated: Aug 11 '15