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

来源: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:

wireshark抓包的权限问题(转载)_第1张图片

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:

wireshark抓包的权限问题(转载)_第2张图片

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抓包的权限问题(转载)_第3张图片

你可能感兴趣的:(wireshark抓包的权限问题(转载))