码迷,mamicode.com
首页 > 系统相关 > 详细

【转】[fix] Wireshark error: There are no interfaces on which a capture can be done. on Mac OS X

时间:2015-07-15 10:40:17      阅读:270      评论:0      收藏:0      [点我收藏+]

标签:

I got the following error message when trying to open a network interface for capture using Wireshark on Mac OS X (Wireshark 1.5.1 Intel 64 beta and 1.4.6 Intel 64 show this behaviour):

There are no interfaces on which a capture can be done.

To solve the problem open a Terminal and enter

sudo chown $USER:admin /dev/bp*

This command fixes the ownership of your Berkeley packet filter devices /dev/bpf0 etc. which makes them readable and writable.

 

If you are using Linux instead of Mac OS X

When using a Linux distribution (such as Ubuntu, Debian, Fedora, Arch etc.) you can usually solve this problem by running Wireshark as root user (using sudo wireshark). Alternatively set the permissions of your network interfaces to allow access by regular users).

【转】[fix] Wireshark error: There are no interfaces on which a capture can be done. on Mac OS X

标签:

原文地址:http://www.cnblogs.com/vsignsoft/p/4647482.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!