← Back to team overview

desktop-packages team mailing list archive

[Bug 915825] Re: network-manager can't start openvpn connection with "dns=dnsmasq" in /etc/NetworkManager/NetworkManager.conf

 

Jan 13 18:23:16 gaea nm-openvpn[389]: OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jan  2 2012
Jan 13 18:23:16 gaea nm-openvpn[389]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Jan 13 18:23:16 gaea nm-openvpn[389]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 13 18:23:17 gaea nm-openvpn[389]: RESOLVE: NOTE: connect-openvpn.swissvpn.net resolves to 2 addresses
Jan 13 18:23:17 gaea nm-openvpn[389]: Attempting to establish TCP connection with [AF_INET]80.254.79.101:443 [nonblock]
Jan 13 18:23:19 gaea nm-openvpn[389]: TCP connection established with [AF_INET]80.254.79.101:443
Jan 13 18:23:19 gaea nm-openvpn[389]: TCPv4_CLIENT link local: [undef]
Jan 13 18:23:19 gaea nm-openvpn[389]: TCPv4_CLIENT link remote: [AF_INET]80.254.79.101:443
Jan 13 18:23:33 gaea nm-openvpn[389]: [server] Peer Connection Initiated with [AF_INET]80.254.79.101:443
It works for me. Are you using special configuration, like disabling IPv6 completely (just a wild guess) ?


Jan 13 18:23:36 gaea nm-openvpn[389]: TUN/TAP device tun0 opened
Jan 13 18:23:36 gaea nm-openvpn[389]: /usr/lib/NetworkManager/nm-openvpn-service-openvpn-helper tun0 1500 1543 93.94.245.32 255.255.255.128 init
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> VPN connection 'SwissVPN openvpn' (IP Config Get) reply received.
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> VPN Gateway: xxxxxxx
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal Gateway: xxxxxx
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Tunnel Device: tun0
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal IP4 Address: xxxxxxx
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal IP4 Prefix: 25
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal IP4 Point-to-Point Address: 0.0.0.0
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Maximum Segment Size (MSS): 0
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Forbid Default Route: no
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal IP4 DNS: xxxxxxx
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> Internal IP4 DNS: xxxxxxx
Jan 13 18:23:36 gaea nm-openvpn[389]: Initialization Sequence Completed
Jan 13 18:23:36 gaea NetworkManager[32370]: <info> DNS Domain: '(none)'

If you get a crash after rebooting your system and verifying that you
don't carry unusual configs (like removing the ipv6 module system-wide),
please attach /var/log/syslog to this bug report and see if you can run
NetworkManager in a debugger. For this, you'll need to also install the
network-manager-dbg package.

Thanks!

** Changed in: network-manager (Ubuntu)
       Status: Confirmed => Incomplete

** Changed in: network-manager (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/915825

Title:
  network-manager can't start openvpn connection with "dns=dnsmasq" in
  /etc/NetworkManager/NetworkManager.conf

Status in “network-manager” package in Ubuntu:
  Incomplete

Bug description:
  I was trying to set up an OpenVPN connection on Precise, but it kept
  failing. It seemed like n-m was crashing every time the connection was
  established. A crash is logged by the kernel, but not picked up by
  apport.

  Jan 13 07:33:34 martijn-desktop kernel: [32713.158614]
  NetworkManager[1087]: segfault at 0 ip 00000000004447a7 sp
  00007fff24de2d50 error 4 in NetworkManager[400000+d6000]

  After removing the new "dns=dnsmasq" line from
  /etc/NetworkManager/NetworkManager.conf it works again.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: network-manager 0.9.2.0+git201201101813.0b30200-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-8.15-generic 3.2.0
  Uname: Linux 3.2.0-8-generic x86_64
  ApportVersion: 1.90-0ubuntu1
  Architecture: amd64
  CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
  Date: Fri Jan 13 07:39:55 2012
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110803)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
   
   tun0      no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
   WimaxEnabled=true
  ProcEnviron:
   PATH=(custom, user)
   LANG=nl_NL.UTF-8
   SHELL=/bin/bash
  RfKill:
   0: hci0: Bluetooth
   	Soft blocked: no
   	Hard blocked: no
  SourcePackage: network-manager
  UpgradeStatus: Upgraded to precise on 2011-12-03 (40 days ago)
  modified.conffile..etc.NetworkManager.NetworkManager.conf: [modified]
  mtime.conffile..etc.NetworkManager.NetworkManager.conf: 2012-01-13T07:38:58.347888
  nmcli-con:
   NAME                      UUID                                   TYPE              TIMESTAMP    TIMESTAMP-REAL                     AUTOCONNECT   READONLY   DBUS-PATH                                 
   XS4ALL VPN (openvpn)      16548840-3b2b-4086-920e-2d34a021e1ed   vpn               1326436781   vr 13 jan 2012 07:39:41 CET        yes           no         /org/freedesktop/NetworkManager/Settings/1
   Wired connection 1        56f95544-d904-47d7-a75c-11c5ce360c97   802-3-ethernet    1326436767   vr 13 jan 2012 07:39:27 CET        yes           no         /org/freedesktop/NetworkManager/Settings/0
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                                  
   eth0       802-3-ethernet    connected     /org/freedesktop/NetworkManager/Devices/0
  nmcli-nm:
   RUNNING         VERSION    STATE           NET-ENABLED   WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
   running         0.9.3.0    connected       enabled       enabled         enabled    enabled         disabled

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/915825/+subscriptions


References