I am experiencing exactly the same problem! 
here is my log before, while and after I connect to VPN using the 
networkmanager. I tested it with a cable connection. It happens ONLY with the 
wireless, not with the wired connection.

nadi-laptop:~$ sudo tail -f /var/log/syslog
Feb 13 18:28:04 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 15 
seconds.
Feb 13 18:28:04 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:28:19 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:28:19 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:28:19 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 12 
seconds.
Feb 13 18:28:19 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:28:31 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:28:31 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:28:31 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:28:31 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 14 
seconds.
Feb 13 18:28:45 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:28:45 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:28:45 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:28:45 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:28:58 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:28:58 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:28:58 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:28:58 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:29:11 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:29:11 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:29:11 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:29:11 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:29:24 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:29:24 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:29:24 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:29:24 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:29:37 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:29:37 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:29:37 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:29:37 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 16 
seconds.
Feb 13 18:29:53 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:29:53 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:29:53 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:29:53 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  Will activate VPN 
connection 'NTNU VPN', service 'org.freedesktop.NetworkManager.vpnc', user_name 
'nadi', vpn_data 'IPSec gateway / 129.241.77.40 / IPSec ID / alle / Xauth 
username / barc', route ''. 
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 1 of 4 (Connection Prepare) scheduled... 
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 1 of 4 (Connection Prepare) ran VPN service daemon 
org.freedesktop.NetworkManager.vpnc (PID 22538) 
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 1 of 4 (Connection Prepare) complete. 
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 2 of 4 (Connection Prepare Wait) scheduled... 
Feb 13 18:29:59 nadi-laptop kernel: [  125.478860] tun: Universal TUN/TAP 
device driver, 1.6
Feb 13 18:29:59 nadi-laptop kernel: [  125.478906] tun: (C) 1999-2004 Max 
Krasnyansky <m...@qualcomm.com>
Feb 13 18:29:59 nadi-laptop NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.vpnc' signaled state change 1 -> 6. 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 2 of 4 (Connection Prepare Wait) waiting... 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 2 of 4 (Connection Prepare Wait) complete. 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 3 of 4 (Connect) scheduled... 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 3 of 4 (Connect) sending connect request. 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 3 of 4 (Connect) request sent, waiting for reply... 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.vpnc' signaled state change 6 -> 3. 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 3 of 4 (Connect) reply received. 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 4 of 4 (IP Config Get) timeout scheduled... 
Feb 13 18:30:00 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 3 of 4 (Connect) complete, waiting for IP configuration... 
Feb 13 18:30:00 nadi-laptop kernel: [  125.561803] tun0: Disabled Privacy 
Extensions
Feb 13 18:30:02 nadi-laptop vpnc[22545]: can't open pidfile /var/run/vpnc/pid 
for writing
Feb 13 18:30:02 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 4 of 4 (IP Config Get) reply received. 
Feb 13 18:30:03 nadi-laptop NetworkManager: <info>  Clearing nscd hosts cache. 
Feb 13 18:30:03 nadi-laptop NetworkManager: <WARN>  nm_spawn_process(): 
nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed 
to execute child process "/usr/sbin/nscd" (No such file or directory))  
Feb 13 18:30:03 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
Stage 4 of 4 (IP Config Get) complete. 
Feb 13 18:30:03 nadi-laptop NetworkManager: <info>  VPN Activation (NTNU VPN) 
successful. 
Feb 13 18:30:03 nadi-laptop NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.vpnc' signaled state change 3 -> 4. 
Feb 13 18:30:06 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:30:06 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:30:06 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:30:06 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 14 
seconds.
Feb 13 18:30:20 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:30:20 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:30:20 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 15 
seconds.
Feb 13 18:30:20 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
^[[5~Feb 13 18:30:35 nadi-laptop dhclient: DHCPREQUEST of <null address> on 
wlan0 to 10.0.0.1 port 67
Feb 13 18:30:35 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:30:35 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:30:35 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 15 
seconds.
Feb 13 18:30:50 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:30:50 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:30:50 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:30:50 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:31:03 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:31:03 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:31:03 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:31:03 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 16 
seconds.
^TFeb 13 18:31:19 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 
to 10.0.0.1 port 67
Feb 13 18:31:19 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:31:19 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:31:19 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 15 
seconds.
Feb 13 18:31:24 nadi-laptop NetworkManager: <info>  Will deactivate the VPN 
connection 'NTNU VPN', service 'org.freedesktop.NetworkManager.vpnc'. 
Feb 13 18:31:24 nadi-laptop NetworkManager: <info>  Clearing nscd hosts cache. 
Feb 13 18:31:24 nadi-laptop NetworkManager: <WARN>  nm_spawn_process(): 
nm_spawn_process('/usr/sbin/nscd -i hosts'): could not spawn process. (Failed 
to execute child process "/usr/sbin/nscd" (No such file or directory))  
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Withdrawing address record for 
10.0.0.5 on wlan0.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Leaving mDNS multicast group on 
interface wlan0.IPv4 with address 10.0.0.5.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Interface wlan0.IPv4 no longer 
relevant for mDNS.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Withdrawing address record for 
fe80::21d:e0ff:fe1b:5355 on wlan0.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Joining mDNS multicast group on 
interface wlan0.IPv4 with address 10.0.0.5.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: New relevant interface 
wlan0.IPv4 for mDNS.
Feb 13 18:31:24 nadi-laptop avahi-daemon[5148]: Registering new address record 
for 10.0.0.5 on wlan0.IPv4.
Feb 13 18:31:25 nadi-laptop vpnc[22545]: select: Interrupted system call
Feb 13 18:31:25 nadi-laptop NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.vpnc' signaled state change 4 -> 5. 
Feb 13 18:31:25 nadi-laptop NetworkManager: <info>  VPN service 
'org.freedesktop.NetworkManager.vpnc' signaled state change 5 -> 6. 
Feb 13 18:31:25 nadi-laptop vpnc[22545]: terminated by signal: 15
Feb 13 18:31:34 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0 to 
10.0.0.1 port 67
Feb 13 18:31:34 nadi-laptop dhclient: DHCPACK of 10.0.0.5 from 10.0.0.1
Feb 13 18:31:34 nadi-laptop dhclient: bound to 10.0.0.5 -- renewal in 13 
seconds.
Feb 13 18:31:34 nadi-laptop NetworkManager: <info>  DHCP daemon state is now 3 
(renew) for interface wlan0 
Feb 13 18:31:47 nadi-laptop dhclient: DHCPREQUEST of <null address> on wlan0

-- 
VPN connection in Network Manager looses DNS server with DHCP renew of parent 
connection.
https://bugs.launchpad.net/bugs/255480
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to