Chinaunix

标题: FC5安装后的网络问题 [打印本页]

作者: 无情浪人    时间: 2006-07-10 00:48
标题: FC5安装后的网络问题
192.168.3.1    我的网关
192.168.3.53   我的ip
192.168.3.45   我朋友的ip
202.103.24.68  我的dns
我的网卡是主板集成的nVidia的网卡,在winxp上一切都正常,但是在fc5下却没有显示任何的异常,我用service network restart也是显示4个OK。
但是在fc5下无法访问局域网了,(Internet更不用提了),我的测试如下:
[root@chenghao ~]# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.3.0     *               255.255.255.0   U     0      0        0 eth0
169.254.0.0     *               255.255.0.0     U     0      0        0 eth0
default         192.168.3.1     0.0.0.0         UG    0      0        0 eth0


[root@chenghao ~]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:EF:6A:3A
          inet addr:192.168.3.53  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::2e0:4cff:feef:6a3a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:460 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:426 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:97961 (95.6 KiB)  TX bytes:0 (0.0 b)
          Interrupt:17 Base address:0x4000

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:162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:14296 (13.9 KiB)  TX bytes:14296 (13.9 KiB)



[root@chenghao ~]# ping 192.168.3.53
PING 192.168.3.53 (192.168.3.53) 56(84) bytes of data.
64 bytes from 192.168.3.53: icmp_seq=1 ttl=64 time=0.039 ms
64 bytes from 192.168.3.53: icmp_seq=2 ttl=64 time=0.031 ms
64 bytes from 192.168.3.53: icmp_seq=3 ttl=64 time=0.034 ms

--- 192.168.3.53 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1999ms
rtt min/avg/max/mdev = 0.031/0.034/0.039/0.007 ms



[root@chenghao ~]# ping 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 56(84) bytes of data.
From 192.168.3.53 icmp_seq=2 Destination Host Unreachable
From 192.168.3.53 icmp_seq=3 Destination Host Unreachable
From 192.168.3.53 icmp_seq=4 Destination Host Unreachable

--- 192.168.3.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5001ms
, pipe 3


[root@chenghao ~]# ping 192.168.3.45
PING 192.168.3.45 (192.168.3.45) 56(84) bytes of data.
From 192.168.3.53 icmp_seq=2 Destination Host Unreachable
From 192.168.3.53 icmp_seq=3 Destination Host Unreachable
From 192.168.3.53 icmp_seq=4 Destination Host Unreachable

--- 192.168.3.45 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3000ms
, pipe 3


[root@chenghao ~]# ping 202.103.24.68
PING 202.103.24.68 (202.103.24.6 56(84) bytes of data.
From 192.168.3.53 icmp_seq=2 Destination Host Unreachable
From 192.168.3.53 icmp_seq=3 Destination Host Unreachable
From 192.168.3.53 icmp_seq=4 Destination Host Unreachable

--- 202.103.24.68 ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3999ms
, pipe 3

后来我干脆将我的ip更改和我朋友一样的,居然也没有提示有地址重复,实在是奇怪,我没有办法了,特向各位请教
作者: lbt5210    时间: 2006-07-10 02:10
PING网关
作者: chenyx    时间: 2006-07-10 09:00
到网关不通,检查一下线路问题,看一下网卡状态等等,你的现象象是二层故障.
作者: 无情浪人    时间: 2006-07-10 16:54
1)我的网关是192.168.3.1,我ping了,不通.
2)网卡啊什么的应该是正常的,我直接重启进入windowsxp,就可以上网啊什么的了
3)最奇怪的是我在fc5中,我将我的ip改成和局域网上其它的机器一样的,linux也没有任何的错误提示
作者: chenyx    时间: 2006-07-11 09:25
这种情况很有可能是驱动的问题.
我曾经用过ASUS的主板,其板载网卡被XP认为是8139的,但是没法连上网络.用其自带的驱动问题就解决了,你去nVidia看一下有没有Linux下的驱动.
作者: 无情浪人    时间: 2006-07-12 23:18
我用的是nForce的什么网卡,主板集成的,我在nvidia的网站上下了驱动,编译也通过了,得到了nvnet.ko这个模块,但是我用modprobe nvnet和insmod nvnet.ko不行,老是说module format 错误,是什么原因啊?
作者: 无情浪人    时间: 2006-07-13 00:30
1)我在nvidia的网站上下到驱动了,执行了./NFORCE-Linux-x86_64-1.0-0310-pkg1.run -e -k `uname -r`
2)运行很多提示,我一路回车,最后提示成功了
3)修改了/etc/modprobe.conf,添加:
alias eth0 nvnet
4)然后重启,网络仍然有问题
5)此时我执行了如下:
[root@chenghao ~]#modprobe nvnet
FATAL: Error inserting nvnet (/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/net/nvnet.ko): Invalid module format
请问,问题出现在哪里啊?




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