Ubuntu12.04 Wireshark: no interface can be used for capturing

Source: Internet
Author: User

Http://www.dickson.me.uk/2012/09/17/installing-wireshark-on-ubuntu-12-04-lts/

Reference http://www.dickson.me.uk/2012/09/17/installing-wireshark-on-ubuntu-12-04-lts/

"No interface can be used for capturing in this system with the current configuration .".

The following steps will rectify this.

Sudo usermod-a-g Wireshark zhangbin

Sudo chgrp Wireshark/usr/bin/dumpcap
Sudo chmod 777/usr/bin/dumpcap
Sudo setcap cap_net_raw, cap_net_admin = EIP/usr/bin/dumpcap
Sudo getcap/usr/bin/dumpcap

To change to 777, the previous value is 750. Otherwise, you will not have the permission:

========================================================== ================

Zhangbin @ ubuntu32 :~ $ Sudo Su
[Sudo] password for zhangbin:
Root @ ubuntu32:/home/zhangbin # sudo apt-Get install Wireshark
Reading package lists... Done
Building dependency tree
Reading state information... Done
Wireshark is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Root @ ubuntu32:/home/zhangbin # sudo groupadd Wireshark
Root @ ubuntu32:/home/zhangbin # sudo usermod-a-g Wireshark zhangbin
Root @ ubuntu32:/home/zhangbin # sudo chgrp Wireshark/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo chmod 750/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo setcap cap_net_raw, cap_net_admin = EIP/usr/bin/dumpcap
Root @ ubuntu32:/home/zhangbin # sudo getcap/usr/bin/dumpcap
/Usr/bin/dumpcap = cap_net_admin, cap_net_raw + EIP

Root @ ubuntu32:/home/zhangbin #

Root @ ubuntu32:/home/zhangbin # sudo chmod 777/usr/bin/dumpcap

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.