This issue also affects me. Quick and dirty reproduction steps. 1) Remove all network configuration from Network Manager. 2) Manually define a static or dhcp address in /etc/network/interfaces 3) Restart networking /etc/init.d/networking restart 4) Manually define /etc/resolv.conf for your environment 5) Restart NetworkManager /etc/init.d/network-manager restart (you can also reboot your system if you prefer)
Your /etc/resolv.conf has now been overwritten. I also tried unchecking "Enable Wired Networking" in Network Manager and configuring using the above config files and the same behavior occurred. This causes problems with regards to specific network configurations (bridges, vlans) which I personally use for KVM. -- 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/867833 Title: Network Manager overwriting /etc/resolv.conf with no information when static IP configured for ipv4 Status in “network-manager” package in Ubuntu: Confirmed Bug description: After a reboot, /etc/resolv.conf is blank and only contains the line # Generated by NetworkManager The computer is configured for a static IP address using (in XFCE) Settings -> Network Connections and contains a valid DNS entry. In order for the computer to access the internet, I must edit /etc/resolv.conf and insert nameserver 8.8.8.8 ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: network-manager 0.9.1.90-0ubuntu2 ProcVersionSignature: Ubuntu 3.0.0-10.16-server 3.0.4 Uname: Linux 3.0.0-10-server x86_64 ApportVersion: 1.23-0ubuntu2 Architecture: amd64 CRDA: Error: [Errno 2] No such file or directory Date: Tue Oct 4 14:48:03 2011 Gconf: InstallationMedia: Ubuntu-Server 11.04 "Natty Narwhal" - Release amd64 (20110426) IpRoute: default via 192.168.10.1 dev eth0 metric 100 169.254.0.0/16 dev eth0 scope link metric 1000 192.168.10.0/24 dev eth0 proto kernel scope link src 192.168.10.11 IwConfig: lo no wireless extensions. eth0 no wireless extensions. Keyfiles: Error: [Errno 2] No such file or directory NetworkManager.state: [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ProcEnviron: SHELL=/bin/bash LANG=en_US.UTF-8 RfKill: SourcePackage: network-manager UpgradeStatus: Upgraded to oneiric on 2011-09-05 (29 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/867833/+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

