Public bug reported:

>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.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: dns missing resolv

** Description changed:

  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.
  
- This seems like a bug to me. Did I do something wrong?
+ 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.

** Tags added: dns missing resolv

-- 
/etc/resolv.conf is missing in fresh server install
https://bugs.launchpad.net/bugs/177767
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to