Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I changed my network /etc/network/interfaces settings to have a static IP but when I rebooted after that it didn't finish booting up.

It goes up to roundabout

*Starting AppArmor profiles                               [OK]

And then stops and doesn't continue. It also does:

*Configuring virtual network devices                      [fail]

I have access to the GRUB boot menu and from there I have access to the ROOT command shell.

In the /etc/network/interfaces is written:

#Interfaces(5) file used by ifup(8) and ifdown(8)

auto lo
iface lo inet loopback

auth eth0
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.135
dns nameserver 192.168.1.135 4.4.4.4

I thank everyone in advance

share|improve this question
    
Post /etc/network/interfaces contents. –  Eric Carvalho Jun 21 '13 at 15:42
add comment

1 Answer

up vote 2 down vote accepted

I believe that your interfaces file is malformed. Please amend it to:

#Interfaces(5) file used by ifup(8) and ifdown(8)

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.135
dns nameserver 192.168.1.135 4.4.4.4

Then get the system to re-read and use the changes:

sudo ifdown eth0 && sudo ifup -v eth0

Does it connect?

ping -c3 www.google.com
share|improve this answer
    
After having put in ping -c3 www.google.com It gave me 3 packets transmitted, 3 received, 0% packet loss –  DLJ Jun 22 '13 at 5:33
    
@chilli555 I have just booted up and I want to thank you a lot!!!! I am writing this from the computer that didn't want to boot up. What happened whas that I wrote: iface eth0 intet static in the interfaces file. Thanks once again. –  DLJ Jun 22 '13 at 5:42
add comment

Your Answer

 
discard

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.