PDA

View Full Version : NetworkManager doesn't see OpenVPN plugin


RyanBLynch
3rd May 2008, 08:16 PM
I have a problem with a few machines that I installed via the F9 Preview Live CD (KDE) that are having the same problem. They're all re-installs, not upgrades, although they did have existing /home partitions that persisted from F8 to F9-Preview.

The specific symptom is that none of them seem to recognize that they have the NetworkManager OpenVPN plugin installed. Here's the output of `yum list installed '*NetworkManager*' '*openvpn*'`

Installed Packages
NetworkManager.i386 1:0.7.0-0.9.3.svn3623. installed
NetworkManager-devel.i386 1:0.7.0-0.9.3.svn3623. installed
NetworkManager-glib.i386 1:0.7.0-0.9.3.svn3623. installed
NetworkManager-glib-devel.i386 1:0.7.0-0.9.3.svn3623. installed
NetworkManager-gnome.i386 1:0.7.0-0.9.3.svn3623. installed
NetworkManager-openvpn.i386 1:0.7.0-10.svn3627.fc9 installed
NetworkManager-vpnc.i386 1:0.7.0-0.7.7.svn3627. installed
openvpn.i386 2.1-0.25.rc7.fc9 installed
openvpn-auth-ldap.i386 2.0.3-3.fc9 installed

As I understand the instructions, this includes all the packages I need to use the OpenVPN plugin for NetworkManager. I have un-installed and re-installed every package on this list, and rebooted after the re-installation. Here's the steps I take, next:

* I click on the NetworkManager applet in the system tray and select "VPN Connections" and then "Configure VPN...". The "VPN Connections" box pops up.
* I click the "Add" button. The "Create VPN connection" wizard starts.
* I click the "Forward" button on the first page of the wizard, and it brings me to the second page of the wizard, "Create VPN Connection1 of 2.
* On the second page of the wizard, the only available option in the drop-down menu is "Compatible Cisco VPN client (vpnc)". There is no option for OpenVPN that I can see, at all.

OpenVPN works fine from the command line, too. NetworkManager just can't see that it's there.

I would really appreciate any help or troubleshooting advice, even if it's just "file a bug report", because I feel like I'm missing something. NetworkManager is really neat, and the new functionality is incredible (go EDVO!), but I really haven't learned much about how it works under the hood, yet,

nbecker
4th May 2008, 02:53 AM
Same thing here, I BZd this under F8, it was true there too.

handy
4th May 2008, 11:49 AM

Is this your problem: https://bugzilla.redhat.com/show_bug.cgi?id=443389

Possible solution:
------------------------------------
Open file:

/etc/NetworkManager/VPN/nm-openvpn-service.name

and replace

properties=@PREFIX@/${LIB}/libnm-openvpn-properties

with

properties=/usr/${LIB}/libnm-openvpn-properties

nbecker
4th May 2008, 12:00 PM
No, I don't see any option in the wizard for openvpn, only vpnc.

I have:
rpm -qa 'NetworkManager*'
NetworkManager-vpnc-0.7.0-0.6.3.svn3109.fc8.i386
NetworkManager-glib-0.7.0-0.9.3.svn3623.fc9.i386
NetworkManager-0.7.0-0.9.3.svn3623.fc9.i386
NetworkManager-glib-0.7.0-0.9.3.svn3623.fc9.x86_64
NetworkManager-openvpn-0.7.0-10.svn3627.fc9.x86_64
NetworkManager-openvpn-0.7.0-10.svn3627.fc9.i386
NetworkManager-gnome-0.7.0-0.9.3.svn3623.fc9.x86_64
NetworkManager-vpnc-0.7.0-0.7.7.svn3627.fc9.x86_64
NetworkManager-0.7.0-0.9.3.svn3623.fc9.x86_64

RyanBLynch
4th May 2008, 05:11 PM
I just looked up Neal's Bugzilla report #429837 about five minutes ago and added a "Me, too!" on it, and then I read the updates to this thread.

Handy's suggestion works for me, with one big caveat: I had to cycle the 'NetworkManager' service with `service NetworkManager restart` before I saw the change. I haven't tried actually setting up an OpenVPN connection, yet, but the option shows up in the wizard, which solves my immediate problem.

Neal, I would suggest trying the fix Handy described, and then either rebooting or restarting the NetworkManager service. If that does work, we should probably close that BZ#429837 as a dupe of BZ#443389. If it doesn't fix you up, I would suggest updating BZ#429837 with a link to BZ#443389 and a note that it didn't work for you.

nbecker
4th May 2008, 05:48 PM
Yes, that worked. In retrospect, the problem is obvious.