Thanks, it's a good point , actually i searched for 0.0.0.0 and found that it read all ipv4 and ipv6 could you guide me how to fix it . here my /etc/hosts #127.0.0.1 localhost 192.168.x.x computername #127.0.1.1 localhost # The following lines are desirable for IPv6 capable hosts #::1 ip6-localhost ip6-loopback #fe00::0 ip6-localnet #ff00::0 ip6-mcastprefix #ff02::1 ip6-allnodes #ff02::2 ip6-allrouters and when i used ifconfig eth0 Link encap:Ethernet HWaddr 68:f7:28:a0:1b:b0 UP BROADCAST MULTICAST MTU:1500 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:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1899 errors:0 dropped:0 overruns:0 frame:0 TX packets:1899 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:193309 (193.3 KB) TX bytes:193309 (193.3 KB) wlan0 Link encap:Ethernet HWaddr d0:53:49:ce:c5:2d inet addr:192.168.x.x Bcast:192.168.1.255 Mask:255.255.255.0 inet6 addr: fd58:2af7:1428:7200:d253:49ff:fece:c52d/64 Scope:Global inet6 addr: fe80::d253:49ff:fece:c52d/64 Scope:Link inet6 addr: fd58:2af7:1428:7200:d554:6712:d36f:95fa/64 Scope:Global UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:11503 errors:0 dropped:0 overruns:0 frame:0 TX packets:11831 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:8105372 (8.1 MB) TX bytes:2425942 (2.4 MB)