Public bug reported: Binary package hint: network-manager-openvpn
Distribution: Natty Desktop amd64 I can connect to VPN server (actually more than one) with the openvpn from command line. If terminal command is used, tap0 must be preconfigured in interfaces file, but I always thought that this is Network Manager's job. /etc/network/interfaces file *** auto lo iface lo inet loopback auto tap0 iface tap0 inet dhcp *** working OpenVFS command: sudo openvpn --config vfs.conf But configuration created with Network Manager doesn't work. This is what I see in syslog: May 5 17:04:59 tablete NetworkManager[19017]: <info> Starting VPN service 'openvpn'... May 5 17:04:59 tablete NetworkManager[19017]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 19339 May 5 17:04:59 tablete NetworkManager[19017]: <info> VPN service 'openvpn' appeared; activating connections May 5 17:04:59 tablete NetworkManager[19017]: <info> VPN plugin state changed: 1 May 5 17:04:59 tablete NetworkManager[19017]: <info> VPN plugin state changed: 3 May 5 17:04:59 tablete NetworkManager[19017]: <info> VPN connection 'VFS' (Connect) reply received. May 5 17:04:59 tablete nm-openvpn[19342]: OpenVPN 2.1.3 x86_64-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Mar 11 2011 May 5 17:04:59 tablete nm-openvpn[19342]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. May 5 17:04:59 tablete nm-openvpn[19342]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts May 5 17:04:59 tablete nm-openvpn[19342]: /usr/bin/openssl-vulnkey -q -b 1024 -m <modulus omitted> May 5 17:05:00 tablete nm-openvpn[19342]: Control Channel Authentication: using '/home/ivarss/vpn-vfs/vfs-ta.key' as a OpenVPN static key file May 5 17:05:00 tablete nm-openvpn[19342]: LZO compression initialized May 5 17:05:05 tablete nm-openvpn[19342]: UDPv4 link local: [undef] May 5 17:05:05 tablete nm-openvpn[19342]: UDPv4 link remote: [AF_INET]195.13.179.172:1194 May 5 17:05:07 tablete nm-openvpn[19342]: [VFS] Peer Connection Initiated with [AF_INET]195.13.179.172:1194 May 5 17:05:09 tablete nm-openvpn[19342]: TUN/TAP device tap0 opened May 5 17:05:09 tablete nm-openvpn[19342]: /usr/lib/network-manager-openvpn/nm-openvpn-service-openvpn-helper tap0 1500 1574 init May 5 17:05:09 tablete NetworkManager[19017]: SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tap0, iface: tap0) May 5 17:05:09 tablete NetworkManager[19017]: SCPluginIfupdown: locking wired connection setting May 5 17:05:09 tablete NetworkManager[19017]: Ifupdown: get unmanaged devices count: 1 May 5 17:05:09 tablete NetworkManager[19017]: <warn> /sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring... May 5 17:05:10 tablete NetworkManager[19017]: <warn> VPN plugin failed: 2 May 5 17:05:10 tablete nm-openvpn[19342]: script failed: external program exited with error status: 1 May 5 17:05:10 tablete nm-openvpn[19342]: Exiting May 5 17:05:10 tablete avahi-daemon[870]: Withdrawing workstation service for tap0. May 5 17:05:10 tablete NetworkManager[19017]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tap0, iface: tap0) May 5 17:05:10 tablete NetworkManager[19017]: Ifupdown: get unmanaged devices count: 0 May 5 17:05:10 tablete NetworkManager[19017]: <warn> VPN plugin failed: 1 May 5 17:05:10 tablete NetworkManager[19017]: <info> VPN plugin state changed: 6 May 5 17:05:10 tablete NetworkManager[19017]: <info> VPN plugin state change reason: 0 May 5 17:05:10 tablete NetworkManager[19017]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active. May 5 17:05:10 tablete NetworkManager[19017]: <info> Policy set 'Auto eth0' (eth0) as default for IPv4 routing and DNS. May 5 17:05:15 tablete NetworkManager[19017]: <info> VPN service 'openvpn' disappeared ** Affects: network-manager-openvpn (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/777864 Title: cannot connect with network-manager-openvpn -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs