/sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring...



Hello,

I am facing some problems getting OpenVPN working through NetworkManager on Ubuntu 12.10. I am able to connect when using the 'regular' OpenVPN client and a config file, but not through NM with a similar config. From my investigations so far, it seems that the /sys/devices/virtual/net/tap0 device doesn't get created, but I am unable to work out why that is happening. I tried putting apparmor into complain mode to make sure it wasn't a problem with that. I pasted what I believe is the relevant part of syslog below (edited out identifiable information). Can anyone help me with some pointers as to how to troubleshoot this?

Best Regards

Oct 25 13:38:22 havet NetworkManager[952]: <info> Starting VPN service 'openvpn'...
Oct 25 13:38:22 havet NetworkManager[952]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 2650
Oct 25 13:38:22 havet NetworkManager[952]: <info> VPN service 'openvpn' appeared; activating connections
Oct 25 13:38:22 havet NetworkManager[952]: <info> VPN plugin state changed: starting (3)
Oct 25 13:38:22 havet nm-openvpn[2656]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 2
0110424-2 (2.2RC2)] built on Oct  8 2012
Oct 25 13:38:22 havet nm-openvpn[2656]: WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Oct 25 13:38:22 havet nm-openvpn[2656]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Oct 25 13:38:22 havet NetworkManager[952]: <info> VPN connection '<I removed the hostname>' (Connect) reply received.
Oct 25 13:38:22 havet nm-openvpn[2656]: LZO compression initialized
Oct 25 13:38:22 havet nm-openvpn[2656]: Attempting to establish TCP connection with [AF_INET]xxx.xxx.xxx.xxx:15001 [nonblock]
Oct 25 13:38:23 havet nm-openvpn[2656]: TCP connection established with [AF_INET]xxx.xxx.xxx.xxx:15001
Oct 25 13:38:23 havet nm-openvpn[2656]: TCPv4_CLIENT link local: [undef]
Oct 25 13:38:23 havet nm-openvpn[2656]: TCPv4_CLIENT link remote: [AF_INET]xxx.xxx.xxx.xxx:15001
Oct 25 13:38:23 havet nm-openvpn[2656]: [raichu.netlab.jp] Peer Connection Initiated with [AF_INET]xxx.xxx.xxx.xxx:15001
Oct 25 13:38:25 havet nm-openvpn[2656]: TUN/TAP device tap0 opened
Oct 25 13:38:25 havet nm-openvpn[2656]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper tap0 1500 1576   init
Oct 25 13:38:25 havet NetworkManager[952]:    SCPlugin-Ifupdown: devices added (path: /sys/devices/virtual/net/tap0, iface: tap0)
Oct 25 13:38:25 havet NetworkManager[952]:    SCPlugin-Ifupdown: device added (path: /sys/devices/virtual/net/tap0, iface: tap0): no ifupdown configuration found.
Oct 25 13:38:25 havet NetworkManager[952]: <warn> /sys/devices/virtual/net/tap0: couldn't determine device driver; ignoring...
Oct 25 13:38:25 havet NetworkManager[952]: <warn> VPN plugin failed: 2
Oct 25 13:38:25 havet nm-openvpn[2656]: WARNING: Failed running command (--up/--down): external program exited with error status: 1
Oct 25 13:38:25 havet nm-openvpn[2656]: Exiting
Oct 25 13:38:25 havet NetworkManager[952]:    SCPlugin-Ifupdown: devices removed (path: /sys/devices/virtual/net/tap0, iface: tap0)
Oct 25 13:38:25 havet NetworkManager[952]: <warn> VPN plugin failed: 1
Oct 25 13:38:25 havet NetworkManager[952]: <info> VPN plugin state changed: stopped (6)
Oct 25 13:38:25 havet NetworkManager[952]: <info> VPN plugin state change reason: 0
Oct 25 13:38:25 havet NetworkManager[952]: <info> Policy set 'Ahc2emKm_g' (wlan0) as default for IPv4 routing and DNS.
Oct 25 13:38:25 havet NetworkManager[952]: <info> Policy set 'Ahc2emKm_g' (wlan0) as default for IPv6 routing and DNS.
Oct 25 13:38:25 havet NetworkManager[952]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active.
Oct 25 13:38:30 havet NetworkManager[952]: <info> VPN service 'openvpn' disappeared



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]