ubuntu wireshark 没有接口

There are no interfaces on which a capture can be done

解决方法:

Open a terminal by pressing Ctrl+Alt+T and type the following commands:

sudo dpkg-reconfigure wireshark-common

press the right arrow and enter for yes

sudo chmod +x /usr/bin/dumpcap

you should now be able to run it without root and you will be able to capture.

然后  重启wireshark

 

参考:http://askubuntu.com/questions/348712/there-are-no-interfaces-on-which-a-capture-can-be-done

转载于:https://www.cnblogs.com/Jghost/p/3709204.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
回答: 在Ubuntu上安装Wireshark可以通过命令行或者软件中心进行安装。你可以使用以下命令在终端中安装Wireshark: ``` sudo apt-get install wireshark ``` 安装完成后,你可以在应用程序菜单中找到Wireshark并启动它。启动后,你会看到一个使用Qt开发的界面,顶端从上至下是标题栏、菜单栏、工具栏和过滤栏。你可以选择接口作为过滤器,左侧是所有接口名称,右侧是接口数据量大小。比如,如果你需要从以太网口和其他主机进行网络通信,你可以选择相应的接口,然后点击左上角鲨鱼鳍的图标开始抓包。\[2\] 在Wireshark中,你可以使用多个条件进行过滤。例如,如果你想获取源IP地址为192.168.1.10的UDP报文,你可以使用过滤器`ip.src == 192.168.1.10 and udp`。如果你想获取目的IP地址为192.168.1.10且端口为9900的UDP报文,你可以使用过滤器`ip.src == 192.168.1.10 and udp.port == 9900`。如果你想获取目的IP地址不是192.168.1.10且端口不是9900的UDP报文,你可以使用过滤器`ip.src != 192.168.1.10 and udp.port != 9900`。\[3\] #### 引用[.reference_title] - *1* *2* *3* [ubuntu下如何使用wireshark抓包,保姆级教程](https://blog.csdn.net/qq_42257666/article/details/129089264)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值