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

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).

时间: 2024-10-18 00:16:16

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

Mac OS X上使用Wireshark抓包

Wireshark针对UNIX Like系统的GUI发行版界面采用的是X Window(1987年更改X版本到X11).Mac OS X在Mountain Lion之后放弃X11,取而代之的是开源的XQuartz(X11.app).因此,在Mac OS X上安装Wireshark之前,需要先下载安装XQuartz. 1.安装XQuartz XQuartz(XQuartz-2.7.6.dmg)安装完成后,按照提示需要注销重新登录,以使XQuartz作为默认的X11 Server. 安装成功后,在终

Wireshark设置interface 时提示“There are no interfaces on which a capture can be done ”

Wireshark设置interface 时提示“There are no interfaces on which a capture can be done ” 解决方法: 今天在电脑上安装了WIRESHARK软件,在设置interface 时提示"There are no interfaces on which a capture can be done"  提示没有任何一个网络接口准备好.此提示明显是不对的, 我的网卡明明可以正常上网,网络接口怎么会没有准备好呢?  想着应该是和

WIN7 Wireshark: There are no interfaces on which a capture can be done

有的时候我们在Windows7的环境下使用Wireshark的时候,比如点击[Interface List]的时候,出现错误. 错误内容如下: There are no interfaces on which a capture can be done. 这个错误是因为系统没有启动NPF服务造成的. 解决的办法很简单: 01.在[开始]–>[运行] 02.输入:cmd 03.点击右键,选择[以管理员身份运行] 04.选择[是],输入[net start npf] 05.系统提示[NetGroup

How To Fix – Mcrypt PHP extension required in Laravel on Mac OS X (No MAMP)

Laravel PHP web framework requires certain libraries to function properly. One of these libraries is the mcrypt and the php-mcrypt (bridge between mcrypt and php). However, there is a good chance that you will run into issues while running Laravel if

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

There are no interfaces on which a capture can be done. 今天启动了Wireshark 但是提示→There are no interfaces on which a capture can be done. 右击→以管理员身份运行 Ok

Mac OS安装octave出现的问题-'error:terminal type set to 'unknown'的解决'

学习Machine learning需要使用Octave语言,毕竟吴恩承力荐.本机系统Mac OS X EI Capitan, 其实什么系统都无所谓了,安装原理都是一样的. 在不断才坑中,理清楚了各个软件之间的关系: Octave是一个类似于MATLAB一样强大的语言,相比来说,它是开源的,FREE! Octave中使用了GNUplot来绘制图像,所以需要在电脑上安装gnuplot才能使用它的图像绘制的功能.PS: 我首先在coursera上安装课程资源里面给的链接,安装了Octave,后来发现

Mac OS X 10.10 编译代码出错 fatal error: '__debug' file not found #include <__debug>

1. 错误描述 在mac系统升级到yosemite,或者Xcode版本升级后,在编译c++程序的时候无法通过,错误类型如下: 2. 解决方案 创建一个临时文件"__debug",可以解决这个问题.在命令行中执行以下代码: $ echo '#define _LIBCPP_ASSERT(x, m) ((void)0)' | sudo tee -a /Library/Developer/CommandLineTools/usr/include/c++/v1/__debug > /dev

[Mac]Mac OS X中WireShark的使用,及找不到网卡问题的解决方法

1.WireShark依赖X11: 2.默认情况下Mac OS X是不安装X11的: 因此,在Mac上安装WireShark,首先找出Mac OS 安装DVD安装X11. 安装完以后 echo $DISPLAY看看是不是出现如下结果 :0.0 如果没有,请执行如下命令行: DISPLAY=:0.0; export DISPLAY 另外,由于Mac OS的bug问题,每次重启系统以后,都要运行这两个命令是WireShark寻找到网卡:   sudo chgrp admin /dev/bpf*   

Fix to "Error Value: Error: rpmdb open failed"

"An internal system error has occured A problem that we were not expecting has occured.Please report this bug in your distribution bugtracker withthe error description"Under more details it says: Error Type: <class 'yum.Errors.YumBaseError'&g