You are not logged in.

#1 2009-07-18 14:18:57

treysis
Member
Registered: 2009-05-10
Posts: 23

[SOLVED] openvpn in networkmanager not working?

hey,

today i tried out to connect to my university network over vpn. using the console-version of openvpn works, i got a configuration file from my network-department and they also provide a certificate. these work fine. using console, using windows and ubuntu doesn't have a problem either (using networkmanager).

but when i try to establish the connection via networkmanager under arch i always get a timeout (stating it couldn't connect because the connection timed out). that's the logfile:


/var/log/daemons.log

Jul 18 16:18:03 leiferiksson NetworkManager: <info>  Starting VPN service 'org.freedesktop.NetworkManager.openvpn'...
Jul 18 16:18:03 leiferiksson NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2076
Jul 18 16:18:03 leiferiksson NetworkManager: <info>  VPN service 'org.freedesktop.NetworkManager.openvpn' just appeared, activating connections
Jul 18 16:18:03 leiferiksson NetworkManager: <info>  VPN plugin state changed: 1
Jul 18 16:18:03 leiferiksson nm-openvpn[2078]: OpenVPN 2.0.9 i686-pc-linux [SSL] [LZO] [EPOLL] built on Jun  3 2009
Jul 18 16:18:03 leiferiksson NetworkManager: <info>  VPN plugin state changed: 3
Jul 18 16:18:03 leiferiksson NetworkManager: <info>  VPN connection 'RRZE-full-tunnel' (Connect) reply received.
Jul 18 16:18:44 leiferiksson NetworkManager: <info>  VPN connection 'RRZE-full-tunnel' (IP Config Get) timeout exceeded.
Jul 18 16:18:44 leiferiksson NetworkManager: <info>  Policy set 'Auto WLAN-Router' (wlan0) as default for routing and DNS.
Jul 18 16:18:56 leiferiksson NetworkManager: <debug> [1247926736.002384] ensure_killed(): waiting for vpn service pid 2076 to exit
Jul 18 16:18:56 leiferiksson NetworkManager: <debug> [1247926736.002567] ensure_killed(): vpn service pid 2076 cleaned up

is there maybe a way to get NM's output more verbose to see why it times out?

Last edited by treysis (2011-02-06 11:42:55)

Offline

#2 2009-07-18 22:16:29

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: [SOLVED] openvpn in networkmanager not working?

Maybe if you run tthis from console/terminal

Offline

#3 2009-07-18 22:19:24

treysis
Member
Registered: 2009-05-10
Posts: 23

Re: [SOLVED] openvpn in networkmanager not working?

what? networkmanager? it's an X-only application (at least i think so).

like i said, if i start openvpn from console (openvpn -config /etc/RRZE-full-tunnel.conf) it works without problems.

Offline

#4 2009-07-19 23:55:16

treysis
Member
Registered: 2009-05-10
Posts: 23

Re: [SOLVED] openvpn in networkmanager not working?

any ideas? is it maybe possible to get networkmanager to produce a more verbose output?!

Offline

#5 2009-07-20 14:23:10

mykey
Member
From: out of the blue
Registered: 2007-03-02
Posts: 113

Re: [SOLVED] openvpn in networkmanager not working?

I tried to get openvpn running via the networkmanager plugin a few weeks ago without success - I think their plugin is just not working properly - I reverted to the console-version of openvpn - at least you get a real verbose output there.

Offline

#6 2009-07-20 16:40:46

treysis
Member
Registered: 2009-05-10
Posts: 23

Re: [SOLVED] openvpn in networkmanager not working?

strange thing is that it works without problems in ubuntu. they're using the same version (0.7.1). of course, i do not know if there have been any patches included in either arch or ubuntu which make it work/broke.

EDIT: with current version it works now as it should.

Last edited by treysis (2011-02-06 11:42:35)

Offline

Board footer

Powered by FluxBB