最近在 Dell 4300(Intel)上切换到 Ubuntu 11.10。获取 IP 地址并且没有问题(ping/surf),但 Wireshark 无法检测到 eth0 接口。我看到论坛中提到了将 Tulip 列入黑名单,但看起来我正在运行 dmfe。不确定是否需要黑名单以及下一步该怎么做。也许是驱动程序更新?在那个区域有点迷茫。
下面是一些硬件详细信息(已删除 IP/MAC/HOSTNAME)
Linux xxxxxx 3.0.0-17-generic #30-Ubuntu SMP 2012 年 3 月 8 日星期四 17:34:21 UTC i686 i686 i386 GNU/Linux
网络管理员(HOSTS TAB)未列出 eth0,仅列出环回和一堆 IPv6 接口
ifconfig
eth0 Link encap:Ethernet HWaddr xxxxxxxx
inet addr:192.168.x.xx Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: xxxxxxxxxxx 64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:36662 errors:0 dropped:1 overruns:0 frame:0
TX packets:24975 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42115779 (42.1 MB) TX bytes:3056435 (3.0 MB)
Interrupt:18 Base address:0xe800
lspci
02:09.0 Ethernet controller: Davicom Semiconductor, Inc. 21x4x DEC-Tulip compatible 10/100 Ethernet (rev 31)
Subsystem: Device 4554:434e
Flags: bus master, medium devsel, latency 64, IRQ 18
I/O ports at e800 [size=256]
Memory at fe1ffc00 (32-bit, non-prefetchable) [size=256]
Expansion ROM at fe200000 [disabled] [size=256K]
Capabilities: [50] Power Management version 2
Kernel driver in use: dmfe
Kernel modules: dmfe
hwinfo --netcard
20: PCI 209.0: 0200 Ethernet controller
[Created at pci.318]
Unique ID: rBUF.0NgK5ZS9c0D
Parent ID: 6NW+.siohrLUzzI4
SysFS ID: /devices/pci0000:00/0000:00:1e.0/0000:02:09.0
SysFS BusID: 0000:02:09.0
Hardware Class: network
Model: "Davicom 21x4x DEC-Tulip compatible 10/100 Ethernet"
Vendor: pci 0x1282 "Davicom Semiconductor, Inc."
Device: pci 0x9102 "21x4x DEC-Tulip compatible 10/100 Ethernet"
SubVendor: pci 0x4554
SubDevice: pci 0x434e
Revision: 0x31
Driver: "dmfe"
Driver Modules: "dmfe"
Device File: eth0
I/O Ports: 0xe800-0xe8ff (rw)
Memory Range: 0xfe1ffc00-0xfe1ffcff (rw,non-prefetchable)
Memory Range: 0xfe200000-0xfe23ffff (ro,non-prefetchable,disabled)
IRQ: 18 (61379 events)
HW Address: 00:08:a1:01:35:70
Link detected: yes
Module Alias: "pci:v00001282d00009102sv00004554sd0000434Ebc02sc00i00"
Driver Info #0:
Driver Status: dmfe is active
Driver Activation Cmd: "modprobe dmfe"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #11 (PCI bridge)
答案1
我找到了问题所在,PEBKAC,需要以 root 身份运行 Wireshark,或者按照这里所述操作:/usr/share/doc/wireshark-common/README.Debian