Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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 have messed up my IP address. I had a dynamic IP that I changed to a static one. When I did that, the little icon in the corner of the screen that indicates a wired connection disappeared and was replaced by the wireless icon. Then, it started giving me problems so I decided to get a dynamic IP again. So I deleted everything in the /etc/network/interfaces file until only auth eth0 was there. Now, I have an Ubuntu internal error message.

share|improve this question
Okay, one note: never delete any system folder/file unless you are completely certain of what you are doing. If you aren't too certain, try renaming instead of deleting. – MiJyn Jun 20 '13 at 5:35
Please execute ifconfig and post the results – thefourtheye Jun 20 '13 at 5:41
Yeah, I realised only too late that I shouldn't have deleted the files. – DLJ Jun 20 '13 at 10:41

Add these lines to /etc/network/interfaces:

auto lo
iface lo inet loopback
share|improve this answer
# this is the default.. 
auto lo
iface lo inet loopback

# basically your lan usually named eth0 if had just one nic
auto eth0
iface eth0 inet dhcp

if you want to set into static address just change the

iface eth0 inet dhcp 


iface eth0 inet static

just for reminder. make sure to make a back-up file everytime you change the file.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.