wireshark/The NPF driver isn’t running./Unable to load WinPcap (wpcap.dll)

很久没使用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,也可以正常操作了💨

祝好运!加油!

  • 6
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值