最近双重安装了一下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收藏 http://www.qqread.com/linux/2006/11/k270025.html
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- Windows操作系统安装 (15501篇文章)
- 双网卡专栏 (926篇文章)
- 系统安装手册 (20723篇文章)
- 数据库安装与卸载 (10507篇文章)
- Linux与Windows Vista的桌面之争 (83次浏览)
- 对比评测Vista XP Linux启动时间 (59次浏览)
- Linux 基本概念及常用命令 (57次浏览)
- Linux系统如何判断CPU是双核还是单核 (53次浏览)
- VMware下Linux与真实主机共享上网 (31次浏览)
- Linux系统下如何更改终端显示分辨率 (30次浏览)
- 实用技巧:配置Linux操作系统环境变量 (30次浏览)
- Fedora 8 Linux下安装配置audacious过程 (27次浏览)
- Linux系统下设置环境变量Path的方法 (25次浏览)
- 最流行的发行版:Ubuntu 8.04 Alpha 2发布 (24次浏览)



