很久没使用wireshark后重新打开就出现警告:
The NPF driver isn’t running. You may have trouble capturing or
listing interfaces.
点击菜单栏caption
,准备启动的时候,又显示警告框,直接不给操作:
Unable to load WinPcap (wpcap.dll); Wireshark will not be able to capture
以下wireshark的官方网站的解决方案:
Q:
I used wireshark, Version 1.0.4 (SVN Rev 26501), in windows xp and it has
worked fine before, but recently it has problem whenever I clicked the "Show
the capture options … " tab.The attached is the screenshots to replicate the problem. The popup screen
with the message "Unable to load WinPcap (wpcap.dll); Wireshark will
not be able to capture packets … " shows the problem when click the
"Show the capture options … " tab.It will be much appreciated if anyone can help with this.
A:
Obviously something went wrong, but the question is What…
Did you check if wpcap.dll is still in the folder C:\WINDOWS\system32
If not, download WinPcap and install it again. //如果,在此目录没找到dll,重装If so, maybe the file is corrupt. //如果找到,也可能这个文件损坏了
Go to Settings -> Control Panel -> Add or Remove Programs to uninstall WinPcap. //去控制面板卸载掉,用下面连接下载,重新安装
Next download WinPcap and install it again.You can download WinPcap 4.0.2 or WinPcap 4.1 beta4 here:
http://www.winpcap.org/install/default.htm
Both versions work fine.
也就是说:
找一下目录C:\WINDOWS\system32
下是否有wpcap.dll
如果在此目录没找到dll,重装;
如果找到,可能这个文件损坏了,到控制面板卸载掉,用下面连接下载,重新安装
http://www.winpcap.org/install/default.htm
发现首页显示:“WinPcap已停止开发。我们建议Npcap。”
因此,我们直接到npcap
下(下图展示的是win10的)下载就可以了:https://nmap.org/npcap/#download
顺便贴一下npcap的首页,详细信心可以适当浏览一下https://nmap.org/npcap/
下载完成后,得到一个exe可执行文件:
双击执行安装:
当显示选择是否uninstall之前的winpcap时,复选框要记得勾选上,在最后一个选项。
然后就是确认卸载winpcap,点击确认就好了。
到这里就结束了🍗
重新运行wireshark,也可以正常操作了💨
祝好运!加油!