void

Ubuntu ping不了Localhost, 解决办法

nmap localhost

I thought I'd reported doing all of those things in this bug already, but
perhaps I haven't made it clear. I am writing this in real time, i.e. as I do it.

1. Reboot, fine

2. ifconfig lo shows

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2696 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2696 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:135276 (132.1 KiB) TX bytes:135276 (132.1 KiB)

3. ping localhost, 127.0.0.1, kallisto all work fine.

4. network-admin, deactivating wlan0 and reactivating it.

5. Problem is repeated: Many programs take around 5 minutes to load. However,
the programs that were ALREADY open before reproducing the problem are running
fine, hence firefox (this window), evolution and gnome-terminal are working ok.

6. ifconfig lo now reads:lo Link encap:Local Loopback
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:2703 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2703 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:137016 (133.8 KiB) TX bytes:137016 (133.8 KiB)
7. Pinging myself gives:

matt@kallisto:~$ ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.

--- localhost.localdomain ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11001ms

8. Resolution:
$ sudo ifdown lo
$ sudo ifup lo

matt@kallisto:~$ ping localhost
PING localhost.localdomain (127.0.0.1) 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.065 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.069 ms

It seems relatively clear that network-admin is messing up my lo device and
gnome can't find my hostname right? Hope this helps.

yours, Matt

posted on 2008-08-18 11:59 void 阅读(1637) 评论(0)  编辑  收藏 所属分类: Ubuntu


只有注册用户登录后才能发表评论。


网站导航: