美文网首页
wireshark抓包的权限问题(转载)

wireshark抓包的权限问题(转载)

作者: ylgwhyh | 来源:发表于2017-05-04 10:14 被阅读126次

来源:http://stackoverflow.com/questions/41126943/wireshark-you-dont-have-permission-to-capture-on-that-device-mac

wireshark抓包的权限问题.

According to User:gmale's answer on ask.wireshark.org, he solved his problem in this way and I'm sure that it could solve yours as well. It says:

1-Open Terminal

To see your exactuser name(for me that wasAliGht)

2-Type 'whoami'

3-execute the following commands:

cd /dev

sudo chown AliGht:admin bp*

and enter yourcomputer password:

4-now type this command:

ls -la | grep bp

The last command will display a list of files such as:

5- Make sure all of them have youruser nameandadminas the user/group. For some reason, thelast one didn't get assigned properly so I had to run the command:

sudo chown AliGht:admin bpf4

so the last command fixed my problem as you see in the last image:

Done!

If your WireShark is open then close it and open it again.

All credits of this tutorial goes to usergmale on ask.wireshark.org,

如果没在实际结果跟图不一样,就全部给最高权限就是了

相关文章

网友评论

      本文标题:wireshark抓包的权限问题(转载)

      本文链接:https://www.haomeiwen.com/subject/szsrtxtx.html