Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkManager and OpenVPN not working together #3539

Closed
seagreen opened this issue Aug 11, 2014 · 6 comments
Closed

NetworkManager and OpenVPN not working together #3539

seagreen opened this issue Aug 11, 2014 · 6 comments

Comments

@seagreen
Copy link

With this NixOS configuration, when I run the command:

nmcli con up id my_vpn_id

I get this error:

Error: Connection activation failed: The VPN service 'org.freedesktop.NetworkManager.openvpn' was not installed.

I'm looking into the openvpn package documentation in case I made an error setting it up, but if not there may be a problem with openvpn.

@lucabrunox
Copy link
Contributor

Probably missing to declare the dbus service in the nixos module.

@seagreen
Copy link
Author

Are you talking about in the NetworkManager package? IRC directed me to this line so it looks like dbus is enabled there.

@domenkozar
Copy link
Member

I'm using OpenVPN through NetworkManager itself, nmcli probably needs some wrapping to be supported.

@seagreen
Copy link
Author

I get the same error when using nm-applet, but since it works for you that makes me suspicious the problem's on my end.

@iElectric, an chance your NixOS config files are online? I'd like to try exectly what you've done and see if I can get it to work.

@seagreen
Copy link
Author

Got it working -- among other things I was missing the line users.extraGroups.networkmanager.members = ["root"];.

Here's the relevant part of my config and here's an English guide to what I did.

Thanks for the help guys.

@Ericson2314
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants