nameserver in /etc/resolv.conf didn't update when changing network
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
network-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When changeing network and connecting to a new router,(sitecom cfe88) i couldn't surf. Surfing worked in windows in my dual boot, and in another lan a home, so i knew it "should" work. Everything seemed ok in nw-manager - connected fine, got an ip and so on - and i had turned off ipv6 just to be sure. Then i had a look at /etc/resolv.conf - and there it was - it had one nameserver entry, and it was the one from my homenetwork - wtf. I changed that manually to the router i was connecting to - and it worked.
Now, why didn't it update this by itself when switching networks. A less techical user would be stuck.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: network-manager 0.9.8.0-0ubuntu6
ProcVersionSign
Uname: Linux 3.8.0-25-generic x86_64
ApportVersion: 2.9.2-0ubuntu8.1
Architecture: amd64
Date: Mon Jun 17 08:13:26 2013
IfupdownConfig:
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
InstallationDate: Installed on 2013-04-09 (68 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20130409)
IpRoute:
default 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.107 metric 9
MarkForUpload: True
NetworkManager.
[main]
NetworkingEnab
WirelessEnable
WWANEnabled=true
WimaxEnabled=true
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=sv_SE.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: No upgrade log present (probably fresh install)
nmcli-dev:
DEVICE TYPE STATE DBUS-PATH
eth0 802-3-ethernet unavailable /org/freedeskto
wlan0 802-11-wireless connected /org/freedeskto
nmcli-nm:
RUNNING VERSION STATE NET-ENABLED WIFI-HARDWARE WIFI WWAN-HARDWARE WWAN
running 0.9.8.0 connected enabled enabled enabled enabled enabled
To solve, please open a terminal window and run "sudo dpkg-reconfigure resolvconf".