【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法

出现原因:权限不够,所以不能够读取网卡。

解决方法:

第一种:最简单的方法当然是直接su root,

如果出现No protocol specified

(wireshark:12547): Gtk-WARNING **: cannot open display: :0.0

重启一下即可。

第二种:但是直接使用root权限补包毕竟是不安全的,所以可以使用set uid方法

$su root
#输入密码
$chmod 4755 /usr/local/bin/dumpcap
$su 普通用户
$wireshark

【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法

这里要注意你的dumpcap目录可能和我的不一样,使用whereis查看即可

【wireshark】wireshark 出现There are no interfaces on which a capture can be done.的解决方法

相关文章:

  • 2021-10-16
  • 2021-12-06
  • 2021-05-18
  • 2021-06-25
猜你喜欢
  • 2021-09-19
  • 2021-12-06
  • 2022-01-07
  • 2021-10-13
  • 2021-07-14
  • 2021-11-02
相关资源
相似解决方案