Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
add comment

migrated from stackoverflow.com May 14 '12 at 18:11

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

2 Answers

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
add comment

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
add comment

Your Answer

 
discard

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