linux - missing 127.0.0.1 (loopback address) -


ubuntu linux, 14.04 (digitalocean)

$ ifconfig -a eth0      link encap:ethernet  hwaddr 04:01:1f:4c:xx:xx             inet addr:128.199.xxx.xxx  bcast:128.199.xxx.255  mask:255.255.192.0           inet6 addr: fe80::601:1fff:xxxx:xxx/64 scope:link           broadcast running multicast  mtu:1500  metric:1           rx packets:1565 errors:0 dropped:0 overruns:0 frame:0           tx packets:1603 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            rx bytes:228014 (228.0 kb)  tx bytes:260483 (260.4 kb)  lo        link encap:local loopback             loopback  mtu:65536  metric:1           rx packets:0 errors:0 dropped:0 overruns:0 frame:0           tx packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            rx bytes:0 (0.0 b)  tx bytes:0 (0.0 b) 

i cannot find 127.0.0.1 in loopback.

can recover 127.0.0.1?

$ ping 127.0.0.1 ping 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 

it's no response long time.

$ cat /etc/network/interfaces # file describes network interfaces available on # system , how activate them. more information, see # interfaces(5).  # loopback network interface auto lo iface lo inet loopback  # primary network interface auto eth0 iface eth0 inet static         address 128.199.xxx.xxx         netmask 255.255.xxx.0         gateway 128.199.xxx.1         dns-nameservers 8.8.4.4 8.8.8.8 209.244.0.3 

/etc/network/interfaces. it's default.

thanks, solved.

sudo apt-get update sudo dpkg --configure -a sudo apt-get upgrade sudo apt-get dist-upgrade sudo reboot  $ ping 127.0.0.1 ping 127.0.0.1 (127.0.0.1) 56(84) bytes of data. 64 bytes 127.0.0.1: icmp_seq=1 ttl=64 time=0.031 ms 

Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -