*** This bug is a duplicate of bug 1003842 ***
https://bugs.launchpad.net/bugs/1003842
Thomas:
After rebooting here's the output you requested when connected via
VPN...
ls -l /var/run/resolvconf/interface/:
-rw-r--r-- 1 root root 59 Jun 16 00:42 NetworkManager
-rw-r--r-- 1 root root 48 Jun 16 00:42 ppp0
NetworkManager:
search {vpn search domain #1} {vpn search domain #2}
nameserver 127.0.0.1
ppp0:
nameserver {vpn dns server #1}
nameserver {vpn dns server #2}
/etc/resolv.conf:
nameserver {vpn dns server #1}
nameserver {vpn dns server #2}
nameserver 127.0.0.1
search {vpn search domain #1} {vpn search domain #2}
I connect to VPN through NM. Both OpenVPN and PPTP are installed
according to synaptic, but it looks like pptp is the daemon connected to
NetworkManager based on ps output below:
ps -ef | grep pptp
root 5598 1209 0 01:02 ? 00:00:00
/usr/lib/NetworkManager/nm-pptp-service
root 5600 5598 0 01:02 ? 00:00:00 /usr/sbin/pppd pty
/usr/sbin/pptp {vpn gateway IP addr} --nolaunchpppd --loglevel 0 --logstring
nm-pptp-service-5598 ipparam nm-pptp-service-5598 nodetach lock usepeerdns
noipdefault nodefaultroute noauth user vendpkr9 refuse-eap refuse-pap
refuse-chap require-mppe mppe-stateful lcp-echo-failure 0 lcp-echo-interval 0
plugin /usr/lib/pppd/2.4.5/nm-pptp-pppd-plugin.so
root 5602 5600 0 01:02 ? 00:00:00 sh -c /usr/sbin/pptp {vpn
gateway IP addr} --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-5598
root 5603 5602 0 01:02 ? 00:00:00 /usr/sbin/pptp {vpn gateway IP
addr} --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-5598
root 5611 1 0 01:02 ? 00:00:00 /usr/sbin/pptp {vpn gateway IP
addr} --nolaunchpppd --loglevel 0 --logstring nm-pptp-service-5598
--
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/994575
Title:
dnsmasq does not update nameserver info after network change
Status in “network-manager” package in Ubuntu:
Confirmed
Bug description:
I have a VPN set up in Network Manager, which worked well when my
system was running 11.10.
After upgrading to 12.04, I've noticed that DNS changes needed by the
VPN aren't happening. Hosts that only resolve within the VPN won't
resolve, and hosts that are supposed to resolve with different IP
addresses inside the VPN don't.
I can see the new, proper nameserver configuration in /var/run/nm-dns-
dnsmasq.conf. I can resolve properly if I query the name server
directly, i.e. "host <name-to-resolve> <vpn-dns-server-ip>". And, if
I use that IP address instead of the name, I can successfully do
things like ssh. But simple resolution appears to still be using the
old name server.
At one point, I killed off dnsmasq and wrote a new /etc/resolv.conf
with the VPN name servers. That worked, but caused all manner of
problems later.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: network-manager 0.9.4.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Fri May 4 09:04:23 2012
EcryptfsInUse: Yes
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
IpRoute:
default via 192.168.50.2 dev eth0 proto static
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.50.0/24 dev eth0 proto kernel scope link src 192.168.50.222
metric 1
192.168.50.0/24 dev wlan0 proto kernel scope link src 192.168.50.106
metric 2
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
RfKill:
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
SourcePackage: network-manager
UpgradeStatus: Upgraded to precise on 2012-05-02 (1 days ago)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
eth0 802-3-ethernet connected
/org/freedesktop/NetworkManager/Devices/1
wlan0 802-11-wireless connected
/org/freedesktop/NetworkManager/Devices/0
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE
WIFI WWAN-HARDWARE WWAN
running 0.9.4.0 connected enabled enabled
enabled enabled disabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/994575/+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