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.


1 Answer 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.