Chinaunix

标题: Fedora core 上网问题 [打印本页]

作者: beyond911    时间: 2007-03-01 21:20
标题: Fedora core 上网问题
我把fedora core  install好后,然后IP,DNS,Gateway都配置好,主机名我没有输入,然后重启计算机出现了以下提示:
初始化的时候在设备提示框有如下的提示:
“弹出界面“eth0,via-rhine设备eth0似乎不在。将要推迟它的初始化”

当进入到桌面有时候现下以下的提示:
“无法查到localhost的互联网地址,这将妨碍gnome正常操作,把localhost加到/etc/hosts文件也许能解决这个问题”


这个问题如何解决?谢谢!
以下是我的网络情况:
Ip:192.168.160.242,submask:255.255.240.0,gateway:192.168.160.1
Dns1:192.168.160.2,Dns2:192.168.100.88
Windows domain: beyond@cect.com.cn

[ 本帖最后由 beyond911 于 2007-3-2 08:52 编辑 ]
作者: zwylinux    时间: 2007-03-01 21:35
你看看/etc/hosts文件是不是下面这个形式的
127.0.0.1               hostname localhost.localdomain localhost
hostname为主机名
作者: beyond911    时间: 2007-03-02 08:53
原帖由 zwylinux 于 2007-3-1 21:35 发表于 2楼  
你看看/etc/hosts文件是不是下面这个形式的
127.0.0.1               hostname localhost.localdomain localhost
hostname为主机名

按您这样做 cat  hosts.里面什么东西都没有!
作者: mcumsigscr    时间: 2007-03-02 09:03
原帖由 beyond911 于 2007-3-2 08:53 发表于 3楼  

按您这样做 cat  hosts.里面什么东西都没有!


vi /etc/hosts 把相关内容添加一下.
作者: swordfish.cn    时间: 2007-03-02 11:35
echo "127.0.0.1 localhost" >> /etc/hosts
作者: beyond911    时间: 2007-03-04 22:19
原帖由 swordfish.cn 于 2007-3-2 11:35 发表于 5楼  
echo "127.0.0.1 localhost" >> /etc/hosts



您是说把
127.0.0.1               localhost.localdomain           localhost
192.168.160.242   beyond.localdomain             beyond
加上吗?
当我用cat  /etc/hosts的时个,就是显示上面的内容!
偶已经加上了,还是跟以前一样的提示!不能上网


btw:偶用cat /etc/resolv.conf显示是偶的DNS,显示如下:
1:192.168.160.2
2:192.168.100.88

[ 本帖最后由 beyond911 于 2007-3-5 09:26 编辑 ]
作者: beyond911    时间: 2007-03-05 17:16
原帖由 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-03-05 21:46
貌似你的dns没设置好
作者: beyond911    时间: 2007-03-06 08:43
原帖由 zwylinux 于 2007-3-5 21:46 发表于 8楼  
貌似你的dns没设置好




偶用cat /etc/resolv.conf显示是偶的DNS,显示如下:
1:192.168.160.2
2:192.168.100.88
这个dns是错的吗?
作者: beyond911    时间: 2007-03-06 08:50
cat  ifcfg-eth0显示如下
ipv6init=no
onboot=yes
userctl=no
peerdns=yes
gateway=192.168.160.1
type=ethernet
device=eth0
netmask=255.255.240.0
ipaddr=192.168.160.242
ip有错吗,好象也没有错哦
作者: beyond911    时间: 2007-03-06 08:53
man  interfaces结果如下:
cannot open the message catalog"man" for local "zh_cn utf-8"
(nlspath="<nome>"
no manual entry for interfaces
这个是不是要哪里要设置呢?
作者: beyond911    时间: 2007-03-06 09:06
ifconfig -a 结果如下
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:1882 errors:0  dropped:0  overruns:0 frame:0;
    tx packets:1882 errors:0  dropped:0  overruns:0 carrier:0
    collisinons:0   texqueuelen:0
    rx bytes:2068194(1.9mib) tx bytes:2068184(1.9mib)
Sito  link encap: ipv6-in-ipv4
      noarp  mtu:1480 metric:1
     rx packets:0   errors:0  dropped:0  overruns:0  frame:0
     tx packets:0   errors:0  dropped:0  overruns:0  carrier:0
     rx  bytes:0(0.0 b)   tx bytes:0 (0.0b)
很奇怪,又是这样的结果,与前面的结果是不是互相排斥呢
老大们,出来支招吧 谢谢

[ 本帖最后由 beyond911 于 2007-3-6 15:25 编辑 ]
作者: beyond911    时间: 2007-03-06 15:20
标题: 尝试解决方法
尝试解决方法
/etc/init.d/network  start显示如下
Bring up loopback interface;     [ok]
Bringing up interface eth0:Via-rhine device eth0 does not seem to be present,
delaying initialization;                  [falled]

lspci -v 网卡显示如下

00:12.0  ethernet controller: VIA Technologines,inc.VT6102[Rhine-II](rev 7;
Flags:bus master medium devsel latency32 IRQ10;
I/O ports at d800 [size=256]
Memory at febffc00(32-bit,non-prefetchable)     [size=256]
Capabilities:[40] power management version 2

Ls /lib/modules显示如下
2.6.11-1.1369-fc4(不知道什么原因,不能ls /lib/modules/2.6.11-1.1369-fc4/kernel/divers)

Lsmod,有关网卡部分显示如下,
Via-rhine    28361   0;

cat  /etc/modrobe.conf(显示网卡如下)

alas eth0 via-rhine;

modprobe  via-rhine(这个run后,又回来root user下,什么都没有显示)结果:没有任何进展
老大们,支招吧!


[ 本帖最后由 beyond911 于 2007-3-6 16:13 编辑 ]
作者: beyond911    时间: 2007-03-07 08:19
原帖由 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;        ...

这里不是高手入云吗?
这种小问题都没有人指正一下,
是偶太native?
再顶一下




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2