Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been installing an Ubuntu Server on a local machine. Ive configured the eth0 in the interfaces (Static) and I can ping the router aswell as other machines in the network can ping the server and even get the apache default-site. So I assume, that eth0 is configured correct. I can't however update or search via apt-get, so I think, that means, that the machine is currently offline. Has anybody some pointers, what I might have missed? Regards, Marcus

share|improve this question

migrated from May 14 '12 at 18:11

This question came from our site for professional and enthusiast programmers.

My guess is: DNS settings in resolv.conf . By changing it to DHCP, the machine got the information via the DHCP Server.

share|improve this answer
Seconding this! – xstnc May 15 '12 at 6:09

I changed the config to dhcp, restarted the network, changed back to static again and ever thing works fine now. No idea why, though.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.