原帖由 zwylinux 于 2007-3-1 21:35 发表于 2楼
你看看/etc/hosts文件是不是下面这个形式的
127.0.0.1 hostname localhost.localdomain localhost
hostname为主机名
原帖由 beyond911 于 2007-3-2 08:53 发表于 3楼
按您这样做 cat hosts.里面什么东西都没有!![]()
原帖由 swordfish.cn 于 2007-3-2 11:35 发表于 5楼
echo "127.0.0.1 localhost" >> /etc/hosts
原帖由 beyond911 于 2007-3-4 22:19 发表于 6楼
您是说把
127.0.0.1 localhost.localdomain localhost
192.168.160.242 beyond.localdomain beyond
加上吗?
当我用cat /etc/hosts的时个,就是显示上面的内 ...
原帖由 zwylinux 于 2007-3-5 21:46 发表于 8楼
貌似你的dns没设置好
原帖由 beyond911 于 2007-3-6 15:20 发表于 13楼
尝试解决方法
/etc/init.d/network start显示如下
Bring up loopback interface;
Bringing up interface eth0:Via-rhine device eth0 does not seem to be present,
delaying initialization; ...
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |