网络配置 - isa网卡配置
				
				
					
					isa网卡配置
2004-04-23 15:18 pm来自:Linux文档
现载:Www.8s8s.coM
地址:无名
http://www.chinaunix.net 作者:hsyll  发表于:2003-09-16 08:40:04
一台PII的机器装了四块PCI网卡eth0---eth3,后来又装了一块ISA的网卡(PCI槽不够了),结果发现用自动配置看起来正常,但是它不能工作,下面是用ifconfig看到的eth4的信息:
     eth4      Link encap:Ethernet  HWaddr 00:00:B4:B4:24:BA  
          inet addr:10.66.248.7  Bcast:10.66.248.255   Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:384 overruns:0 frame:0
          TX packets:0 errors:14 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:0 (0.0 b)  TX bytes:1680 (1.6 Kb)
          Interrupt:12 Base address:0x240 
不知怎么回事,怎么也ping不通?换块别的网卡就没问题,ping自身也没问题。
下面是启动信息里关于网卡的启动信息:
# dmesg |grep eth
divert: allocating divert_blk for eth0
eth0: RealTek RTL8139 Fast Ethernet at 0xc687e000, 00:e0:44:39:04:7e, IRQ 11
eth0:  Identified 8139 chip type 'RTL-8139C'
divert: allocating divert_blk for eth1
eth1: RealTek RTL8139 Fast Ethernet at 0xc6888000, 00:e0:4c:10:64:ff, IRQ 10
eth1:  Identified 8139 chip type 'RTL-8139C'
divert: allocating divert_blk for eth2
eth2: RealTek RTL8139 Fast Ethernet at 0xc688a000, 00:e0:4c:80:50:25, IRQ 9
eth2:  Identified 8139 chip type 'RTL-8139C'
divert: allocating divert_blk for eth3
eth3: RealTek RTL8139 Fast Ethernet at 0xc688c000, 00:00:b4:00:33:66, IRQ 5
eth3:  Identified 8139 chip type 'RTL-8139B'
eth0: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
eth1: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
eth2: Setting 100mbps full-duplex based on auto-negotiated partner ability 41e1.
eth3: Setting 100mbps full-duplex based on auto-negotiated partner ability 45e1.
divert: not allocating divert_blk for non-ethernet device eth4
NE*000 ethercard probe at 0x240: 00 00 b4 b4 24 ba
eth4: NE2000 found at 0x240, using IRQ 12.
divert: not allocating divert_blk for non-ethernet device eth5
divert: no divert_blk to free, eth5 not ethernet
NETDEV WATCHDOG: eth4: transmit timed out
eth4: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=119.
NETDEV WATCHDOG: eth4: transmit timed out
eth4: Tx timed out, lost interrupt? TSR=0x3, ISR=0x3, t=216.救命呀,我该怎么办?
【发表回复】【查看CU论坛原帖】【关闭】
 hsyll 回复于:2003-09-16 10:23:56
搞定,给大家参考一下:先把isa网卡设成非pnp模式,把中断设成3(看看你的中断号,哪是空的)io设成0x300,插上网卡,然后启linux:
1、修改/etc/modules.conf文件:
alias eth0 8139too
alias eth1 8139too
alias eth2 8139too
alias usb-controller usb-uhci
alias eth4 ne
options eth4 io=0x300 irq=3
2、运行modprobe eth4测试一下。
如果没错误,那么祝贺你!
然后设好IP,运行/etc/rc.d/init.d/network restart
用ipconfig 看看是不是已经起作用了?保险点,ping一下
 hsyll 回复于:2003-09-16 10:24:27
搞定,给大家参考一下:先把isa网卡设成非pnp模式,把中断设成3(看看你的中断号,哪是空的)io设成0x300,插上网卡,然后启linux:
1、修改/etc/modules.conf文件:
alias eth0 8139too
alias eth1 8139too
alias eth2 8139too
alias usb-controller usb-uhci
alias eth4 ne
options eth4 io=0x300 irq=3
2、运行modprobe eth4测试一下。
如果没错误,那么祝贺你!
然后设好IP,运行/etc/rc.d/init.d/network restart
用ipconfig 看看是不是已经起作用了?保险点,ping一下
 hsyll 回复于:2003-09-16 10:24:43
搞定,给大家参考一下:先把isa网卡设成非pnp模式,把中断设成3(看看你的中断号,哪是空的)io设成0x300,插上网卡,然后启linux:
1、修改/etc/modules.conf文件:
alias eth0 8139too
alias eth1 8139too
alias eth2 8139too
alias usb-controller usb-uhci
alias eth4 ne
options eth4 io=0x300 irq=3
2、运行modprobe eth4测试一下。
如果没错误,那么祝贺你!
然后设好IP,运行/etc/rc.d/init.d/network restart
用ipconfig 看看是不是已经起作用了?保险点,ping一下
 hermit 回复于:2003-09-16 11:33:40
5块网卡的pII..................^_^..........
 hsyll 回复于:2003-09-17 10:54:59
我们这里三个子网,两个因特网出口,只好用五块网卡了。不过这里所有的人通过它上网,还不错的。
Copyright ? ChinaUnix.net
 *  请尊重我们的劳动,转载请注明出自ChinaUnix.net及作者名  *