zoukankan      html  css  js  c++  java
  • ubuntuwireshark打开出现错误的问题

    The capture session could not be initiated on interface 'enp2s0' (You don't have permission to capture on that device).
    
    Please check to make sure you have sufficient permissions.
    
    On Debian and Debian derivatives such as Ubuntu, if you have installed Wireshark from a package, try running
    
        sudo dpkg-reconfigure wireshark-common
    
    selecting "<Yes>" in response to the question
    
        Should non-superusers be able to capture packets?
    
    adding yourself to the "wireshark" group by running
    
        sudo usermod -a -G wireshark {your username}
    
    and then logging out and logging back in again.

    解决办法:

    suguihua@suguihua-OptiPlex-3080:~/下载$ sudo groupadd wireshark
    [sudo] suguihua 的密码: 
    suguihua@suguihua-OptiPlex-3080:~/下载$ sudo chgrp wireshark /usr/bin/dumpcap
    suguihua@suguihua-OptiPlex-3080:~/下载$ sudo chmod 4755 /usr/bin/dumpcap
    suguihua@suguihua-OptiPlex-3080:~/下载$ sudo gpasswd -a suguihua  wireshark
    正在将用户“suguihua”加入到“wireshark”组中

    之后就可以愉快的抓包了

  • 相关阅读:
    Codewars Solution:Two to One
    Codewars Solution:Get the Middle Character
    golang jwt+token验证
    C#基础知识点梳理二
    C#基础知识点梳理一
    逻辑值
    step-1
    视频第5讲-ID转换
    通过向量访问矩阵
    跟着jmzeng学习GEO数据分析-GEO42872_1--题外
  • 原文地址:https://www.cnblogs.com/sugh/p/15702509.html
Copyright © 2011-2022 走看看