0

This question already has an answer here:

I attempted to give my RPi a static IP address by altering /etc/network/interfaces file. Now the command, ifconfig, shows no lo when called. What did I do wrong?

I tried reverting the line iface eth0 inet static back to iface eth0 inet dhcp, but still am still having the same problem.

marked as duplicate by Milliways, Ghanima, Jacobm001, mpromonet, goldilocks Nov 14 '15 at 13:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1

For the loopback device you need the following lines in /etc/network/interfaces.

# The loopback network interface
auto lo
iface lo inet loopback

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