/etc/resolv.conf is missing in fresh server install

Bug #177767 reported by tpkuester on 2007-12-20
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Wishlist
Unassigned

Bug Description

From a fresh install of 7.10 server (x86)...

Selected to Configure network later.
Selected LAMP, OpenSSH, Samba for optional software.

Booted--no issuses.
Edited /etc/network/interfaces to contain

---
auto eth0
iface eth0 inet static
    address 192.168.1.50
    netmask 255.255.255.0
    gateway 192.168.1.1
---

ran /etc/init.d/networking restart to cycle the interfaces. eth0 came up and appeared to be configured correctly.

Pinged google.com, no response. Pinged 192.168.1.1 -- received a response.

Used dhclient for DHCP services to make sure I didn't configure something incorrectly, and it said something about /etc/resolv.conf -- which I don't remember. I pinged google.com again, with no success.

ls /etc | grep resolv # apparently, /etc/resolv.conf didn't exist
touch /etc/resolv.conf # lets make it
dhclient eth0

Now I can ping google.com and other various sites.

Update:
It was also noted here with Dapper Drake
http://ubuntuforums.org/archive/index.php/t-282042.html

Reading that article, I can assure that the cause was a missing resolv.conf file -- not a firewall or any other issues.

tpkuester (tpkuester) on 2007-12-20
description: updated
Daniel T Chen (crimsun) on 2008-11-20
Changed in resolvconf:
importance: Undecided → Wishlist
status: New → Confirmed
Simon Huerlimann (huerlisi) wrote :

Not sure if this is related to resolvconf, as it won't be installed in a default installation.

I'm marking this bug as invalid for the following reasons:
* Only one person affected
* Affecting old release 7.10
* No action since 2008-11-20

Please reopen if there's some news...

Changed in resolvconf (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers