Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

This is my /etc/networking/interfaces file:

auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto

And here is a picture of where it is hanging:

    ss of problem

Source: http://imgur.com/s8xoE6f

The cursor is blinking and I can type, but I'm fairly certain that commands don't work here. Please help!

share|improve this question

1 Answer 1

You need to also keep the loopback in your interfaces file. So add these lines:

auto lo eth0
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp
iface eth0 inet6 auto
share|improve this answer
    
How do I edit the file? I'm not sure how to get past what is shown –  user60365 Feb 14 at 10:22
1  
@user60365 - How did you get the contents of the file to begin with? Also you can often times boot into single user mode with Linux which would bypass the network detection etc. that's hanging you up. debuntu.org/… –  slm Feb 14 at 10:24
    
Thanks for the help, but it has not seemed to work. I know what is in my interfaces file because I recently edited it to the default on the debian wiki, so I just cp'd what I had entered. The following is a picture of what happens after I put "single" after the kernel line: imgur.com/YI9XkJ0 –  user60365 Feb 14 at 10:57
    
@user60365 - that would seem to indicate that it did not pick up on the single arg. What version of Debian is this? –  slm Feb 14 at 10:59
1  
Instead of single you could try this: init=/bin/sh. If it works it should just drop you to a prompt where you'll be able to edit the interfaces file. –  slm Feb 14 at 11:28

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.