栏目列表
 
 
首页 > 操作系统 > Linux > redhat7.2安装双网卡
 

redhat7.2安装双网卡

日期:2006-06-12 00:13:05  来源:网络转载
请您记住思索网的网址: http://www.4so.net  [加入收藏夹]

    
最近双重安装了一下redhat7.2在第二块网卡遇到了问题
pIII800 384M 40G win2000 server redhat 7.2(2.4.7-10)
我有两块pci网卡:eth0 RTL8139 eth1 RTL8029(as)

辨别eth0与eth1的最简单方法,谁靠近电源谁是eth0另一块就是eth1

kde Control Panel-netwrok Configuration看到网卡
Description       type     Device
RTL8139          Ethernet  eth0
PCI NE2000       Ethernet  eth1
填了一些参数之后,不能ping不能,就把这两设备给删掉了!还是使用命令来配置吧!


第一块配置十分顺利
#insmod /lib/modules/2.4.7-10/kernel/drivers/net/8139too.o
#ifconfig eth0 xxx.xxx.xxx.xxx netmask 255.255.248.0 up
#ping xxx.xxx.xxx.xxx    /ping一下网关通了没问题了
第二块看了一下资料和ne2k兼容可使用ne.o  or ne2k-pci.o
#cd /lib/modules/2.4.7-10/kernel/drivers/net/
[net]#ls ne2k-pci.o
ne2k-pci.o
#insmod ne2k-pci.o
ne2k-pci.o:unresolved symbol ethdev_init_R6f4799dc
ne2k-pci.o:unresolved symbol ei_inierrupt_Rb93d8fa5
ne2k-pci.o:unresolved symbol NS8390_init_Rfdf726b4
ne2k-pci.o:unresolved symbol ei_open_R9b2772b7
ne2k-pci.o:unresolved symbol ei_colse_$52626469
出这么多的提示,这不对啊,赶紧看一端口
#ifconfig
eth0 sssssssss
    xxxxxxxxxx
    ssssssssss
    xsssssssss
    ssssssssss
lo   ddddddddddddd
    dddddddddddd
    ddddddddddd
     ...........
根本就没有eth1,再使用
#ifconfig eth1
eth1:error fetching interface information:Device not found
不对啊好端端的怎么就会没了那,再试
#cat /proc/ioports
....
dc00-dcff:Realtek Semiconductor Co.,Ltd.RTL-8139
e000-e01f:Realtek Semiconductor Co.,Ltd.RTL-8029
#cat /proc/pci
...
Bus 0,device  9, ruction 0:
   Ethernet conrtoller:Realtek Semiconductor Co.,Ltd.RTL-8139(rev 16).
       IRQ 5.
   Master Capable. Latency=64.  Min Gnt=32.Max Lat=64.
   I/O at 0xdc00 [0xdcff].
   Non-prefetchable 32 bit memory at 0xe2000000 [0xe20000ff].
Bus 0,device  10, ruction 0:
   Ethernet conrtoller:Realtek Semiconductor Co.,Ltd.RTL-8029(as)(rev 0).
       IRQ 9.
       I/O at 0xe000[0xe01f].
这不是都找到了吗??再看看
K-preference-information-PCI
      RTL8139 IRQ5 i/O dc00 MEM e2000000
      RTL8029 IRQ9 i/O e000
没办法修改modules.conf文件吧,因为是pci卡所以简单一些

先把network Configuration里的设备加上吧
有了网卡的一些参数IRQ  MEM eth0 8139很容易就上了,但是eth1里的8029老是提示我
参数不对,请重新开始

#vi /etc/modules.conf
.....里面果然有eth0的一些配置在里面
/加入如下
alias eth1 ne2k-pci
options ne2k-pci io=e000 irq=9
重启还是不行。



再使用kde Control Panel-netwrok Configuration终于看到修改文件的成果
Description       type     Device
RTL8139          Ethernet  eth0
PCI NE2000       Ethernet  eth1
 
 
热门信息
 
相关文章