|
我要狂喷两句,刚刚写了很多,结果帖子预览后没有了,崩溃,现在就三言两语。
我的机器被整来没有lo,结果KDE4上的软件打开超级慢,dolphin要一分钟,实在忍无可忍。
sudo ifconfig没有lo,只有eth0,ping localhost不可达。
1.sudo vi /etc/network/interfaces加入
auto lo
iface lo inet loopback
2.sudo ifup lo && sudo ifdown lo && sudo ifup lo && ping localhost成功。
3.cat /etc/hosts
127.0.0.1 localhost
等等。
sudo ifconfig
[sudo] password for yanglinxin:
eth0 Link encap:Ethernet HWaddr 00:40:d0:b4:88:b1
inet addr:192.168.0.3 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::240:d0ff:feb4:88b1/64 Scope ink
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:228691 errors:0 dropped:0 overruns:0 frame:0
TX packets:240292 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:181739840 (173.3 MiB) TX bytes:86380233 (82.3 MiB)
Interrupt:27 Base address:0xe000
lo Link encap ocal 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:238 errors:0 dropped:0 overruns:0 frame:0
TX packets:238 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:17264 (16.8 KiB) TX bytes:17264 (16.8 KiB)
4.点击打开dolphin,kate,kwrite等等,真是"的便,飞一般的感觉!"
完了! |
|