It looks like you're on to something! I created the symlink and
rebooted, and domain names are now resolving just fine. Here are the
outputs of the commands that you requested:
$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 29 Sep 20 09:51 /etc/resolv.conf ->
../run/resolvconf/resolv.conf
$ cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
$ ls -l /run/resolvconf
total 4
-rw-r--r-- 1 root root 0 Sep 20 09:53 enable-updates
drwxr-xr-x 2 root root 60 Sep 20 09:53 interface
-rw-r--r-- 1 root root 172 Sep 20 09:53 resolv.conf
$ ls -l /run/resolvconf/interface
total 4
-rw-r--r-- 1 root root 21 Sep 20 09:53 NetworkManager
$ for F in /run/resolvconf/interface/* ; do echo === $F === ; cat $F ; done
=== /run/resolvconf/interface/NetworkManager ===
nameserver 127.0.1.1
$ ls -l /etc/resolvconf/resolv.conf.d
total 4
-rw-r--r-- 1 root root 0 Mar 29 16:37 base
-rw-r--r-- 1 root root 151 Sep 15 12:13 head
$ for F in /etc/resolvconf/resolv.conf.d/* ; do echo === $F === ; cat $F ;
done
=== /etc/resolvconf/resolv.conf.d/base ===
=== /etc/resolvconf/resolv.conf.d/head ===
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by
resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
dns=dnsmasq
[ifupdown]
managed=false
$ ps -elfww|grep dnsmasq
4 S nobody 2736 910 0 80 0 - 8268 poll_s 09:53 ? 00:00:00
/usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces
--pid-file=/var/run/sendsigs.omit.d/network-manager.dnsmasq.pid
--listen-address=127.0.1.1 --conf-file=/var/run/nm-dns-dnsmasq.conf
--cache-size=0 --proxy-dnssec
--enable-dbus=org.freedesktop.NetworkManager.dnsmasq
--conf-dir=/etc/NetworkManager/dnsmasq.d
0 S jrog 5804 3150 0 80 0 - 3396 pipe_w 09:56 pts/0 00:00:00
grep --color=auto dnsmasq
--
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/1051348
Title:
No resolving after upgrade from 12.04 to 12.10 beta
Status in “network-manager” package in Ubuntu:
New
Bug description:
I'm assuming (based on the prefix of /var/run/nm-dns-dnsmasq.conf)
that this is a network-manager issue, though I'm not certain.
I recently upgraded to Ubuntu 12.10 Beta 1 from a more-or-less stock
installation of Ubuntu 12.04 (it had only been installed for about 3-4
hours before the upgrade). This means that I am now using network-
manager 0.9.6.0-0ubuntu7. On startup, network-manager connects to my
router without any issues, but I am then unable to resolve any domain
names (beyond localhost); I can't browse to any websites, ping any
servers using their domain names, etc. There were no problems doing
any of this while using 12.04, and I did not do anything other than
perform the upgrade to 12.10 Beta 1 before this happened, so what I
was expecting to happen was that I would continue to be able to use
DNS as usual.
On poking around a bit, I discovered that dnsmasq is running as it
should be (listening on 127.0.1.1) but that the config file that it is
trying to use, /var/run/nm-dns-dnsmasq.conf, is completely empty. This
appears to be the source ofthe problem, as I can fix the issue by
doing the following:
1) Kill the /usr/sbin/dnsmasq process that is automatically started (by
network-manager?).
2) Manually create /var/run/nm-dns-dnsmasq.conf and add lines such as the
following (this line identifies an OpenDNS server):
server=208.67.222.222
3) Manually start the /usr/sbin/dnsmasq using exactly the same options
that were passed to it when it was started automatically.
So, I'm guessing this file should be non-empty. (Another workaround,
by the way, is to manually create an /etc/resolv.conf file with
appropriate nameserver lines and then restart the networking service,
but AFAIK that solution simply bypasses dnsmasq entirely.)
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: network-manager 0.9.6.0-0ubuntu7
ProcVersionSignature: Ubuntu 3.5.0-14.19-generic 3.5.3
Uname: Linux 3.5.0-14-generic x86_64
ApportVersion: 2.5.1-0ubuntu7
Architecture: amd64
Date: Sat Sep 15 13:02:05 2012
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64
(20120823.1)
IpRoute:
default via 192.168.1.1 dev wlan0 proto static
169.254.0.0/16 dev wlan0 scope link metric 1000
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.21 metric
9
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to quantal on 2012-09-15 (0 days ago)
nmcli-con:
NAME UUID TYPE
TIMESTAMP TIMESTAMP-REAL AUTOCONNECT READONLY
DBUS-PATH
Wired connection 1 500ef8b0-f9cf-48f6-9409-aabea4121a84
802-3-ethernet 1347727737 Sat 15 Sep 2012 12:48:57 PM EDT yes
no /org/freedesktop/NetworkManager/Settings/1
NotThat! 968fa0a6-be87-47bb-b306-daf2188393e9
802-11-wireless 1347728337 Sat 15 Sep 2012 12:58:57 PM EDT yes
no /org/freedesktop/NetworkManager/Settings/0
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
eth0 802-3-ethernet unavailable
/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.6.0 connected enabled enabled
enabled enabled disabled
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1051348/+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