|
lspci -v 列出了相关设备,其中偶的网卡如下:
00:0d.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 7
Subsystem: Unknown device 17f2:4c00
Flags: bus master, medium devsel, latency 32, IRQ 11
I/O ports at b400 [size=128]
Memory at e7102000 (32-bit, non-prefetchable) [size=128]
Capabilities: [dc] Power Management version 2
00:0c.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. RT8139
Flags: bus master, medium devsel, latency 32, IRQ 10
I/O ports at b000 [size=256]
Memory at e7100000 (32-bit, non-prefetchable) [size=256]
Capabilities: [50] Power Management version 2
但是用ifconfig的结果是:
[root@MagicLinux ~]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:E0:4C:3B:A0:DD
inet addr:192.168.18.102 Bcast:192.168.18.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1240 (1.2 Kb) TX bytes:3394 (3.3 Kb)
Interrupt:10 Base address:0x4000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)
eth0不起作用, why?? |
|