[Mac] The use of Wireshark in Mac OS x and the solution to the problem of network card not found

Source: Internet
Author: User
1, Wireshark relies on X11;
2, by default, Mac OS X is not installed X11;
So, to install Wireshark on your Mac, first find out the Mac OS installation DVD installation X11.
After installation, Echo $DISPLAY see if the following results appear
: 0.0
If not, execute the following command line:
display=:0.0; Export DISPLAY

In addition, because of Mac OS bug problem, every time after rebooting the system, the two commands to run are wireshark to find the network card:
sudo chgrp admin/dev/bpf*
sudo chmod g+rw/dev/bpf*

Another approach may be unsuccessful, which is to copy the CHMODBPF folder in the Wireshark installation file to/library/startupitems/; My machine keeps reporting security settings, so it can only be modified manually each time, but if you don't grab the package, Just to decode the words without modifying the BPF permission can also;

Wireshark Startup troubleshooting:
To/application/wireshark.app/contents/macos under the execution of WireShark, view the results, according to the prompt processing;

[Mac] The use of Wireshark in Mac OS x and the solution to the problem of network card not found

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.