首页 > 技术文章 > wireshark:no interface can be used for capturing in this system with the current configuration

zombiecc 2013-11-07 11:08 原文

通过./wireshark启动会出现no interface can be used for capturing in this system with the current configuration错误!!!

 

原因:是当前用户的权限问题

 

解决方法:

1.可以通过执行下面的命令来服务于/usr/bin/dumpcap权限

sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap

2.可以通过sudo ./wireshark启动wireshark

推荐阅读