Some additional information:

1)
The problem happens only when the outgoing interface is a wlan inteface but not 
on the eth interface.

2)
When tracing the ip traffic with wireshark, the timeout happens on a DNS query 
for "Type=SOA Name=local Class=IN"

This DNS query is sent only when connected via wlan but not when connected via 
eth. It is sent twice and times out twice.
And it only happens on Ubuntu 12.04 but not on 11.10 from wich I upgraded.

So I guess it has anything to do with the change to dnsmasq on Ubuntu
12.04.

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

Title:
  VPN connection setup phase takes long

Status in “network-manager-applet” package in Ubuntu:
  Triaged

Bug description:
  On ubuntu 12.04 beta, to connect to a VPN by network-manager-gnome
  takes long.

  It takes about 10s to connect with Ubuntu 12.04 and less than 1s with Ubuntu 
11.10 or with an Android device .
  (Btw: on Ubuntu releases 11.04 and before it also took about 6s)
   
  This is independent of the VPN protocol used: it happens with 
network-manager-vpnc as well as with network-manager-openconnect.

  Expecting the rooting table and /etc/resolv.conf during the connection
  phase showed that setup of the tun0 interface including the
  correspondig interface route as well as the DNS config in
  /etc/resolv.conf is done quickly (below 1s).

  But it takes an extra 10s until the default route is replaced!

  In following syslog the connection phase stalls after setting up the
  nameserver between 16:54:39 and 16:54:48 :

  Mar 13 16:54:37 mmtux NetworkManager[1026]: <info> VPN service 'vpnc' started 
(org.freedesktop.NetworkManager.vpnc), PID 6570
  Mar 13 16:54:37 mmtux NetworkManager[1026]: <info> VPN service 'vpnc' 
appeared; activating connections
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> VPN plugin state changed: 
starting (3)
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> VPN connection 'fhnw-adm 
(vpnc)' (Connect) reply received.
  Mar 13 16:54:38 mmtux NetworkManager[1026]:    SCPlugin-Ifupdown: devices 
added (path: /sys/devices/virtual/net/tun0, iface: tun0)
  Mar 13 16:54:38 mmtux NetworkManager[1026]:    SCPlugin-Ifupdown: device 
added (path: /sys/devices/virtual/net/tun0, iface: tun0): no ifupdown 
configuration found.
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> VPN connection 'fhnw-adm 
(vpnc)' (IP Config Get) reply received.
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> VPN Gateway: 147.86.3.239
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Tunnel Device: tun0
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Internal IP4 Address: 
10.223.240.33
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Internal IP4 Prefix: 32
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Internal IP4 
Point-to-Point Address: 10.223.240.33
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Maximum Segment Size 
(MSS): 0
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Forbid Default Route: no
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Internal IP4 DNS: 
10.51.2.32
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> Internal IP4 DNS: 
10.51.2.33
  Mar 13 16:54:38 mmtux NetworkManager[1026]: <info> DNS Domain: 
'adm.ds.fhnw.ch'
  Mar 13 16:54:39 mmtux dnsmasq[6499]: exiting on receipt of SIGTERM
  Mar 13 16:54:39 mmtux NetworkManager[1026]: <info> DNS: starting dnsmasq...
  Mar 13 16:54:39 mmtux NetworkManager[1026]: <info> (tun0): writing 
resolv.conf to /sbin/resolvconf
  Mar 13 16:54:39 mmtux dnsmasq[6590]: started, version 2.59 cache disabled
  Mar 13 16:54:39 mmtux dnsmasq[6590]: compile time options: IPv6 GNU-getopt 
DBus i18n DHCP TFTP conntrack IDN
  Mar 13 16:54:39 mmtux dnsmasq[6590]: using nameserver 10.51.2.33#53
  Mar 13 16:54:39 mmtux dnsmasq[6590]: using nameserver 10.51.2.32#53
  Mar 13 16:54:49 mmtux NetworkManager[1026]: <info> VPN connection 'fhnw-adm 
(vpnc)' (IP Config Get) complete.
  Mar 13 16:54:49 mmtux NetworkManager[1026]: <info> Policy set 'fhnw-adm 
(vpnc)' (tun0) as default for IPv4 routing and DNS.
  Mar 13 16:54:49 mmtux dbus[993]: [system] Activating service 
name='org.freedesktop.nm_dispatcher' (using servicehelper)
  Mar 13 16:54:49 mmtux NetworkManager[1026]: <info> VPN plugin state changed: 
started (4)
  Mar 13 16:54:49 mmtux dbus[993]: [system] Successfully activated service 
'org.freedesktop.nm_dispatcher'

  
  Regards
  Matthias

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: network-manager-gnome 0.9.2.0+git.20120126t000800.5151959-0ubuntu4
  ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
  Uname: Linux 3.2.0-18-generic x86_64
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Wed Mar 14 07:49:46 2012
  IfupdownConfig:
   auto lo
   iface lo inet loopback
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20111003)
  IpRoute:
   default dev tun0  proto static 
   147.86.3.239 via 192.168.0.1 dev wlan0  proto static 
   169.254.0.0/16 dev wlan0  scope link  metric 1000 
   192.168.0.0/24 dev wlan0  proto kernel  scope link  src 192.168.0.101  
metric 2
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=false
   WimaxEnabled=true
  SourcePackage: network-manager-applet
  UpgradeStatus: Upgraded to precise on 2012-03-12 (1 days ago)
  nmcli-dev:
   DEVICE     TYPE              STATE         DBUS-PATH                         
         
   wlan0      802-11-wireless   connected     
/org/freedesktop/NetworkManager/Devices/1  
   eth0       802-3-ethernet    unavailable   
/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-applet/+bug/954763/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to