[Mac] How to Use Wireshark in Mac OS X and how to solve the NIC Problem

Source: Internet
Author: User

1. Wireshark depends on X11;


2. Mac OS X is not installed with X11 by default;


Therefore, to install Wireshark on Mac, first find out how to install X11 on the Mac OS installation DVD.


After installation, Echo $ display to see if the following results are displayed.


0.0


If not, execute the following command line:


Display =: 0.0; export display


In addition, due to Mac OS bug, each time after the system is restarted, you need to run these two commands to find the network adapter by Wireshark:


Sudo chgrp admin/dev/BPF *


Sudo chmod g + RW/dev/BPF *


Another method that may fail is to copy the chmodbpf folder in the wireshark Installation File to/library/startupitems/. My machine always reports security settings, so it can only be manually modified at the moment; however, if you do not capture packets, you do not need to modify the BPF permission for decoding;


Wireshark startup troubleshooting:


Execute Wireshark under/application/Wireshark. APP/contents/MACOs to view the result and process it as prompted;



Related Article

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.