歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> redhat7.2安裝雙網卡

redhat7.2安裝雙網卡

日期:2017/2/27 9:22:21   编辑:更多Linux
  最近雙重安裝了一下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



right">



Copyright © Linux教程網 All Rights Reserved