After OpenVPN NM installed its not work, but when I restarted it will works fine
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
NetworkManager-OpenVPN |
New
|
Undecided
|
Unassigned | ||
One Hundred Papercuts |
Invalid
|
Undecided
|
Unassigned | ||
network-manager-openvpn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: network-
I'm using latest and daily updated Jaunty, but I suffer from this bug. I use the same settings as I used in Intrepid but cannot connect with openvpn plugin in Network Manager. Notification says something like "no valid secret vpn keys", sorry, I've got it in czech.
Here you are the daemon.log which should be more precise:
Mar 18 15:21:05 barny NetworkManager: <info> Starting VPN service 'org.freedeskto
Mar 18 15:21:05 barny NetworkManager: <info> VPN service 'org.freedeskto
Mar 18 15:21:05 barny NetworkManager: <info> VPN service 'org.freedeskto
Mar 18 15:21:05 barny NetworkManager: nm-vpn-
Mar 18 15:21:05 barny NetworkManager: <WARN> connection_
Mar 18 15:21:05 barny NetworkManager: <info> Policy set 'Auto channe6' (wlan0) as default for routing and DNS.
Here you are my system:
Linux barny 2.6.28-9-generic #31-Ubuntu SMP Wed Mar 11 15:43:49 UTC 2009 x86_64 GNU/Linux
Here you have my openvpn configuration file which fortunately works (but I have to connect by invoking the command manually):
remote domain.name
client
port 1194
tls-client
dev tap
pull
mute 10
ca /home/user/
cert /home/user/
key /home/user/
log /var/log/vpn.log
comp-lzo
Thanks for your help!
summary: |
- Jaunty OpenVPN NM settings same as in Intrepid, but don't work + After OpenVPN NM installed its not work, but when I restarted it will + works fine |
I can confirm this problem. Also starting vpnc based vpn fails in a similar manner:
Apr 5 23:21:15 hog NetworkManager: <info> Starting VPN service 'org.freedeskto p.NetworkManage r.vpnc' ... p.NetworkManage r.vpnc' started (org.freedeskto p.NetworkManage r.vpnc) , PID 3177 watch_cb( ): VPN service 'org.freedeskto p.NetworkManage r.vpnc' exited with error: 1 p.NetworkManage r.vpnc' did not start in time, cancelling connections
Apr 5 23:21:15 hog NetworkManager: <info> VPN service 'org.freedeskto
Apr 5 23:21:15 hog NetworkManager: <WARN> vpn_service_
Apr 5 23:21:15 hog NetworkManager: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Apr 5 23:21:15 hog NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Apr 5 23:21:20 hog NetworkManager: <info> VPN service 'org.freedeskto
and for openvpn:
Apr 5 23:21:52 hog NetworkManager: <info> Starting VPN service 'org.freedeskto p.NetworkManage r.openvpn' ... p.NetworkManage r.openvpn' started (org.freedeskto p.NetworkManage r.openvpn) , PID 3184 p.NetworkManage r.openvpn' just appeared, activating connections connection. c.900: NeedSecrets failed: dbus-glib- error-quark Rejected send message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=2922 comm="/ usr/sbin/ NetworkManager --pid-file /var/run/Netwo") interface= "org.freedeskto p.NetworkManage r.VPN.Plugin" member= "NeedSecrets" error name="(unset)" requested_reply=0 destination= "org.freedeskto p.NetworkManage r.openvpn" (uid=0 pid=3184 comm="/ usr/lib/ network- manager- openvpn/ nm-openvpn- servic" )) state_changed( ): Rejected send message, 1 matched rules; type="method_call", sender=":1.10" (uid=0 pid=2922 comm="/ usr/sbin/ NetworkManager --pid-file /var/run/Netwo") interface= "org.freedeskto p.NetworkManage r.VPN.Plugin" member="Disconnect" error name="(unset)" requested_reply=0 destination= "org.freedeskto p.NetworkManage r.openvpn" (uid=0 pid=3184 comm="/ usr/lib/ network- manager- openvpn/ nm-openvpn- servic" ))
Apr 5 23:21:52 hog NetworkManager: <info> VPN service 'org.freedeskto
Apr 5 23:21:52 hog NetworkManager: <info> VPN service 'org.freedeskto
Apr 5 23:21:52 hog NetworkManager: <info> VPN plugin state changed: 1
Apr 5 23:21:52 hog NetworkManager: nm-vpn-
Apr 5 23:21:52 hog NetworkManager: <WARN> connection_
Apr 5 23:21:52 hog NetworkManager: <info> (eth0): writing resolv.conf to /sbin/resolvconf
Apr 5 23:21:52 hog NetworkManager: <info> Policy set 'Auto eth0' (eth0) as default for routing and DNS.
Apr 5 23:22:05 hog NetworkManager: <debug> [1238970125.002156] ensure_killed(): waiting for vpn service pid 3184 to exit
Apr 5 23:22:05 hog NetworkManager: <debug> [1238970125.002343] ensure_killed(): vpn service pid 3184 cleaned up
this is a show stopper for me :-(